HP 3PAR OS 3.1.3 Command Line Interface Reference

sethost
DESCRIPTION
The sethost command sets properties on existing system hosts, including options to annotate a
host with descriptor information such as physical location, IP address, operating system, model,
and so on. The command also provides the ability to configure or remove iSCSI CHAP authentication
information and to reset a host, aborting all its pending I/O.
SYNTAX
The syntax for the sethost command can be one of the following:
sethost [options <arg>] <host_name>
sethost initchap [-f] [options <arg>] <secret>
{<host_name>|<pattern>}...
sethost targetchap [-f] [options <arg>] <secret>
{<host_name>|<pattern>}...
sethost removechap [-target] [-f] {<host_name>|<pattern>}...
sethost clearagent <WWN|iscsi_name>
sethost rst <hostname>
sethost rst -wwn <WWN> <node:slot:port>
sethost rst -iscsi_name <iscsi_name> <node:slot:port>
AUTHORITY
Super, Edit
Any role granted the host_set right.
NOTE: You need access to all domains in order to run this command.
SUBCOMMANDS
initchap
Sets the initiator CHAP authentication information on one or more hosts.
targetchap
Sets the target CHAP authentication information on one or more hosts.
removechap
Removes CHAP authentication information on one or more hosts. By default, this removes all CHAP
information for all specified hosts. Using this subcommand with the target option removes only
target CHAP information.
clearagent
Clears any host agent data associated with the host.
rst
Reset a host or host initiator, aborting all pending commands from the host initiator(s) and releasing
any SCSI-2 reservations held by the initiator(s).
OPTIONS
-loc <location>
Specifies the location of the host.
284 Set Commands