108 IBM TotalStorage Productivity Center for Replication on Windows 2003
Name Status State Copy type Recoverable Copying Copy sets Error
=================================================================================================
ESS_POK Inactive Defined Flash Copy No No 0 No
itsosvc_fccli Inactive Defined Flash Copy No No 0 No
itsosvc_mmcli Inactive Defined Metro Mirror Single Direction No No 5 No
itsosvc_fc Inactive Defined Flash Copy No No 1 No
itsosvc_mm Inactive Defined Flash Copy No No 0 No
itsosvc_mm_sd1 Inactive Defined Metro Mirror Single Direction No No 0 No
Name ID Dev Dev Type Vol format LSS/IO Group Vol Type Size Size Unit
=================================================================================================================
Vdisk2009 SVC:VOL:9.43.86.40:0:9 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2008 SVC:VOL:9.43.86.40:0:8 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2007 SVC:VOL:9.43.86.40:0:7 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2006 SVC:VOL:9.43.86.40:0:6 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2005 SVC:VOL:9.43.86.40:0:5 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2001 SVC:VOL:9.43.86.40:0:4 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2002 SVC:VOL:9.43.86.40:0:3 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2003 SVC:VOL:9.43.86.40:0:2 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
new1 SVC:VOL:9.43.86.40:0:14 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
new2 SVC:VOL:9.43.86.40:0:13 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
new3 SVC:VOL:9.43.86.40:0:12 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
new4 SVC:VOL:9.43.86.40:0:11 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
new5 SVC:VOL:9.43.86.40:0:10 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk2004 SVC:VOL:9.43.86.40:0:1 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk20010 SVC:VOL:9.43.86.40:0:0 2145-9.43.86.40-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk1001 SVC:VOL:9.43.86.29:0:9 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 5.000 GB
Vdisk_1005 SVC:VOL:9.43.86.29:0:8 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1009 SVC:VOL:9.43.86.29:0:7 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1008 SVC:VOL:9.43.86.29:0:6 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1007 SVC:VOL:9.43.86.29:0:5 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1006 SVC:VOL:9.43.86.29:0:4 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1004 SVC:VOL:9.43.86.29:0:3 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1003 SVC:VOL:9.43.86.29:0:2 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk1002 SVC:VOL:9.43.86.29:0:10 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 5.000 GB
Vdisk_1002 SVC:VOL:9.43.86.29:0:1 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
Vdisk_1001 SVC:VOL:9.43.86.29:0:0 2145-9.43.86.29-IBM SVC FIXEDBLK 0 FB 10.000 GB
IWNR2001I [Jun 13, 2006 5:21:10 PM] The pair was successfully created in session
itsosvc_fccli for copy set SVC:VOL:9.43.86.29:0:3 with source SVC:VOL:9.43.86.2
9:0:3(Vdisk_1004) and target SVC:VOL:9.43.86.29:0:2(Vdisk_1003).
IWNR2001I [Jun 13, 2006 5:21:11 PM] The pair was successfully created in session
itsosvc_fccli for copy set SVC:VOL:9.43.86.29:0:0 with source SVC:VOL:9.43.86.2
9:0:0(Vdisk_1001) and target SVC:VOL:9.43.86.29:0:1(Vdisk_1002).
H1 Volume Session Volumes
============================================
SVC:VOL:9.43.86.29:0:0 itsosvc_fccli 2
SVC:VOL:9.43.86.29:0:3 itsosvc_fccli 2
C:\CSM-CLI>
5.2.5 Metro Mirror setup
In this scenario we will set up an SVC based Metro Mirror Failover/Failback session with a
single volume pair as can be seen in Figure 5-41 on page 109.
As a review, Metro Mirror (MM) is a synchronous data replication mechanism and was
previously called Peer-to-Peer Remote copy or PPRC. I/O completion is signaled when the
data is secured on both the local storage server and the remote storage server. Metro Mirror
is popular for two site disaster recovery solutions. Metro mirror is available in any combination
between DS6000, DS8000 and ESS800. Synchronous data replication is also available on
the DS4000™ family and with the SVC, but again not directly compatible with Metro Mirror on
the DS6000, DS8000 and ESS 800.
Chapter 5. Using TotalStorage Productivity Center for Replication on Windows 2003 109
Figure 5-41 SVC based Metro Mirror setup
Use CSMCLI to manage Metro Mirror session
In this instance we will create a session, add the copy sets and list the session attributes as
part of a single script.
As we can see in Figure 5-42, the script file contains multiple commands to setup the session
and the volume pairs as part of the copy set. In this case we have pre-determined the volume
pairs and captured these as part of the mkcpset command. We have also specified that the
Metro Mirror session type is mmsd or Metro Mirror Single Direction.
Figure 5-42 SVC Metro Mirror Setup
Invocation of this script results in the output as shown in Example 5-2.
Example 5-2 SVC_metro script result
C:\CSM-CLI>csmcli -script c:\csm-cli\svc_metro.txt
IWNR1021I [Jun 13, 2006 5:13:26 PM] Session itsosvc_mmcli was successfully creat
ed.
Name Status State Copy type Recoverable Copying Copy sets Error
#
# This is a script file
# Using commands to interrogate TPC 4 Rep
#
setoutput -v on
mksess -cptype mmsd -desc itsosvc_mmcli itsosvc_mmcli
lssess -l
lsvol -l -devtype svc
mkcpset -h1 svc:vol:9.43.86.29:0:8 -h2 svc:vol:9.43.86.40:0:5 itsosvc_mmcli
mkcpset -h1 svc:vol:9.43.86.29:0:4 -h2 svc:vol:9.43.86.40:0:6 itsosvc_mmcli
mkcpset -h1 svc:vol:9.43.86.29:0:5 -h2 svc:vol:9.43.86.40:0:7 itsosvc_mmcli
mkcpset -h1 svc:vol:9.43.86.29:0:6 -h2 svc:vol:9.43.86.40:0:8 itsosvc_mmcli
mkcpset -h1 svc:vol:9.43.86.29:0:7 -h2 svc:vol:9.43.86.40:0:9 itsosvc_mmcli
lscpset -l itsosvc_mmcli
Vdisk
Vdisk
Colorado
Gallium
ITSOSVC02
ITSOSVC01

Get IBM TotalStorage Productivity Center for Replication on Windows 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.