beautypg.com

Recovering from disaster, Failover – HP 3PAR Operating System Software User Manual

Page 128

background image

Recovering from Disaster

Failover

1.

Reverse the role of all volume groups on the system that is still in normal operation (the failover
system). On the failover system (for example, System2), enter:

# setrcopygroup failover -t

- Name of the target system that failed (System1)

The setrcopygroup failover -t command:

Changes all secondary volume groups on the failover system (periodic_group_1.r96 on
System2) to primary volume groups, and therefore reverses the direction of data replication

Enables I/O to the reversed volume groups (periodic_group_1.r96)

NOTE:

If you do not want to perform disaster recovery operations on all volume groups on

a system, you can use all of the disaster recovery commands on one or more specified volume
groups. For more information, see the description of each command in

“About the Remote

Copy Commands” (page 222)

.

2.

Verify the reversal of volume group roles.
a.

Issue the showrcopy command on the failover system (System2).

b.

In the Group Information area, check that the Role column for the reversed volume group
displays Primary-Rev (primary as a result of reversal).

For example, the showrcopy output on System2 shows that the role of periodic_group_1.r96
is now Primary-Rev:

# showrcopy

Remote Copy System Information

Status: Started, Normal

Target Information

Name ID Type Status Options Policy

System1 7 IP failed mirror_config

Link Information

Target Node Address Status Options

System1 0 10.100.33.96 Down

System1 1 10.101.33.96 Down

receive 0 10.100.33.96 Down

receive 1 10.101.33.96 Down

Group Information

Name Target Status Role Mode Options

periodic_group_1.r96 System1 Stopped Primary-Rev Periodic over_per_alert

LocalVV ID RemoteVV ID SyncStatus LastSyncTime

remotevv.0 21 localvv.0 413 Stopped Thu Dec 14 18:23:52 PST 2006

remotevv.1 22 localvv.1 414 Stopped Thu Dec 14 18:23:52 PST 2006

3.

(Optional) To back up data in the reversed volume groups, export the reversed virtual volumes
(for example, remotevv.0 and remotevv.1) as read/write snapshots.

128

Disaster Recovery for 1-to-N Configurations

This manual is related to the following products: