This scenario describes how to successfully process remote FlashCopy
(formerly known as inband FlashCopy) transactions. These transactions can
only be processed using the DS CLI remote FlashCopy commands. These transactions
cannot be managed through the GUI.
You must be logged into the DS CLI application in interactive command
mode.
Remote FlashCopy commands are issued to a source volume of a remote
mirror and copy volume pair on a local storage unit. This 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.
- You must determine which volumes are available for use and then
establish a remote mirror and copy path between LSS 22 and LSS 2A.
- Issue the lsavailpprcport command to obtain a report
that lists which volumes are available for use. Enter the lsavailpprcport command
at the dscli command prompt with the following parameters and variables:
dscli> lsavailpprcport -dev IBM.1750-1300861
-remotedev IBM.1750-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 |
- Issue the mkpprcpath command to establish the remote
mirror and copy path between LSS 22 and LSS 2A. Enter the mkpprcpath command
at the dscli command prompt with the following parameters and variables:
dscli>mkpprcpath -dev IBM.1750-1300861 -remotedev IBM.1750-1300871
-remotewwnn 5005076303FFC03D
-srclss 22 -tgtlss 2A I0030:I0031 I0100:I0101
The
following confirmation is displayed if your command input is correct.
Date/Time: February 7, 2005 4:25:04 PM IST IBM DSCLI Version: 0.0.0.0 DS:
IBM.1750-1300861
CMUC00149I mkpprcpath: Remote Mirror and Copy path 22:2A successfully
established.
- Issue the mkpprc command to establish a remote mirror and
copy pair (2200 to 2A00). Enter the mkpprc command at the dscli command
prompt with the following parameters and variables:
dscli>mkpprc -dev IBM.1750-1300861 -remotedev IBM.1750-1300871
-type mmir 2200:2A00
The following confirmation
is displayed if your command input is correct.
Date/Time: February 7, 2005 4:25:33 PM IST IBM DSCLI Version: 0.0.0.0 DS:
IBM.1750-1300861
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship
2200:2A00 successfully created.
- Issue the mkremoteflash command to use LSS 22 on the local
site as a conduit LSS for new remote Flash Copy relationships on the remote
storage unit. These new relationships use volume 2A00 as their source. The
target can be any other volume on the remote storage unit (in this scenario,
2A01). Enter the mkremoteflash command at the dscli command prompt
with the following parameters and variables:
dscli>mkremoteflash -dev IBM.1750-1300871 -conduit IBM.1750-1300861/22
-record 2A00:2A01
The following confirmation is
displayed if your command input is correct.
Date/Time: February 7, 2005 4:28:11 PM IST IBM DSCLI Version: 0.0.0.0
DS: IBM.1750-1300871
CMUC00173I mkremoteflash: Remote FlashCopy volume pair 2A00:2A01 successfully
created. Use the lsremoteflash command to determine copy completion.
- Issue the resyncremoteflash command because the remote
FlashCopy relationship (2A00:2A01) was created with the -record parameter.
Enter the resyncremoteflash command at the dscli command prompt with
the following parameters and variables:
dscli>resyncremoteflash -dev IBM.1750-1300871 -conduit IBM.1750-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.
- Issue the lsremoteflash command to verify that the transaction
has processed as you intended. Enter the lsremoteflash command at the
dscli command prompt with the following parameters and variables:
dscli>lsremoteflash -dev IBM.1750-1300871 -conduit IBM.1750-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 |