6-6 gethost, Gethost, Table 4-65 deletehostinfo command parameters – HP StorageWorks XP10000 Disk Array User Manual
Page 87: Table 4-66 gethost command parameters
Command Line Interface Commands 87
Table 4-65
DeleteHostInfo Command Parameters
Parameter Name Status
Description
objectid
Required Object ID of the HostInfo record to be removed.
Command execution example:
hdvmcli DeleteHostInfo -o "D:\logs\XP1024 DeleteHostInfo.log"
"objectid=HOSTINFO.MY_HOSTINFO_XP1024.0.15.1"
Command execution result:
RESPONSE
(Command completed; no data returned)
4-6-6 GetHost
GetHost
returns the information about one or all host servers (see
Table 4-66
).
Users with access to this command:
•
Yes: System Administrator, Storage Administrator, Local System Administrator, Local Storage
Administrator
•
No: Guest, Local Guest
•
Restricted to permitted resources: Local System Administrator, Local Storage Administrator
NOTE:
If you do not know the object ID of the required host, you can obtain information about all the hosts
by executing the GetHost command without specifying this parameter.
Table 4-66
GetHost Command Parameters
Parameter Name
Status
Description
objectid
Optional Object ID of the host for which information is to be returned. Omit this parameter to
include all hosts.
configfileid
Optional Object ID of the Continuous Access XP configuration definition file in the host. If you
omit this parameter, the command acquires information about all Continuous Access
XP configuration definition files contained in the host. When you specify this
parameter, you must also specify the objectid parameter.
replicationgroupid
Optional ID of the copy group associated with the host (ReplicationGroup). When you
specify this parameter, you must specify the objectid and configfileid
parameters.
Command execution example 1: This example obtains the pair information defined in the CCI 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=HOST.1" configFileID=CONFIGFILE.1.11
Command execution result 1:
RESPONSE:
An instance of Host
objectID=HOST.1
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