7-7 gethostinfo, Table 4-86 gethostinfo command parameters – HP XP Command View Advanced Edition Software User Manual
Page 197
![background image](/manuals/397820/197/background.png)
Command line interface commands
197
Command execution result 2:
RESPONSE:
An instance of Host
objectID=*****
name=testmf
capacityInKB=0
hostType=2
An instance of Host
objectID=*****
name=testmf2
capacityInKB=0
hostType=2
*****
: The values are encoded by the CLI.
4-7-7 GetHostInfo
GetHostInfo
returns either a selected HostInfo record or all the HostInfo on the Device
Manager server (see
).
A user to whom a user-defined resource group is assigned can obtain information about hosts that
the user is permitted to access. The names of hosts that the user is not permitted to access are
displayed as n/a.
Table 4-86
GetHostInfo command parameters
Parameter Name
Status
Description
objectid
Optional
Object ID of the HostInfo record to retrieve
Omit this parameter to obtain all HostInfo records.
Specify the
objectID obtained from another CLI response.
The value is encoded by
the CLI.
NOTE:
If you do not know the object ID of the required HostInfo record, you can obtain
information about all the HostInfo records by executing the GetHostInfo command.
Command execution example 1:
hdvmcli GetHostInfo -o "D:\logs\XP1024 GetHostInfo.log" "objectid=*****"
*****
: The value is encoded by the CLI.
Command execution result 1:
RESPONSE
An instance of HostInfo
objectID=*****
name=HIS_HOSTINFO_XP1024
serialNumber=10001
arrayType=XP1024
ipAddress=172.16.64.159
mountPoint=C:
portID=7
domainID=0
scsiID=15
lun=3
devNum=3
osScsiBus=0
osScsiID=15