Using Serviceguard Extension for RAC, 6th Edition, April 2008

For an ORACLE RAC Instance for a two-node cluster, each node would have an
SID_NAME.
2. Gather the RAC Instance package name for each node, which should be the same
as the SID_NAME for each node
Example: ORACLE_TEST0
3. Gather the shared volume group name for the RAC database. In Serviceguard
Manager, see cluster Properties.
Example: /dev/vgora92db
4. Create the Oracle RAC Instance Package
directory[LINEBREAK][LINEBREAK]/etc/cmcluster/pkg/${SID_NAME}
Example:/etc/cmcluster/pkg/ORACLE_TEST0
5. Copy the Oracle shell script templates from the ECMT default source directory to
the package directory.[LINEBREAK][LINEBREAK]# cd
/etc/cmcluster/pkg/${SID_NAME}[LINEBREAK]# cp -p
/opt/cmcluster/toolkit/oracle/*
Example: [LINEBREAK][LINEBREAK]# cd
/etc/cmcluster/pkg/ORACLE_TEST0[LINEBREAK]# cp -p
/opt/cmcluster/toolkit/oracle/*
Edit haoracle.conf as per README
6. Gather the package service name for monitoring Oracle instance processes. In
Serviceguard Manager, this information can be found under the “Services” tab.
[LINEBREAK][LINEBREAK]SERVICE_NAME[0]=${SID_NAME}
SERVICE_CMD[0]=etc/cmcluster/pkg/${SID_NAME}/toolkit.sh
[LINEBREAK]SERVICE_RESTART[0]=-r 2
Example: [LINEBREAK][LINEBREAK]SERVICE_NAME[0]=ORACLE_TEST0
SERVICE_CMD[0]=/etc/cmcluster/pkg/ORACLE_TEST0/toolkit.sh
[LINEBREAK]SERVICE_RESTART[0]=-r 2
7. Gather how to start the database using an ECMT script. In Serviceguard Manager,
enter this filename for the control script start command. [LINEBREAK]
[LINEBREAK]/etc/cmcluster/pkg/${SID_NAME}/toolkit.sh start
Example:/etc/cmcluster/pkg/ORACLE_TEST0/toolkit.sh start
8. Gather how to stop the database using an ECMT script. In Serviceguard Manager,
enter this filename for the control script stop command. [LINEBREAK]
[LINEBREAK]/etc/cmcluster/pkg/${SID_NAME}/toolkit.sh stop
Example: /etc/cmcluster/pkg/ORACLE_TEST0/toolkit.sh stop
136 Serviceguard Configuration for Oracle 9i RAC