168 IBM System Storage DS6000 Series: Copy Services with IBM System z
14.5.3 Manage a Metro Mirror environment
This section describes the commands you can use to manage a Metro Mirror environment.
This includes the commands to manage Metro Mirror relationships and Consistency Groups,
as well as commands to display information about Metro Mirror relationships and paths.
freezepprc
The freezepprc command is used to remove Metro Mirror paths and suspend volume pairs
between a pair of LSSs, and is usually used to provide data consistency. If the Metro Mirror
paths were established with the -consistgrp parameter, then the volumes enter the extended
long busy state when this command is issued. Example 14-31 shows the command. Note that
the LSS pair is specified at the end of the command.
Example 14-31 freezepprc command
dscli> freezepprc -dev IBM.1750-1300247 -remotedev IBM.1750-1300819 06:01
Date/Time: 23 November 2005 23:47:08 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00161W freezepprc: Remote Mirror and Copy consistency group 06:01 successfully created.
dscli>
unfreezepprc
The unfreezepprc command is used to take an LSS out of the extended long busy condition
after a freezepprc command has been issued. Example 14-32 shows how it can be used.
Example 14-32 unfreezepprc command
dscli> unfreezepprc -dev IBM.1750-1300247 -remotedev IBM.1750-1300819 06:01
Date/Time: 23 November 2005 23:47:38 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 06:01 successfully thawed.
pausepprc
The pausepprc command is used to pause (or suspend) a Metro Mirror volume pair. Any
updates to the source volume are tracked so that the pair can be resumed at a later time, with
only modified tracks having to be sent across to the secondary volume. Example 14-33
shows the command.
Example 14-33 pausepprc command
dscli> pausepprc -dev IBM.1750-1300247 -remotedev IBM.1750-1300819 0601:0101
Date/Time: 23 November 2005 23:57:34 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00157I pausepprc: Remote Mirror and Copy volume pair 0601:0101 relationship
successfully paused.
dscli>
resumepprc
The resumepprc command is used to resume a paused (suspended) Metro Mirror volume
pair. Example 14-34 shows how it can be used. Note that we used the -wait parameter,
which indicates that we want to wait for the volume pair to reach duplex state before receiving
a confirmation message.
Example 14-34 resumepprc command
dscli>
resumepprc -dev IBM.1750-1300247 -remotedev IBM.1750-1300819 -type mmir -wait 0601:0101
Date/Time: 23 November 2005 23:59:50 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00158I resumepprc: Remote Mirror and Copy volume pair 0601:0101 relationship
successfully resumed. This message is being returned before the copy completes.