
Command Line Interface Commands 84
4-6-1 AddHost
AddHost adds information about a host server to the Device Manager server (see Table 4-61).
Users with access to this command:
• Yes: System Administrator, Storage Administrator
• No: Guest, Local System Administrator, Local Storage Administrator, Local Guest
Table 4-61 AddHost Command Parameters
Parameter Name Status Description
hostname Required Name of the new host.
wwnlist Optional Comma-separated list of WWNs.
ipaddress Optional IP address of the new host.
Command execution example:
hdvmcli AddHost -o "D:\logs\AddHost.log" "hostname=toro2"
"wwnlist=AA.CC.CC.CC.CC.CC.CC.CC,00.CC.CC.CC.CC.CC.CC.CC" "ipaddress=192.168.32.63"
Command execution result:
RESPONSE:
An instance of Host
objectID=HOST.279
name=toro2
ipAddress=192.168.32.63
capacityInKB=0
hostType=-1
4-6-2 AddHostInfo
AddHostInfo adds host-based information on a LUN (information on storage used by hosts (see Table 4-62).
Users with access to this command:
• Yes: System Administrator, Storage Administrator, Local System Administrator, Local Storage
Administrator
• No: Guest, Local Guest
• 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 an
operational host.
Table 4-62 AddHostInfo Command Parameters
Parameter Name Status Description
serialnum Required Serial number of the path’s storage array.
model Required Model of the path’s storage array.
hostname Required Name of the host.
ipaddress Optional IP address of the host.
mountpoint Optional Mount point on the host file system corresponding to the path.
port Required Port that the path is on.
domain Required Domain ID of the path.
devnum Required Device number of the path.
osscsibus Required Host SCSI bus number.
osscsiid Required Virtualized host SCSI ID.
oslun Required Virtualized host LUN.
Commentaires sur ces manuels