This scenario describes how to successfully process remote FlashCopy® (formerly known
as inband FlashCopy) transactions.
These transactions can be processed by using the DS CLI remote FlashCopy commands. These
transactions cannot be managed through the GUI.
Before you begin
You must be logged in to the DS CLI in interactive command
mode.
About this task
Remote FlashCopy commands are issued to a
source volume of a remote mirror and copy volume pair on a local storage system. This process
enables a FlashCopy pair to be established at the remote
site and eliminates the need for a network connection to the remote site solely for the management
of FlashCopy. The following steps are based on an
example that uses the sites LSS 22 and LSS
2A.
Procedure
- You must determine which volumes are available for use
and then establish a remote mirror and copy path between LSS 22 and
LSS 2A.
- Enter the lsavailpprcport command
to obtain a report that lists which volumes are available for use.
dscli> lsavailpprcport -dev IBM.2107-1300861
-remotedev IBM.2107-1300871 -remotewwnn 5005076303FFC03D 22:2A
The following report is generated.
Local port |
Attached port |
Type |
I0030 |
I0031 |
FCP |
I0031 |
I0030 |
FCP |
I0100 |
I0101 |
FCP |
I0101 |
I0100 |
FCP |
- Enter the mkpprcpath command
to establish the remote mirror and copy path between LSS 22 and LSS
2A.
dscli> mkpprcpath -dev IBM.2107
-1300861 -remotedev IBM.2107-1300871
-remotewwnn 5005076303FFC03D -srclss 22 -tgtlss 2A I0030:I0031 I0100:I0101
The following confirmation is displayed if your command
input is correct.
CMUC00149I mkpprcpath: Remote Mirror and Copy path 22:2A successfully
established.
- Enter the mkpprc command to
establish a remote mirror and copy pair (2200 to 2A00).
dscli> mkpprc -dev IBM.
2107-1300861 -remotedev IBM.
2107-1300871 -type mmir 2200:2A00
The following
confirmation is displayed if your command input is correct.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship
2200:2A00 successfully created.
-
Enter the mkremoteflash command to use LSS 22 on the local site as a conduit
LSS for new remote FlashCopy relationships on the remote storage system. These new relationships use
volume 2A00 as their source. The target can be any other volume on the remote storage system (in
this scenario, 2A01).
dscli> mkremoteflash -dev IBM.2107-1300871
-conduit IBM.2107-1300861/22
-record 2A00:2A01
The following confirmation is displayed if your command input is correct.
CMUC00173I mkremoteflash: Remote FlashCopy volume pair 2A00:2A01 successfully
created. Use the lsremoteflash command to determine copy completion.
- Enter the resyncremoteflash command
because the remote FlashCopy relationship
(2A00:2A01) was created with the -record parameter.
dscli> resyncremoteflash -dev IBM.
2107-1300871 -conduit IBM.2107-1300861/22
-record 2A00:2A01
The following confirmation
is displayed if your command input is correct.
CMUC00175I resyncremoteflash: Remote FlashCopy volume pair 2A00:2A01
successfully resynched. Use the lsremoteflash command to determine copy
completion.
- Enter the lsremoteflash command
to verify that the transaction processed as you intended.
dscli> lsremoteflash -dev IBM.2107
-1300871 -conduit IBM.2107-1300861/22
2A00:2A01
The following
report is displayed if your command input is correct.
ID |
SrcLSS |
Sequence Num |
ActiveCopy |
Recording |
2A00:2A01 |
2A |
0 |
Disabled |
Enabled |
Persistent |
Revertible |
SourceWrite
Enabled
|
TargetWrite
Enabled
|
Background
Copy
|
Enabled |
Disabled |
Disabled |
Disabled |
Enabled |