Sample Configurations with SGeRAC and Oracle RAC 10gR2, March 2009
39
# ADD customer defined run commands.
/etc/cmcluster/crsp/toolkit_oc.sh start
test_return 51
}
function customer_defined_halt_cmds
{
# ADD customer defined halt commands.
/etc/cmcluster/crsp/toolkit_oc.sh stop
test_return 52
}
5. Edit the toolkit configuration file oc.conf.
ORA_CRS_HOME=/mnt/app/crs/oracle/product/10.2.0/crs
6. Add the package to the cluster. Distribute Oracle Clusterware multi-node package (MNP)
directory to all nodes.
# cd /etc/cmcluster
# rcp –r crsp root@minie:/etc/cmcluster
Add package to cluster.
# cmapplyconf –P crsp.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
# cmviewcl
CLUSTER STATUS
cluster_mo up
NODE STATUS STATE
minie up running
mo up running
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
SG-CFS-pkg up running enabled yes
SG-CFS-DG-1 up running enabled no
SG-CFS-DG-2 up running enabled no
SG-CFS-DG-3 up running enabled no
SG-CFS-DG-4 up running enabled no
SG-CFS-MP-1 up running enabled no
SG-CFS-MP-2 up running enabled no
SG-CFS-MP-3 up running enabled no
crsp up running enabled no