IBM DS6000 Computer Drive User Manual


 
242 IBM System Storage DS6000 Series: Copy Services with IBM System z
Example 21-10 Check ports
C:\IBM\DSCLI>dscli -cfg ess-22399.prf lsavailpprcport -dev ibm.2105-22399 -remotedev
ibm.1750-1300247 -remotewwnn 500507630efffe16 05:02
Date/Time: November 22, 2005 4:08:10 PM EET IBM DSCLI Version: 5.1.0.204 DS: IBM.2105-22399
Local Port Attached Port Type
=============================
I000C I0103 FCP
I00AC I0003 FCP
3. We established paths from source LSS 05 to target LSS 02. The CLI script file to do this is
shown in Example 21-11.
Example 21-11 Script estpath.cli
# Script to establish paths
mkpprcpath -dev ibm.2105-22399 -remotedev ibm.1750-1300247 -remotewwnn 500507630efffe16
-srclss 05 -tgtlss 02 i000c:i0103 i00ac:i0003
We executed the estpath.cli script file using CLI script mode and check path status
using CLI one-shot mode; see Example 21-12.
Example 21-12 Establish paths
C:\IBM\DSCLI>dscli -cfg ess-22399.prf -script estpath.cli
Date/Time: November 22, 2005 4:14:05 PM EET IBM DSCLI Version: 5.1.0.204 DS: IBM.2105-22399
CMUC00149I mkpprcpath: Remote Mirror and Copy path 05:02 successfully established.
C:\IBM\DSCLI>dscli -cfg ess-22399.prf lspprcpath -dev ibm.2105-22399 05
Date/Time: November 22, 2005 4:15:24 PM EET IBM DSCLI Version: 5.1.0.204 DS: IBM.2105-22399
Src Tgt State SS Port Attached Port Tgt WWNN
=========================================================
05 08 Success 8000 I0088 I0002 5005076303FFC08F
05 06 Success 6000 I000C I0103 500507630EFFFE16
05 02 Success E200 I00AC I0003 500507630EFFFE16
05 02 Success E200 I000C I0103 500507630EFFFE16
Note that the lspprcpath command output also shows other paths in addition to the paths
that we used.
4. To establish the Global Copy pairs, we first created the CLI script file; see Example 21-13.
Example 21-13 Script estpair.cli
# Script to establish Global Copy pairs
mkpprc -dev ibm.2105-22399 -remotedev ibm.1750-1300247 -type gcp -mode full 050a:023a
mkpprc -dev ibm.2105-22399 -remotedev ibm.1750-1300247 -type gcp -mode full 050b:023b
We executed the estpair.cli script and then checked the pair status; see
Example 21-14.
Example 21-14 Establish pairs
C:\IBM\DSCLI>dscli -cfg ess-22399.prf -script estpair.cli
Date/Time: November 22, 2005 4:21:54 PM EET IBM DSCLI Version: 5.1.0.204 DS: IBM.2105-22399
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 050A:023A successfully created.
Date/Time: November 22, 2005 4:22:08 PM EET IBM DSCLI Version: 5.1.0.204 DS: IBM.2105-22399
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 050B:023B successfully created.
C:\IBM\DSCLI>dscli -cfg ess-22399.prf lspprc -dev ibm.2105-22399 -l 050a-050b
Date/Time: November 22, 2005 4:22:57 PM EET IBM DSCLI Version: 5.1.0.204 DS: IBM.2105-22399
ID State Reason Type Out Of Sync Tracks Tgt Read Src Cascade Tgt Casca