Using Serviceguard Extension for RAC, 8th Edition, March 2009

$ ln -s ${ORACLE_HOME}/lib/libodmd9.so ${ORACLE_HOME}/lib/libodm9.so
5. Restart the database
Using Packages to Configure Startup and Shutdown of RAC Instances
To automate the startup and shutdown of RAC instances on the nodes of the cluster, you can
create packages which activate the appropriate volume groups and then run RAC. Refer to the
section “Creating Packages to Launch Oracle RAC Instances”
NOTE: The maximum number of RAC instances for Oracle 9i is 127 per cluster. For Oracle
10g/11gR1 refer to Oracle’s requirements.
Starting Oracle Instances
Once the Oracle installation is complete, ensure that all package control scripts are in place on
each node and that each /etc/rc.config.d/cmcluster script contains the entry
AUTOSTART_CMCLD=1. Then reboot each node. Within a couple of minutes following reboot,
the cluster will reform, and the package control scripts will bring up the database instances and
application programs.
When Oracle has been started, you can use the SAM process management area or the ps -ef
command on both nodes to verify that all RAC daemons and Oracle processes are running.
Starting Up and Shutting Down Manually
To start up and shut down RAC instances without using packages, you can perform the following
steps.
Starting up involves the following sequence:
1. Start up the cluster (cmrunnode or cmruncl)
2. Activate the database volume groups or disk groups in shared mode.
3. Bring up Oracle in shared mode.
4. Bring up the Oracle applications, if any.
Shutting down involves the following sequence:
1. Shut down the Oracle applications, if any.
2. Shut down Oracle.
3. Deactivate the database volume groups or disk groups.
4. Shut down the cluster (cmhaltnode or cmhaltcl).
If the shutdown sequence described above is not followed, cmhaltcl or cmhaltnode may fail
with a message that GMS clients (RAC 9i) are active or that shared volume groups are active.
Creating Packages to Launch Oracle RAC Instances
To coordinate the startup and shutdown of RAC instances with cluster node startup and
shutdown, you create a one-node package for each node that runs an RAC instance. In the package
configuration file, you should specify only the single node on which the instance will run and
specify the control script that is to be executed every time the instance node or the entire RAC
cluster starts up or shuts down.
NOTE: You must create the RAC instance package with a PACKAGE_TYPE of FAILOVER, but
the fact that you are entering only one node ensures that the instance will only run on that node.
To simplify the creation of RAC instance packages, you can use the Oracle template provided
with the separately purchasable ECM Toolkits product (T1909BA). Use the special toolkit scripts
that are provided, and follow the instructions that appear in the README file. Also refer to the
section “Customizing the Control Script for RAC Instances” below for more information.
Using Packages to Configure Startup and Shutdown of RAC Instances 107