IBM DS6000 Computer Drive User Manual


 
Chapter 14. Metro Mirror interfaces 167
-tgtlss the LSS number of the target
I0003:I0003 one of the source and target port ID pairs
mkpprc
The mkpprc command establishes a Metro mirror volume pair. Example 14-28 illustrates how
it is used.
Example 14-28 mkpprc command
dscli> mkpprc -remotedev IBM.1750-1300819 -type mmir -mode full 0600:0100 0601:0101
Date/Time: 23 November 2005 23:46:02 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 0600:0100 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 0601:0101 successfully created.
We have specified the -type mmir and -mode full parameters in this example to establish a
Metro Mirror pair, and to do a full copy of the volume. Note that the volume pair is specified at
the end of the command.
14.5.2 Remove a Metro Mirror environment
This section describes the commands you can use to remove a Metro Mirror environment.
rmpprc
The rmpprc command is used to delete a Metro Mirror volume pair. Example 14-29 shows an
example of its use. Note that we are required to confirm that we want to delete this volume
pair. We can use the -quiet parameter to suppress this confirmation request.
Example 14-29 rmpprc command
dscli> rmpprc -dev IBM.1750-1300247 -remotedev IBM.1750-1300819 0601:0101
Date/Time: 24 November 2005 0:01:05 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00160W rmpprc: Are you sure you want to delete the Remote Mirror and Copy volume pair
relationship 0601:0101:? [y/n]: y
CMUC00155I rmpprc: Remote Mirror and Copy volume pair 0601:0101 relationship successfully withdrawn.
dscli>
rmpprcpath
The rmpprcpath command is used to remove (delete) Metro Mirror paths. An example is
shown in Example 14-30.
Example 14-30 rmpprcpath command
dscli> rmpprcpath -dev IBM.1750-1300247 -remotedev IBM.1750-1300819 06:01
Date/Time: 24 November 2005 0:02:14 IBM DSCLI Version: 5.1.0.204 DS: IBM.1750-1300247
CMUC00152W rmpprcpath: Are you sure you want to remove the Remote Mirror and Copy path
06:01:? [y/n]:y
CMUC00150I rmpprcpath: Remote Mirror and Copy path 06:01 successfully removed.
dscli>
Important: the rmpprcpath command removes all Metro Mirror paths between the pair of
LSSs specified. It is not possible to delete a particular path from a group of paths with this
command. You should use the mkpprcpath to redefine the paths and omit the path you
want to remove.