HP MSA 2040 CLI Reference Guide
256
show hosts
Description Shows information about all host entries in the storage system.
Host entries are created in two ways:
• Host entries are automatically created for hosts that have been discovered; that is, 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.
• Host entries can be manually created, such as for testing purposes.
Syntax
show hosts
Output Host ID
Host WWPN or iSCSI node name.
Host 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: Default profile.
• HP-UX: The host 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 Host Name Discovered Mapped
Profile Host Type
---------------------------------------------------------------------
100000A0B8040BAC Yes No
Standard FC
100000A0B8040BAD My-host Yes Yes
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