HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

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 parameter, 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 osscsibus=0 osscsiid=15 oslun=1
portwwn=11.22.33.44.55.66.77.88 filetype=NTFS filename=C: size=10 percentused=10
Command execution result
RESPONSE:
An instance of HostInfo
objectID=*****
name=MY_HOSTINFO_XP1024
serialNumber=10001
arrayType=XP1024
ipAddress=172.16.64.159
mountPoint=C:
portID=7
portName=CL1-H
Device Manager CLI command reference216