HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

hostid
Execute the GetHost command with the host name indicated below specified for the hostname
parameter.
When managing copy pairs by using local management
Specify the host on which the raidcom command for RAID Manager (raidcom command) that
manages the P-VOL is installed.
The execution results of the GetHost command displays the hostID value under An in-
stance of Host. Use the hostID value to specify the hostid parameter.
When managing copy pairs by using central management
Specify the host that centrally manages copy pairs.
The execution results of the GetHost command displays the hostID value under An in-
stance of Host. Use the hostID value to specify the hostid parameter.
snapshotgroupid and snapshotgroupname
Obtain the parameter values from the execution results of the GetStorageArray (subtar-
get=SnapshotGroup) command. Execute this command with the model and serialnum
parameters specified and with SnapshotGroup specified for the subtarget parameter. You
can obtain information about the snapshot group from the specified storage system. The execution
results of the command display the groupID and groupName values under An instance of
SnapshotGroup. Use the groupID value to specify the snapshotgroupid parameter, and
use the groupName value to specify the snapshotgroupname parameter.
Command execution example 1
This example changes to the suspend status (split) the status of the copy pair for Business Copy
Software that is defined in the copy group with copy group number 12. The primary volume (P-VOL)
of the copy pair is the logical device with LDEV number 20 in the storage system with serial number
65010001. The secondary volume is the logical device with LDEV number 21 in the storage system
with serial number 65010001.
hdvmcli ModifyReplication -o "D:\logs\ModifyReplication.log"
"replicationgroupid=12" "operation=split" "pvolserialnum=65010001"
"pvoldevnum=20" "svolserialnum=65010001" "svoldevnum=21"
Command execution result 1
RESPONSE:
An instance of ReplicationGroup
objectID=*****
replicationGroupID=12
groupName=HCMD_CG000d
pvolHostID=1
pvolInstanceNumber=11
pvolPortNumber=50,000
pvolHORCMMONHostName=192.168.32.63
pvolHORCMMONHostName=192.168.32.63
svolHostID=3
svolInstanceNumber=12
svolPortNumber=50,001
svolHORCMMONHostName=192.168.32.64
CLI Reference Guide 367