SUMMARY: Shutdown scripts...

From: Computer Services Directorate <techbma_at_batelco.com.bh>
Date: Mon, 16 Jul 2001 08:22:14 +0300

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)
Received on Mon Jul 16 2001 - 05:26:15 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT