Re: AIX system shutdown procedure

From: Jay Epperson <jepperso_at_vdoe386.vak12ed.edu>
Date: Mon, 23 May 94 15:37:31 GMT
Message-ID: <1994May23.153731.20449_at_vdoe386.vak12ed.edu>


Dan Glasstetter (glasstetter_at_bmcwest.com ) writes:
>
> "There is no preferred method of automatically
> shutting down the ORACLE database during system shutdown. However, you should
> run the dbshut shell script as part of your normal shutdown procedure. We
> recommend that you do not attempt to modify the /etc/shutdown script.

There is also no _standard_ means of taking an action automatically at system shutdown, which I think is what you're after. SCO executes the scripts in /etc/rc0.d; hp-ux looks in /etc/shutdown.d. No idea whether AIX looks for anything or where.

My experience says that you should differentiate the routine things you want done _before_ a system shutdown is started from the things you want done automatically _by_ the shutdown. A good example is database shutdown: before a system is routinely shutdown, I want a "normal" shutdown of the database (or at least nothing more drastic than "immediate"). Once the shutdown has commenced, however, IMHO there's nothing you can safely do except a "shutdown abort". Otherwise, for instance, in a power failure you can have your system shutdown waiting patiently for termination of something that looks like a database connection or transaction, while the UPS batteries run down with the filesystems still mounted and .....

I figured this out using the classic rule set: a) good judgement is a result of experience; and b) experience is a result of bad judgement.

W.C. Epperson
Senior S.E.
Va. Dept. of Education

|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|	These are my opinions, not my employer's, but help yourself:         |
|				I got a plenty.                              |
|                                                                            |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Mon May 23 1994 - 17:37:31 CEST

Original text of this message