From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421868.tru64-unix-managers.marc@archive.invalid> From: Computer Services Directorate Date: Mon, 16 Jul 2001 05:22:14 +0000 To: tru64-unix-managers Subject: SUMMARY: Shutdown scripts... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421868 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------=_NextPart_000_0036_01C10DD0.6B091300" This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C10DD0.6B091300 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable Thanks to Dr. Thomas P. Blinn, Kathee Fitzgerald, Derk and all others = who responded. The resolution was to have the Oracle script in = /sbin/init.d and create a link to it in /sbin/rc2.d (ours is on = run-level 3). Further, we should use the "-s" parameter (e.g."shutdown = -hs now") to ensure that the K* scripts are executed. *************************************************************************= *************************************************************************= **** ORIGINAL MESSAGE On our 2-node DS20 Cluster running Tru64 Unix & Cluster v5.1, we have = created an auto-shutdown script for Oracle (Oracle Parallel Server = v8.1.7) that runs well independently. However, when we put it in = "/sbin/rc0.d", it does not execute even if we use the "-s" parameter for = shutdown (i.e. 'shutdown -h -s now"). The file "K02oracle" in = /sbin/rc0.d" has "-rwxr-x---" with root as owner and system as group. However, it does execute if we shutdown to a single-user mode and then = use "shutdown -h now". As this is an indirect way of shutting down, I = would request any feedback on your experience in this regard in a = TruCluster 5.1 environment. Thanks. *************************************************************************= *************************************************************************= **** Harihar K (Network Manager) ------=_NextPart_000_0036_01C10DD0.6B091300 Content-Type: text/html; charset="windows-1256" Content-Transfer-Encoding: quoted-printable
Thanks to Dr. Thomas P. Blinn, Kathee = Fitzgerald,=20 Derk and all others who responded. The resolution was to have the Oracle = script=20 in /sbin/init.d and create a link to it in /sbin/rc2.d (ours is on = run-level 3).=20 Further, we should use the "-s" parameter (e.g."shutdown -hs now") to = ensure=20 that the K* scripts are executed.
 
******************************************************************************************************************************************************
ORIGINAL MESSAGE
 
On our 2-node DS20 Cluster running = Tru64 Unix &=20 Cluster v5.1, we have created an auto-shutdown script for Oracle (Oracle = Parallel Server v8.1.7) that runs well independently. However, when we = put it in=20 "/sbin/rc0.d", it does not execute even if we use the "-s" parameter for = shutdown (i.e. 'shutdown -h -s now"). The file "K02oracle" in = /sbin/rc0.d" has=20 "-rwxr-x---" with root as owner and system as group.
 
However, it does execute if we = shutdown to a=20 single-user mode and then use "shutdown -h now". As this is an indirect = way of=20 shutting down, I would request any feedback on your experience in this = regard in=20 a TruCluster 5.1 environment. Thanks.
******************************************************************************************************************************************************
 
Harihar K
(Network Manager)
 
------=_NextPart_000_0036_01C10DD0.6B091300--