HP P2000 G3 MSA System CLI Reference Guide 245
show hosts
Description Shows hosts that volumes can be mapped to. Host entries are automatically created for hosts that
have sent an inquiry command or a report luns command to the system. Hosts typically do
this when they boot up or scan for devices. When the command is received, the system saves the
host port information; however, the information is retained after a restart only if you have set a
nickname for the host.
Syntax
show hosts
Output Host ID
Host WWPN or iSCSI node name.
Name
Host nickname.
Discovered
• Yes: The host was discovered and its entry was automatically created.
• No: The host entry was manually created.
Mapped
Shows whether the host is explicitly mapped to any volumes:
• Yes: At least one volume is explicitly mapped to the host.
• No: No volumes are explicitly mapped to the host.
Profile
• Standard: The host allows LUN 0 to be assigned to a mapping.
• OpenVMS: The host does not allow LUN 0 to be assigned to a mapping.
• HP-UX: The host allows LUN 0 to be assigned to a mapping and uses Flat Space Addressing.
Host Type
• If the host was discovered and its entry was automatically created, its host-interface type: FC;
iSCSI; SAS.
• If the host entry was manually created: Undefined.
Example Show hosts:
# show hosts
Host ID Name Discovered Mapped
Profile Host Type
---------------------------------------------------------------------
100000A0B8040BAC Yes No
Standard FC
100000A0B8040BAD My-host Yes Yes
OpenVMS FC
1111111111111111 testhost No No
HP-UX FC
iqn.1991-05.com.microsoft:myhost.domain Server1 No No
Standard iSCSI
---------------------------------------------------------------------
Success: Command completed successfully. (2012-01-18 15:04:59)
Basetypes • hosts
• status
See also • create host
• delete host
• set host-name