HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

How to obtainParameter nameNo.
For the GetHost command, specify LogicalUnit for the subtarget
parameter, LDEV for the lusubinfo parameter, and VLDEV for the
ldevsubinfo parameter. Specify the name of the host that recognizes the
P-VOL or S-VOL for the hostname parameter, and then execute the
command.
The execution result of the GetHost command displays the vSerialNumber
and vDevNum values appear below An instance of VLDEV.
When the host that recognizes the P-VOL is specified, the P-VOL values are
as follows: the vSerialNumber value of An instance of VLDEV
corresponds to the confpvolserialnum parameter, and the vDevNum
value corresponds to the confpvoldevnum parameter.
When the host that recognizes the S-VOL is specified, the S-VOL values are
as follows: the vSerialNumber value of An instance of VLDEV
corresponds to the confsvolserialnum parameter, and the vDevNum
value corresponds to the confsvoldevnum parameter.
confpvolserialnum
confpvoldevnum
confsvolserialnum
confsvoldevnum
8
Command execution example 1
This example adds pairs to the existing group in the configuration files:
hdvmcli AddConfigFileForReplication
-o "D:\logs\AddConfigFileForReplication.log"
"groupname=group1" "pvolhostid=1" "pvolinstancenum=11" "svolhostid=1"
"svolinstancenum=12" "pvolarraytype=XP12000" "pvolserialnum=65010001"
"pvoldevnum=5" "svolarraytype=XP12000" "svolserialnum=65010012"
"svoldevnum=10" "replicationfunction=ContinuousAccessSync"
Command execution result 1
RESPONSE
(Command completed; empty list returned)
Command execution example 2
This example creates a group in the configuration files, and then adds pairs to the group:
hdvmcli AddConfigFileForReplication
-o "D:\logs\AddConfigFileForReplication.log"
"pvolhostid=1" "pvolinstancenum=11" "svolhostid=1" "svolinstancenum=12"
"pvolarraytype=XP1024" "pvolserialnum=15001" "pvoldevnum=11"
"svolarraytype=XP1024" "svolserialnum=15001" "svoldevnum=12"
CLI Reference Guide 391