HP StorageWorks XP10000 Disk Array User Manual

Page 104

Advertising
background image

Command Line Interface Commands 104


{BusinessCopy|ContinuousAccess|ContinuousAccessExtension|Snapshot}]

[fencelevel=fence-level] [copytracksize=copy-pace]

Command execution example 2: This example creates a copy group in the existing RAID Manager
configuration definition file and creates a copy pair for Business Copy XP. For the primary volume (P-VOL),
specify the logical device (LDEV 11, model number XP1024, and serial number 15001). The host that
recognizes the primary volume has ID 1, and the Continuous Access XP instance number is 11. For the
secondary volume (S-VOL), specify the logical device (LDEV 12, model number XP1024 and serial number
15001

). The ID of the host that recognizes the secondary volume is 1, (same as the primary volume), and the

Continuous Access XP instance number is 12.

hdvmcli AddReplication -o "D:\logs\XP1024 AddReplication.log" "pvolhostid=1"

"pvolinstancenum=11" "svolhostid=1" "svolinstancenum=12" pvolarraytype=HDS9980V"

"pvolserialnum=15001" "pvoldevnum=11" "svolarraytype=HDS9980V" "svolserialnum=15001"

"svoldevnum=12"

Command execution result 2: The following shows the execution result of the above command:

RESPONSE:

An instance of ReplicationGroup

objectID=REPGROUP.1

replicationGroupID=1

groupName=HCMD_CG0001

pvolHostID=1

pvolInstanceNumber=11

pvolPortNumber=50,001

svolHostID=1 svolInstanceNumber=12

svolPortNumber=50,002

replicationFunction=BusinessCopy

copyTrackSize=15

List of 1 ReplicationInfo elements:

An instance of ReplicationInfo

objectID=REPINFO.15001.11.15001.12

pairName=HCMD_CP0000

pvolSerialNumber=15001

pvolArrayType=HDS9980V

pvolDevNum=11

pvolObjectID=LU.HDS9980V.15001.11

pvolPoolID=-1

svolSerialNumber=15001

svolArrayType=HDS9980V

svolDevNum=12

svolObjectID=LU.HDS9980V.15001.12

svolPoolID=-1

replicationFunction=BusinessCopy

status=1

muNumber=2

copyTrackSize=15

splitTime=-1

The third method is to create a new RAID Manager configuration definition file, create a copy group, then add a
copy pair to the copy group, using the following command:

hdvmcli [URL] AddReplication [option] [groupname=group-name] pvolhostid=host-ID

[pvolinstancenum=instance-number] pvolportnum=port-number svolhostid=host-ID

[svolinstancenum=instance-number] svolportnum=port-number pvolarraytype=model

pvolserialnum=serial-number pvoldevnum=device-number [pvolportid=port-number]

svolarraytype=model svolserialnum=serial-number svoldevnum=device-number

[svolportid=port-number] [replicationfunction=

{BusinessCopy|ContinuousAccess|ContinuousAccessExtension|Snapshot}]

[fencelevel=fence-level] [copytracksize=copy-pace]

Command execution example 3: This example creates a RAID Manager configuration definition file and a copy
group and then creates a copy pair for Continuous Access XP in the copy group.

For the primary volume (P-VOL), specify LDEV 11, model number XP1024 and serial number 15001. The ID
of the host that recognizes the primary volume is 5, the Continuous Access XP instance number is 15, and the
port number is 50001. For the secondary volume (S-VOL), specify LDEV 128, model number XP1024, and

Advertising