Table 4-69 modifyhostinfo command parameters – HP StorageWorks XP10000 Disk Array User Manual
Page 92
Command Line Interface Commands 92
•
Restricted to permitted resources: Local System Administrator and Local Storage Administrator do not
have access range limitations.
NOTE:
A Local System Administrator and Local Storage Administrator can specify HostInfo for a
permitted host.
Table 4-69
ModifyHostInfo Command Parameters
Parameter Name Status
Description
objectid
Required
Object ID of the HostInfo record to be modified.
serialnum
Optional
New serial number of the path's storage array. Omit this when no change is required.
model
Optional
New model of the path's storage array. Omit this when no change is required.
hostname
Optional
New name of the host. Omit this when no change is required.
ipaddress
Optional
New IP address of the host. Omit this when no change is required.
mountpoint
Optional
New mount point on the host file system corresponding to the path. Omit this when no
change is required.
port
Optional
New port on the path. Omit this when no change is required.
domain
Optional
New domain ID of the path. Omit this when no change is required.
devnum
Optional
New device number of the path. Omit this when no change is required.
portwwn
Optional
New port WWN on the host bus adapter. Omit this when no change is required.
filetype
Optional
New type of the file System. Omit this when no change is required.
filename
Optional
New name of the file System. Omit this when no change is required.
size
Optional
New LUN size in MB. Omit this when no change is required.
percentused
Optional
New percentage of the LUN in use. Omit this when no change is required.
Command execution example: In this example, the CLI command makes the following modifications to the
host-based information (object ID: HOSTINFO.MY_HOSTINFO_XP1024.0.15.1).
•
The newly connected storage subsystem is a storage subsystem (serial number: 10001, model:
XP1024
).
•
The host 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\XP1024 ModifyHostInfo.log"
"objectid=HOSTINFO.MY_HOSTINFO_HDS9980V.0.15.1" "model=XP1024" "serialnum=10001"
"hostname=MY_HOSTINFO_XP1024" "ipAddress=111.111.111.111" "mountPoint=E:" "port=7"
"domain=0" "devnum=2" "portwwn=11.33.55.77.99.BB.DD.FF" "filetype=NTFS1" "filename=oo"
"size=156" "percentused=50"
Command execution result:
RESPONSE
An instance of HostInfo
objectID=HOSTINFO.MY_HOSTINFO_XP1024.0.15.1
name=MY_HOSTINFO_XP1024
serialNumber=10001
arrayType=HDS9980V
ipAddress=111.111.111.111
mountPoint=E:
portID=7
domainID=0