beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 218

background image




Command line interface commands



218

Command execution result 1:

RESPONSE:

An instance of ReplicationGroup

objectID=*****

replicationGroupID=0

groupName=HCMD_CG0003

pvolHostID=1

pvolInstanceNumber=11

pvolPortNumber=50,001

pvolHORCMMONHostName=192.168.32.63

pvolHORCMINSTHostName=192.168.32.63

svolHostID=1

svolInstanceNumber=12

svolPortNumber=50,002

svolHORCMMONHostName=192.168.32.64

svolHORCMMONHostName=192.168.32.64

replicationFunction=ContinuousAccessSync

fenceLevel=Data

copyTrackSize=15

List of 1 ReplicationInfo elements:

An instance of ReplicationInfo

objectID=*****

pairName=HCMD_CP0004

pvolSerialNumber=6501001

pvolArrayType=XP1024

pvolDevNum=5

pvolObjectID=*****

pvolPoolID=-1

svolSerialNumber=65010012

svolArrayType=XP1024

svolDevNum=10

svolObjectID=*****

svolPoolID=-1

fenceLevel=Data

replicationFunction=ContinuousAccessSync

status=1

muNumber=-1

copyTrackSize=15

splitTime=-1

*****

: The values are encoded by the CLI.

Method 2: The second method creates a copy group in the RAID Manager configuration definition
file, and adds 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

|pvolportname=port-name] pvolpoolid=pool-ID svolarraytype=model

svolserialnum=serial-number svoldevnum=device-number [svolportid=port-
number

|svolportname=port-name] svolpoolid=pool-ID [replicationfunction=

{BusinessCopy|ContinuousAccessSync|ContinuousAccessAsync|Snapshot|ContinuousAccessJ
ournal

}] [munum=Mu-number] [fencelevel=fence-level] [copytracksize=copy-

pace]

[pairoption=suspend]

Command execution example 2: This example creates a copy group in the existing RAID
Manager configuration definition file and creates a copy pair for XP Business Copy Software. For