HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual

Add or remove iSCSI CHAP authentication information.
Assign a host persona to a host, see section Assigning a Host Persona to a Host” (page 78).
The following CLI commands are described in detail in the HP 3PAR InForm OS Command Line
Interface Reference and the CLI Help Pages.
Changing a Host Name
To change a host name, issue the sethost -name <new_host_name> <host_name>
command, where:
<new_host_name> is the new name you wish to assign to the existing host.
<host_name> is the original name of the host you are modifying.
Adding Fiber Channel Path WWNs
To add a WWN to an existing host:
1. Determine the HBA’s WWN by issuing the showhost command.
2. Issue the createhost -add <host_name> <WWN> command, where:
<host_name> is the name of the host being modified.
<WWN> is the HBA’s WWN.
3. Repeat as necessary for any additional WWNs you wish to add to the host definition.
Adding iSCSI Path iSCSI Names
To add an additional iSCSI Name for an existing host:
1. Determine the HBA’s iSCSI Name by issuing the showport -iscsiname command.
2. Issue the createhost -add -iscsi <host_name> <iSCSI_name> command, where:
<host_name> is the name of the host being modified.
<iSCSI_Name> is the host iSCSI Name as determined from step 1 above.
3. Repeat as necessary for any additional iSCSI Names you wish to add to the host definition.
72 Managing Ports and Hosts