HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
Obtain these values from the execution result of the GetHost command without specifying any
parameters. Specify the value of objectID that is displayed as An instance of Host in
the objectid parameter, the value of name that is displayed as An instance of Host in
the hostname parameter, the value of objectID that is displayed as An instance of
ConfigFile in the configfileid parameter, and the value of replicationGroupID that
is displayed as An instance of ReplicationGroup in the replicationgroupid
parameter.
serialnum and model
Obtain these values from the execution result of the GetStorageArray command. In the execution
result, use the arrayType value or the displayArrayType value to specify the model para-
meter, and use the serialNumber value to specify the serialnum parameter.
snapshotgroupid and snapshotgroupname
Obtain these values from the execution results of the GetStorageArray (subtarget=Snap-
shotGroup) command. When you execute this command, only specify the model parameter
and the serialnum parameter, and then specify SnapshotGroup for the subtarget para-
meter. You can obtain snapshot group information from the specified storage system. In the exe-
cution results, the groupID and groupName values appear under An instance of Snap-
shotGroup. Specify groupID as the value of the snapshotgroupid parameter. Similarly,
specify groupName as the value of the snapshotgroupname parameter.
Command execution example 1
This example obtains the pair information defined in the RAID Manager configuration definition file
whose configFileID is CONFIGFILE.1.11 in the host whose objectID is HOST.1.
hdvmcli GetHost -o "D:\logs\GetHost.log" "objectid=*****"
configFileID=CONFIGFILE.1.11
*****: The value is encoded by the CLI.
Command execution result 1
RESPONSE:
An instance of Host
objectID=*****
name=toro2
hostID=1
ipAddress=192.168.32.63
capacityInKB=0
hostType=-1
managedBy=2
osType=Others
statusOfDBUpdating=0
List of 2 WWN elements:
An instance of WWN
WWN=00.99.66.33.88.55.22.77
nickname=Jane
An instance of WWN
WWN=11.44.77.22.55.88.33.66
nickname=Jone
List of 1 ConfigFile elements:
An instance of ConfigFile
CLI Reference Guide 345