beautypg.com

2 manage global copy pairs, Example 20-14 on – IBM DS6000 User Manual

Page 255

background image

Chapter 20. Global Copy interfaces

231

Example 20-14 rmpprcpath command

dscli> rmpprcpath -dev IBM.1750-13AAGXA -remotedev IBM.1750-13AAVCA 16:16
Date/Time: June 12, 2005 5:58:25 AM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAGXA
CMUC00152W rmpprcpath: Are you sure you want to remove the Remote Mirror and Copy path
16:16:? [y/n]:y
CMUC00150I rmpprcpath: Remote Mirror and Copy path 16:16 successfully removed.

You can suppress the

CMUC00152W

confirmation message by adding the

-quiet

parameter to

the command.

20.4.2 Manage Global Copy pairs

You can use the following commands to establish and manage Global Copy pairs.

failbackpprc

You can use the

failbackpprc

command against any Global Copy source volume that is in a

suspended state. The command copies the required data from the source volume to the
target volume in order to resume mirroring, as shown in Example 20-15. The command is
usually used after a

failoverpprc

command has been given to restart mirroring either in the

reverse direction (recovery site-to-production site) or original direction (production
site-to-recovery site).

Example 20-15 failbackpprc command

dscli>failbackpprc -dev IBM.1750-13AAVCA -remotedev IBM.1750-13AAGXA 1600:1600
Date/Time: June 14, 2005 1:40:22 PM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAVCA
CMUC00197I failoverpprc: Remote Mirror and Copy pair 1610:1610 successfully failed back.

failoverpprc

You can use the

failoverpprc

command to change a target device into a (source) suspended

device while leaving the original source device in its current state; see Example 20-16.

Example 20-16 failoverpprc command

dscli> failoverpprc -dev IBM.1750-13AAVCA -type mmir -remotedev IBM.1750-13AAGXA 1610:1610
Date/Time: June 14, 2005 1:40:22 PM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAVCA
CMUC00196I failoverpprc: Remote Mirror and Copy pair 1610:1610 successfully reversed.

lspprc

The

lspprc

command shows you which volumes are in a Global Copy relationship; see

Example 20-17.

Example 20-17 lspprc command

dscli> lspprc -dev IBM.1750-13AAGXA -remotedev IBM.1750-13AAVCA -l 1600
Date/Time: June 14, 2005 11:28:35 AM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAGXA
ID State Reason Type Out Of Sync Tracks Tgt Read Src Cascade Tgt
Cascade Date Suspended SourceLSS Timeout (secs) Critical Mode First Pass
Status
===========================================================================================
1600:1600 Copy Pending - Global Copy 0 Disabled Disabled Disabled
Wed Dec 31 17:59:59 CST 1969 16 300 Disabled True