Re: [Q] How can I add dbshut in shutdown process under AIX?
From: gram <gram_at_cnct.com>
Date: 1996/12/11
Message-ID: <58n40h$1of_at_news2.cnct.com>#1/1
: >I try to find out where can I add the script 'dbshut' to shutdown the
: >oracle databases automatically every time the system shutdown for our
: >server AIX 4.1.4. I'm newbie on AIX platform.
: >
: Would you believe......shutdown is a script in the /etc directory. Make a backup then : edit shutdown...
Date: 1996/12/11
Message-ID: <58n40h$1of_at_news2.cnct.com>#1/1
sdean_at_mhv.net wrote:
: In <32AB520C.72E_at_usa.net>, Huy Vu <huyv_at_usa.net> writes:
: >I try to find out where can I add the script 'dbshut' to shutdown the
: >oracle databases automatically every time the system shutdown for our
: >server AIX 4.1.4. I'm newbie on AIX platform.
: >
: Would you believe......shutdown is a script in the /etc directory. Make a backup then : edit shutdown...
So as not to have work destroyed if an update replaces /etc/shutdown, I recommend creating a separate /etc/shutdown.local script. /etc/shutdown makes a call to a file /etc/netware.clean, which does not exist by default. So I link (hard) /etc/shutdown.local to /etc/netware.clean. At least in AIX 4.1.4. AIX 4.2 does have a call to /etc/rc.shutdown, but my production platforms have not yet been (and will not soon be) upgraded.
Ward Griffiths Received on Wed Dec 11 1996 - 00:00:00 CET