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

26
6. Add the package to the cluster. Distribute Oracle Clusterware multi-node package (MNP)
directory to all nodes.
# cd /etc/cmcluster
# rcp r crsp-slvm root@meenie:/etc/cmcluster
Add package to cluster.
# cd /etc/cmcluster/crsp-slvm
# cmapplyconf P crsp-slvm.conf
Modify the cluster configuration ([y]/n)? y
Completed the cluster creation
Starting and stopping Serviceguard packages and Oracle RAC
On each node, halt Oracle Clusterware if running.
# $ORA_CRS_HOME/bin/crsctl stop crs
Start the complete stack by running the Serviceguard Package.
# cmrunpkg crsp-slvm
Running package crsp-slvm on node eenie
Successfully started package crsp-slvm on node eenie
Running package crsp-slvm on node meenie
Successfully started package crsp-slvm on node meenie
cmrunpkg: All specified packages are running
# cmviewcl
CLUSTER STATUS
cluster_eenie up
NODE STATUS STATE
eenie up running
meenie up running
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
crsp-slvm up running enabled no
Configuring Serviceguard packages without Serviceguard Extension for RAC
It is recommended to start and stop Oracle Cluster Software in a Serviceguard package, as that will
ensure that Oracle Cluster Software will start after SGeRAC is started and will stop before SGeRAC is
halted. Serviceguard packages should also be used to synchronize storage activation and
deactivation with Oracle Cluster Software and RAC instances. Additionally, the Serviceguard
package also checks CSS in case CSS is halted outside the package. If CSS is halted outside the
package, the package halts.
It is recommended to use SGeRAC Toolkit. This section is a sample if the SGeRAC Toolkit is not used.
Prepare Oracle Cluster Software for Serviceguard packages
Login as “root” user.
# export ORA_CRS_HOME=/mnt/app/crs/oracle/product/10.2.0/crs
# export PATH=$PATH:$ORA_CRS_HOME/bin