Sample Configuration with HP Serviceguard Extension for RAG and Oracle Real Application Clusters 11g release 2 using Cluster File System
24
12. Configure Database Storage as needed.
13. Create Database.
Configure SG packages with SGeRAC
Starting and stopping OC in a SG package is recommended; doing so will help ensure that OC will
start after SGeRAC is started and stop before SGeRAC is halted. SG packages should also be used to
synchronize storage activation and deactivation with Oracle Cluster Software and RAC instances. In
addition, the SG package checks CSS in case CSS is halted outside the package—and if CSS is
halted outside the package, the package halts.
SGeRAC A.11.19 includes the SGeRAC Toolkit along with a README document describing the use
of SGeRAC Toolkit.
Prepare Oracle Clusterware software for SG packages
Log in as “root” user.
# export ORA_CRS_HOME=/u01/app/11.2.0/crs
# export ORACLE_HOME=/cfs/mnt1/oracle/product/11.2.0/db_1
# export PATH=$PATH:$ORA_CRS_HOME/bin:$ORACLE_HOME/bin
Stop OC on each node.
# crsctl stop crs
Wait until OC completely stops. Check CRS logs or check for Oracle processes—for example:
ps –ef | grep ocssd.bin
Change OC from starting at boot time on each node.
# crsctl disable crs
Disable autostart of Oracle RAC database by OC.
On one node of the cluster, disable the Oracle RAC database and instances so they will not be
started automatically by the Oracle Clusterware.
# srvctl modify database -d orcl -y MANUAL
Create SG packages
In this configuration, the cluster is configured with two SG multi-node packages. The first multi-mode
package will start, monitor, and stop the OC; the second will start, monitor, and stop the Oracle RAC
database. The following example illustrates the configuration of these two multi-node packages. For
more details on configuring these packages, see the SGeRAC README.
Create the SG package for OC.
1. Create package directory.
# mkdir /etc/cmcluster/crsp
# cd /etc/cmcluster/crsp
2.
Create package files.
# cmmakepkg -m sg/multi_node_all -m sgerac/erac_tk_oc
pkgConfigFile