232 IBM System Storage DS6000 Series: Copy Services with IBM System z
mkpprc
With the mkpprc command, you can create a Global Copy pair. To create a Global Copy pair,
specify parameter -type gcp, as shown in Example 20-18.
Example 20-18 mkpprc command
dscli> mkpprc -dev IBM.1750-13AAGXA -remotedev IBM.1750-13AAVCA -type gcp -mode full
1600:1600
Date/Time: June 14, 2005 11:25:49 AM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAGXA
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1600:1600 successfully
created.
freezepprc
With the freezepprc command you can stop the write activity on all Global Copy primary and
secondary volumes of a given source and target LSS pair; see Example 20-19.
The command creates a new Consistency Group. It places the source logical subsystem
(LSS) in the long busy state so that no I/Os can be directed to it. It sets the primary volumes
on the source LSS in suspended state. Secondary volumes are left in their current state.
The command also removes paths between the source LSS and target LSS, and sets the
extended long busy condition for the primary volume. This causes the host to queue writes to
the primary volume until the long busy condition is reset (with the unfreezepprc command).
During the long busy condition, the primary volume reports long busy status.
Example 20-19 freezepprc command
dscli> freezepprc -dev IBM.1750-13AAGXA -remotedev IBM.1750-13AAVCA 16:16
Date/Time: June 14, 2005 5:45:52 AM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAGXA
CMUC00161W freezepprc: Remote Mirror and Copy consistency group 16:16 successfully created.
pausepprc
The pausepprc command suspends a Global Copy pair; see Example 20-20.
Example 20-20 pausepprc command
dscli> pausepprc -dev IBM.1750-13AAGXA -remotedev IBM.1750-13AAVCA 1600:1600
Date/Time: June 14, 2005 12:36:16 PM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAGXA
CMUC00157I pausepprc: Remote Mirror and Copy volume pair 1600:1600 relationship
successfully paused.
resumepprc
With the resumepprc command, you can bring a pair from suspended to copy pending mode,
as shown in Example 20-21.
Example 20-21 resumepprc command
dscli> resumepprc -dev IBM.1750-13AAGXA -remotedev IBM.1750-13AAVCA -type gcp 1600:1600
Date/Time: June 14, 2005 12:41:25 PM CDT IBM DSCLI Version: 5.0.3.110 DS: IBM.1750-13AAGXA
CMUC00158I resumepprc: Remote Mirror and Copy volume pair 1600:1600 relationship
successfully resumed. This message is being returned before the copy completes.
rmpprc
The rmpprc command removes the relationship from a Global Copy pair and sets the volumes
in simplex status; see Example 20-22 on page 233.