HP XP Command View Advanced Edition Software User Manual

Page 195

Advertising
background image




Command line interface commands



195

Table 4-85

GetHost command parameters

Parameter Name

Status

Description

configfileid

Optional

Object ID of the HORCM configuration definition file in the host
If you omit this parameter, the command acquires information about all
HORCM configuration definition files contained in the host. If you specify
this parameter, you must also specify the objectid parameter. Specify
the objectID obtained from another CLI response. The value is encoded
by the CLI.

replicationgroup
id

Optional

ID of the copy group related with the host (ReplicationGroup)

If you specify this parameter, you must specify the objectid and
configfileid

parameters.

hostfilter

Optional

Type of the host that acquires information
Omit this parameter when all hosts are the target.
To specify two or more values, separate them with semicolons (;).
You can specify the following values:

NORMAL

, EXT_PORT, and MAINFRAME

NOTE:

Do not specify the objectid and hostname parameters at the

same time, as this might cause an error to occur.

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

ipAddress=192.168.32.63

capacityInKB=0

hostType=-1

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

objectID=*****

instanceNumber=11

controlledBy=Device Manager

portNumber=50000

valid=1

List of 1 ReplicationGroup elements:

An instance of ReplicationGroup

objectID=*****

replicationGroupID=3

groupName=HCMD_CG0003

Advertising