HP Serviceguard Metrocluster manual Verify data replication environment, Start rehearsal

Models: Serviceguard Metrocluster

1 151
Download 151 pages 11.74 Kb
Page 40
Image 40

6.Restore the replication environment for recovery.

7.Move the recovery group out of maintenance mode.

8.Clean up the mirror copy.

Verify data replication environment

You can use the cmdrprev command to preview the preparation of data replication environment for an actual recovery can be previewed. The command identifies errors in data replication environment which will potentially fail an actual recovery.

Run the following command on every node of the recovery cluster and verify that the command returns a value 0.

# cmdrprev -p <recovery_package>

nl

Move the recovery group into maintenance mode

Before starting the disaster recovery rehearsal operation, the recovery packages must be moved into maintenance mode. This prevents startup of the recovery packages even if disaster recovery is triggered during rehearsal operation.

# cmrecovercl -d -g <recovery_group_name>

Run the cmviewconclcommand to verify that the recovery group is in maintenance mode.

# cmviewconcl -v

nl

Prepare the replication environment for DR rehearsal

Manually suspend the replication and enable write access to secondary mirror copy configured for the package.

#pairsplit –g <device_group> -rw (in case of XP)

#symrdf -g <device_group> split (in case of EMC SRDF)

For every volume group that is configured for the package, delete the host id tag by running the following command from any of the recovery cluster nodes.

Split the BC pair at recovery cluster.

#export HORCC_MRCF=1

#pairsplit –g <device_group> (in case of XP)

#symrdf -g <device_group> split (in case of EMC SRDF)

#unset HORCC_MRCF

nl

Start rehearsal

To perfrom rehearsal operation on a recovery group, run the cmrecovercl command.

# cmrecovercl -r -g <recovery_group>

The cmrecovercl command runs the rehearsal package that is configured in the recovery group.

NOTE: Before starting the rehearsal, make any application configuration changes that might be required due to the change in the client access IP address, which is now the rehearsal package IP address. For example, in case of Oracle Single Instance application, reconfigure the listener to listen on the rehearsal package IP address. See “ Precautions to be taken while performing DR Rehearsal” (page 39) for the list of precautionary steps.

After the cmrecovercl command completes , run the cmviewcl command to verify that the rehearsal packages are up.

nl

40 Disaster recovery rehearsal in Continentalclusters

Page 40
Image 40
HP Serviceguard Metrocluster manual Verify data replication environment, Move the recovery group into maintenance mode