HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide
DescriptionStatusParameter name
New LUN size in MB
Omit this when no change is required.
Optional
size
New percentage of the LUN in use
Omit this when no change is required.
Optional
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.
objectid
Obtain this value from the execution result of the GetHostInfo command. In the execution result
of this command, the objectID value appears under An instance of HostInfo. Use this
objectID value to specify the objectid parameter.
devnum, domain, and port
Obtain these values from the execution result of the GetStorageArray (subtarget=Path)
command. Execute this command by specifying only the model and serialnum parameters,
and Path for the subtarget parameter. In the execution result of this command, the devNum,
domainID, and portID values appear under An instance of Path. Use these devNum,
domainID, and portID values to specify the devnum, domain, and port parameters respect-
ively.
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 ModifyHostInfo command makes the following modifications to the host-based
information (object ID: HOSTINFO.MY_HOSTINFO_XP1024.0.15.1).
• The newly connected storage system is a storage system (serial number: 10001, model: XP1024).
• The HostInfo record name is changed to MY_HOSTINFO_XP1024.
• The new IP address is 111.111.111.111.
• E: is the new mount point of the host file system.
• The LUN that is used is identified as follows: port number: 7, domain ID: 0, device number: 2.
• The new WWN for the HBA is 11.33.55.77.99.BB.DD.FF.
• The new file system name is oo, and the new file system type is NTFS1.
• 156 MB is secured for the new LUN, and the new percentage of use is set to 50% of the LUN
size.
hdvmcli ModifyHostInfo -o "D:\logs\ModifyHostInfo.log"
"objectid=*****" "model=XP1024" "serialnum=10001"
"hostname=MY_HOSTINFO_XP1024" "ipAddress=111.111.111.111" "mountPoint=E:"
Command reference312