HP 3PAR OS 3.1.3 Command Line Interface Reference

createhost
DESCRIPTION
The createhost command creates or adds paths to a new system host and provides the option
of assigning one or more paths to that host. Paths can be either Fibre Channel WWNs or iSCSI
names. The command also provides options to annotate the host with descriptor information such
as physical location, IP address, Operating System, Model, and so on.
SYNTAX
The syntax for the creathost command can be one of the following:
createhost [options] <host_name> [<WWN>...]
createhost -iscsi [options] <host_name> [<iSCSI_name>...]
AUTHORITY
Super, Edit
Any role granted the host_create right.
NOTE: You need access to all domains in order to run this command.
OPTIONS
add
Adds the specified WWN(s) or iscsi_name(s) to an existing host (at least one WWN or iscsi_name,
must be specified. See “NOTES” for additional information about this option.
-domain <domain | domain_set>
Creates the host in the specified domain or domain set. The default is to create it in the current
domain, or no domain if the current domain is not set. The domain set name must start with set:.
f
Forces the tear down and removal of lower priority VLUN exports if necessary. See “NOTES” for
additional information about this option.
-persona <hostpersonaval>
Sets the host persona that specifies the personality for all ports which are part of the host set. This
selects certain variations in SCSI command behavior which certain operating systems expect. The
<hostpersonaval> is the host persona ID number with the desired capabilities. These can be
seen with showhost -listpersona.
-loc <location>
Specifies the host’s location.
-ip <IP_address>
Specifies the host’s IP address.
-os <OS>
Specifies the operating system running on the host.
-model <Model>
Sets the host’s model.
-contact <contact>
Sets the owner of the host and contact information.
-comment <comment>
112 Create Commands