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

Preparing the Cluster and the System Multi-node Package for use with CVM 4.x or later
1. Create the Cluster file:
# cd /etc/cmcluster
# cmquerycl -C clm.asc -n ever3a -n ever3b
Edit Cluster file
NOTE: To prepare the cluster for CVM configuration, you need to be sure
MAX_CONFIGURED_PACKAGES to minimum of 3 (the default value for
MAX_CONFIGURED_PACKAGES for Serviceguard A.11.19 is 300) cluster configuration file.
In the sample set the value to 10.
2. Create the Cluster
# cmapplyconf -C clm.asc
Start the Cluster
# cmruncl
# cmviewcl
The following output will be displayed:
CLUSTER STATUS
ever3_cluster up
NODE STATUS STATE
ever3a up running
ever3b up running
3. Configure the Cluster Volume Manager (CVM)
Configure the system multi-node package, SG-CFS-pkg, to configure and start the CVM
stack. Unlike VxVM-CVM-pkg, the SG-CFS-pkg does not restrict heartbeat subnets to a
single subnet and supports multiple subnets.
# cmapplyconf -P /etc/cmcluster/cfs/SG-CFS-pkg.conf
# cmrunpkg SG-CFS-pkg
When CVM starts up, it selects a master node, which is the node from which you must issue
the disk group configuration commands. To determine the master node, issue the following
command from each node in the cluster:
# vxdctl -c mode
The following output will be displayed:
mode: enabled: cluster active - SLAVEmaster: ever3b
Converting Disks from LVM to CVM
Use the vxvmconvert utility to convert LVM volume groups into CVM disk groups.
Before you can do this, the volume group must be deactivated, which means that any
package that uses the volume group must be halted. This procedure is described in the
Managing Serviceguard Sixteenth Edition users guide Appendix G.
Initializing Disks for CVM
You need to initialize the physical disks that will be employed in CVM disk groups. If
a physical disk has been previously used with LVM, you should use the pvremove
command to delete the LVM header data from all the disks in the volume group (this
is not necessary if you have not previously used the disk with LVM).
98 Serviceguard Configuration for Oracle 9i RAC