HP XP Command View Advanced Edition Software User Manual
Page 191
![background image](/manuals/397820/191/background.png)
Command line interface commands
191
Table 4-81
AddHostInfo command parameters
Parameter Name
Status
Description
hostname
Required
Name of the HostInfo
The number of characters that can be used for a name is 1-50 bytes.
ipaddress
Optional
IPv4 IP address of the host
ipv6address
Optional
IPv6 IP address of the host
mountpoint
Optional
Mount point on the host file system corresponding to the path
port
Optional
Port that the path is on
NOTE:
Specify either port or portname. Do not specify both
parameters at the same time. This might cause an error to occur.
portname
Optional
Port name that the path is on
NOTE:
Specify either port or portname. Do not specify both
parameters at the same time. This might cause an error to occur.
domain
Required
Domain ID of the path
This parameter can be specified in decimal and hexadecimal. If you
specify a hexadecimal number, add the 0x prefix.
NOTE:
The execution results are output in decimal.
devnum
Required
Device number of the path
This parameter can be specified in decimal, and in colon-separated
hexadecimal. If you specify a hexadecimal number, for
XP12000/XP10000/SVS200, XP1024/XP128, and XP512/XP48, use the
xx:yy format, where xx is the CU number, and yy is the LDEV number.
For XP24000/XP20000, use the ww:xx:yy format, where ww is the
LDKC number, xx is the CU number, and yy is the LDEV number. ww is
optional. If you omit ww, the LDKC number is regarded as 0.
NOTE:
The execution results are output in decimal.
osscsibus
Required
Host SCSI bus number
osscsiid
Required
Virtualized host SCSI ID
oslun
Required
Virtualized host LUN
portwwn
Optional
Port WWN on the host bus adapter
filetype
Optional
Type of the file system
filename
Optional
Name of the file system
size
Optional
LUN size in MB
percentused
Optional
Percent of the LUN in use
In this example, the CLI command specifies the following information for the host that connects to a
LUN (device number: 2, port number: 7, domain ID: 0) in a storage subsystem (serial number:
10001
, model: XP1024):
•
HostInfo
record name: MY_HOSTINFO_XP1024
•
Host IP address: 172.16.64.159
•
Mount point: C:
•
File system type: NTFS
•
File name: C:
•
SCSI bus number: 0