beautypg.com

HP 3PAR Operating System Software User Manual

Page 239

background image

The setrcopygroup recover command:

Switches volume groups on the recovered system (SystemA) to secondary mode

Copies data from the reversed volume groups on the failover system (SystemC) to the
corresponding volume groups on the recovered system (SystemA)

The data used to synchronize the systems includes the snapshots taken when the recovered
system (SystemA) went down as well as recent I/O to the failover system (SystemC).

In this example, HP 3PAR Remote Copy copies data from the virtual volumes in volume
group multi.1.r96 on SystemC to multi.1 on SystemA.

Starts remote copy on the primary system (SystemA)

The following example shows the list of tasks launched by the setrcopygroup recover
command on SystemC:

# setrcopygroup recover -f -t SystemA

recover started with tasks: 6747

root@xnodeed08:~/bin# waittask -v 6747

Id Type Name Status Phase Step -------StartTime------- -FinishTime-

6747 remote_copy_recover multi.1.r96 active 2/4 0/1 2009-06-29 14:52:43 PDT -

Detailed status:

2009-06-29 14:52:43 PDT Created task.

2009-06-29 14:52:43 PDT Begin Recover operation on group multi.1.r96 started.

2009-06-29 14:52:44 PDT Switched Target SystemA of group multi.1.r96 was switched from primary

to

secondary.

2009-06-29 14:52:44 PDT Waiting Wait for target SystemA of group multi.1.r96 to complete

snapshot

promotions.

2009-06-29 14:54:05 PDT Starting Starting group multi.1.r96 to target SystemA.

2009-06-29 14:54:14 PDT Started Remote copy was started for group multi.1.r96 and target

SystemA.

2009-06-29 14:54:14 PDT Completed Group multi.1.r96 recover completed.

* Volumes on SystemA promoting:

root@xnodeed28:~/bin# showvv -rcopy

----Rsvd(MB)---- -(MB)-

Id Name Prov Type CopyOf BsId Rd -Detailed_State- Adm Snp Usr VSize RcopyStatus

RcopyGroup

0 admin full base --- 0 RW normal 0 0 10240 10240 none --

100 testvv.0 cpvv base --- 100 RW promoting 512 2048 1024 1024 secondary

multi.1

5906 rcpy.222.100.59 snp vcopy testvv.0 100 RO normal -- -- -- 1024 snap

multi.1

5912 rcpy.222.100.58 snp vcopy testvv.0 100 RO normal -- -- -- 1024 snap

multi.1

101 testvv.1 cpvv base --- 101 RW promoting 512 2048 1024 1024 secondary

multi.1

5907 rcpy.222.101.59 snp vcopy testvv.1 101 RO normal -- -- -- 1024 snap

multi.1

5913 rcpy.222.101.58 snp vcopy testvv.1 101 RO normal -- -- -- 1024 snap

multi.1

102 testvv.2 cpvv base --- 102 RW promoting 512 2048 1024 1024 secondary

multi.1

5908 rcpy.222.102.59 snp vcopy testvv.2 102 RO normal -- -- -- 1024 snap

multi.1

5914 rcpy.222.102.58 snp vcopy testvv.2 102 RO normal -- -- -- 1024 snap

multi.1

103 testvv.3 cpvv base --- 103 RW promoting 512 2048 1024 1024 secondary

multi.1

5909 rcpy.222.103.59.1 snp vcopy testvv.3 103 RO normal -- -- -- 1024 snap

Failing Over to the Asynchronous Periodic Backup System (No Data Transfer) 239