Sample Configurations with SGeRAC and Oracle RAC 10gR2, March 2009

28
/etc/cmcluster/pkg/crs_eenie_pkg/cssd.sh start
test_return 51
}
function customer_defined_halt_cmds
{
# ADD customer defined halt commands.
/etc/cmcluster/pkg/crs_eenie_pkg/cssd.sh stop
test_return 52
}
Note:
The cssd.sh script is a sample script that is in the Appendix for starting,
monitoring, and stopping OC.
5. Add the package to the cluster.
# cmapplyconf P crs_eenie_pkg.conf
Modify the cluster configuration ([y]/n)? y
Completed the cluster creation
Creating Serviceguard package for node “meenie
Create the Serviceguard package for node “meenie”. The steps are the same as for node “eenie”.
Samples of the package configuration file and control scripts are in the Appendix.
Starting and stopping Serviceguard packages and Oracle RAC
Start the complete stack by running the Serviceguard Package.
# cmrunpkg n eenie crs_eenie_pkg
Running package crs_eenie_pkg on node eenie
Successfully started package crs_eenie_pkg on node eenie
# cmrunpkg n meenie crs_meenie_pkg
Successfully started package crs_meenie_pkg on node meenie
cmrunpkg: All specified packages are running
# cmviewcl
CLUSTER STATUS
cluster_eenie up
NODE STATUS STATE
eenie up running
PACKAGE STATUS STATE AUTO_RUN NODE
crs_eenie_pkg up running enabled eenie
NODE STATUS STATE
meenie up running
PACKAGE STATUS STATE AUTO_RUN NODE
crs_meenie_pkg up running enabled meenie