Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

1. Initialize the disk that will be used for the CFS file system from the CVM master node at the
site.
# /etc/vx/bin/vxdisksetup -i c4t0d3
NOTE: This disk should be a non-replicated shared disk that is connected only to the nodes
in the Clusterware sub-cluster site.
2. From the site CVM master node, create the CRS disk group.
# vxdg s init sfo_crsdg c4t0d3
3. Create the Serviceguard Disk Group MNP packages for the disk group.
# cfsdgadm add sfo_crsdg sfo_crs_dg all=sw SFO_1 SFO_2
4. Activate the CVM DG in the site CFS sub-cluster.
# cfsdgadm activate sfo_crsdg
5. Create a volume for the CRS disk group.
# vxassist -g sfo_crsdg make crs_vol 500m
6. Create a file system using the created volume.
# newfs -F vxfs /dev/vx/rdsk/sfo_crsdg/crs_vol
7. Create Serviceguard Mount Point MNP packages for the clustered file system.
# cfsmntadm add sfo_crsdg crs_vol /cfs/sfo_crs sfo_crs_mp all=rw\
SFO_1 SFO_2
8. Mount the clustered file system on the site CFS sub-cluster.
# cfsmount /cfs/sfo_crs
9. Create the Clusterware OCR directory in the clustered file system.
# mkdir /cfs/sfo_crs/OCR
# chmod 755 /sfo_cfs/crs/OCR
10. Create the Clusterware VOTE directory in the clustered file system.
mkdir /cfs/sfo_crs/VOTE
# chmod 755 /cfs/sfo_crs/VOTE
11. Set oracle as the owner for the Clusterware directories.
# chown R oracle:oinstall /cfs/sfo_crs
After setting owners for the OCR and Voting directories, Oracle Clusterware can be installed.
Installing and configuring Oracle Clusterware
This section describes the procedure to install and configure Oracle Clusterware. Use the Oracle
Universal Installer to install Oracle Clusterware. For information on installing Oracle Clusterware
using the Oracle Universal Installer, see the Oracle Real Application Clusters Installation and
Configuration Guide available at the Oracle documentation site. When selecting the nodes for
the Clusterware sub-cluster on a site, select only the nodes configured in this site in the Serviceguard
cluster.
To install Oracle Clusterware with the Universal Installer in the sample environment:
1. Ensure that the appropriate host equivalence for the oracle user is configured.
When installing Oracle Clusterware, the host equivalence for oracle user must be configured
only among the nodes in the same site.
2. Log in with the Oracle credentials on a node in the site.
3. Copy the Oracle Clusterware installation software to this node.
4. Run the following command to start the Oracle Universal Installer:
# <Oracle Clusterware Installation bits directory>\
/clusterware/runInstaller
Configuring Oracle RAC database in a SADTA 83