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

1. Initialize the source disks of the replication pair.
# /etc/vx/bin/vxdisksetup -i c4t0d1
# /etc/vx/bin/vxdisksetup -i c4t0d2
2. Create a disk group for the RAC database data files.
# vxdg s init hrdbdg c4t0d1 c4t0d2
3. Create Serviceguard Disk Group MNP packages for the disk groups.
# cfsdgadm add hrdbdg sfo_hrdb_dg all=sw SFO_1 SFO_2
4. Activate the CVM disk group in the local site CFS sub-cluster.
# cfsdgadm activate hrdbdg
5. Create a volume from the disk group.
# vxassist -g hrdbdg make rac_vol 4500m
6. Create a file system using the created volume.
# newfs -F vxfs /dev/vx/rdsk/hrdbdg/rac_vol
7. Create mount points for the RAC database data files and set appropriate permissions.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/rac
8. Create the Mount Point MNP packages.
# cfsmntadm add hrdbdg rac_vol /cfs/rac sfo_hrdb_mp all=rw SFO_1\
SFO_2
9. Mount the cluster file system on the CFS sub-cluster.
# cfsmount /cfs/rac
10. Create a directory structure for the RAC database data files in the cluster file system. Set proper
permission and owners for the directory.
# chmod 775 /cfs/rac
# mkdir /cfs/rac/oradata
# chmod 775 /cfs/rac/oradata
# chown oracle:oinstall /cfs/rac/oradata
Setting up CFS file systems for RAC database flash recovery
This section describes how to create CFS file systems for RAC database flash recovery.
If you have SLVM, CVM, or CFS configured in your environment, see the following documents
available at http://www.hp.com/go/hpux-serviceguard-docs->HP Serviceguard Extension for
RAC:
Architecture Considerations and Best Practices for Architecting an Oracle RAC Solution with
Serviceguard and SGeRAC
Using Serviceguard Extension for RAC
The following procedure explains the method to configure the CFS file systems for flash recovery
for the example hrdb database.
To set up the CFS file systems, do the following on the CFS cluster master node:
1. Initialize the source disks of the replication pair.
# /etc/vx/bin/vxdisksetup -i c4t0d4
# /etc/vx/bin/vxdisksetup -i c4t0d5
2. Create a disk group using the above initialized disks.
# vxdg s init flashdg c4t0d4 c4t0d5
86 Configuring Oracle RAC in SADTA