Operating System Software Owner manual

Failover
1. Reverse the role of all volume groups on the synchronous backup system (the failover system).
On the failover system (for example, SystemB), enter:
# setrcopygroup failover -f -t <target_name>
<target_name> - Name of the target system that failed (for example, SystemA)
The setrcopygroup failover -f -t command:
Changes all secondary volume groups on the failover system (multi.1.r96 on SystemB)
to primary volume groups, and therefore reverses the direction of data replication
Enables I/O to the reversed volume groups (multi.1.r96 on SystemB)
Starts all volume groups on the asynchronous periodic backup system (SystemC)
Makes the synchronous backup system (SystemB) the temporary primary storage system
Sends any newer data—in other words, data that was sent to the synchronous backup
system (SystemB) since the last synchronization between the primary and synchronous
backup system, and before the primary system failed—to the asynchronous periodic
backup system (SystemC)
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 that failover tasks complete successfully (failover of individual groups can still fail).
For example, failing over to the synchronous backup system (SystemB) results in a task list that
looks like:
# setrcopygroup failover -f -t SystemA
failover started with tasks: 5745
root@xnodee594:~/bin# waittask -v 5745
Id Type Name Status Phase Step -------StartTime-------
------FinishTime-------
5745 remote_copy_failover multi.1.r96 done --- --- 2009-06-29 12:16:31 PDT 2009-06-29
12:16:39 PDT
Detailed status:
2009-06-29 12:16:31 PDT Created task.
2009-06-29 12:16:31 PDT Begin Failover operation on group multi.1.r96 started.
2009-06-29 12:16:32 PDT Switched Group multi.1.r96 was switched from secondary to primary.
2009-06-29 12:16:34 PDT Starting Starting group multi.1.r96 to target SystemC.
2009-06-29 12:16:39 PDT Started Remote copy was started for group multi.1.r96 and target
SystemC.
2009-06-29 12:16:39 PDT Completed Group multi.1.r96 failover completed.
Failing Over to the Synchronous Backup System 141