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

DescriptionStatusParameter name
Port WWN on the host bus adapterOptional
portwwn
Type of the file systemOptional
filetype
Name of the file systemOptional
filename
LUN size in MBOptional
size
Percent of the LUN in useOptional
percentused
Parameter values to obtain in advance
serialnum and model
Obtain these values from the execution result of the GetStorageArray command. In the execution
result, use the arrayType value or the displayArrayType value to specify the model para-
meter, and use the serialNumber value to specify the serialnum parameter.
port, domain, and devnum
Obtain these values from the execution result of the GetStorageArray (subtarget=Path)
command. Execute the GetStorageArray command by specifying only the model and
serialnum parameters, and Path for the subtarget parameter. In the execution result of this
command, the portID, domainID and devNum values appear in a Path. Use these portID,
domainID and devNum values to specify the port, domain and devnum parameters respectively.
portname
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. In the execution result of this command, the displayName value appears under An
instance of Port. Use this value to specify the portname parameter.
Command execution example
In this example, the AddHostInfo 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 system (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
Host LUN: 1
HBA WWN: 11.22.33.44.55.66.77.88
LUN size: 10MB
LUN in use: 10%
hdvmcli AddHostInfo -o "D:\logs\AddHostInfo.log"
serialnum=10001 model=XP1024 hostname=MY_HOSTINFO_XP1024
ipaddress=172.16.64.159 mountpoint=C: port=7 domain=0 devnum=2
CLI Reference Guide 231