HP 3PAR InForm OS 3.1.1 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.
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>
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.
OPTIONS
-loc <location>
Specifies the location of the host.
-ip <IP_address>
Specifies the IP address of the host.
-os <OS>
Specifies the operating system running on the host.
-model <model>
Specifies the model of the host.
300 Set Commands