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

1. Halt the RAC MNP Stack on the replication source disk site node.
# cmhaltpkg sfo_hrdb sfo_hrdb_mp sfo_hrdb_dg sfo_flash_mp
sfo_flash_dg
2. Deport the disk groups at the replication source disk site nodes.
# vxdg deport hrdbdg
# vxdg deport flashdg
Creating identical RAC database at the remote site
In the earlier procedures, the RAC database was created at the site with the source disk of the
replication disk group. A RAC MNP stack was also created at the site. Now, an identical RAC
database using the target replicated disk must be configured with the RAC MNP stack at the remote
site.
Before creating an identical RAC database at the remote site, you must first prepare the replication
environment. The replication setup depends on the type of arrays that are configured in your
environment. Based on the arrays in your environment, see the respective chapters of this manual
to configure replication. After configuring replication in your environment, configure the replica
RAC database.
For Example, to prepare the replication environment:
1. Login to the target disk site's 3PAR storage system. Stop the Remote Copy volume group and
reverse the direction of replication.
cli% setrcopygroup reverse -stopgroups <rc_volume_group_name>
2. From the CVM master node at this site, import the disk groups used by RAC database.
# vxdg -stfC import hrdbdg
# vxdg -stfC import flashdg
3. Create the Serviceguard Disk Group MNP packages on this site.
# cfsdgadm add hrdbdg sjc_hrdb_dg all=sw SJC_1 SJC_2
# cfsdgadm add flashdg sjc_flash_dg all=sw SJC_1 SJC_2
4. Activate the RAC database disk groups in the CFS sub-cluster.
# cfsdgadm activate hrdbdg
# cfsdgadm activate flashdg
5. Create the mount point directories for the RAC database cluster file systems.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/rac
# mkdir /cfs/flash
6. Create the Mount Point MNP packages for the RAC database cluster file systems.
# cfsmntadm add hrdbdg rac_vol /cfs/rac sjc_hrdb_mp all=rw SJC_1
SJC_2
# cfsmntadm add flashdg flash_vol /cfs/flash sjc_flash_mp all=rw
SJC_1 SJC_2
7. Mount the cluster file systems in this CFS sub-cluster.
# cfsmount /cfs/rac
# cfsmount /cfs/flash
Configuring the replica RAC database
To configure the replica RAC database:
88 Configuring Oracle RAC in SADTA