HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

NOTE:
If two or more paths are set from a virtualization server for a single volume, the values for the portID
attribute, domainID attribute, and scsiID attribute for the HostInfo instance for the target volume
might not be correct. Use the management client for the virtualization server to check this information.
Format
When obtaining information about all hosts, or information for a particular type of host:
hdvmcli [URL] GetHost [options]
[hostfilter=type-of-host-for-which-information-is-obtained]
When obtaining information about a specific host:
hdvmcli [URL] GetHost [options]
{objectid=object-ID-of-host-for-which-information-is-obtained
|hostname=name-of-host-for-which-information-is-obtained}
When obtaining information about a particular HORCM configuration file on the host, or information
for a particular copy group related to the host:
hdvmcli [URL] GetHost [options]
objectid=object-ID-of-host-for-which-information-is-obtained
{configfileid=object-ID-of-HORCM-configuration-file-of-RAID-Manager-of-host
|configfileid=object-ID-of-HORCM-configuration-file-of-RAID-Manager-of-host
replicationgroupid=copy-group-related-to-host}
Parameters
Table 88 GetHost command parameters
DescriptionStatusParameter name
Object ID of the host to return
Omit this parameter to include all hosts.
Do not specify the hostname and hostfilter parameter at
the same time. If they are specified at the same time, an error will
occur.
Optional
objectid
Name of the host to obtain information about
Omit this parameter to include all hosts.
Do not specify the objectid and hostfilter parameter at
the same time. If they are specified at the same time, an error will
occur.
Optional
hostname
CLI Reference Guide 239