3PAR InForm® OS 2.3.1 CLI Reference (320-200166 Rev B, March 2010)

11.42
Command Line Interface Reference InForm OS Version 2.3.1
EXAMPLES
The following example creates system host test01:
The following example creates an iSCSI host
test02:
The following example creates host
ibm520-13 with an 8/AIX-legacy host persona:
NOTES
If the host is running the 3PAR Host Agent then createhost may be called with no paths
and the
hostname reported by the agent to create the host with all reported paths. If no
agent is running then createhost with no paths creates a host without assigning a host
path. The
-add option modifies an existing host by associating a host path with that host.
If the
-add option is not used, the createhost command defines a new host.
If assigning paths to a host you are creating, specify the -f option to remove any existing
VLUNs associated with those paths to avoid any conflicting VLUNs. See the InForm OS
Concepts Guide for more information.
Verify the creation of a host by issuing the showhost command. See showhost on
page 22.47 for more information.
The options that allow for adding descriptive information are for annotation purposes
only; the storage server does not actively use the information provided here.
Although it is optional to specify a host persona, a host must have one. If one is not
specified, it will default to 1 (Generic). This will not operate correctly with all types of hosts.
The host persona can be changed with
sethost -persona.
Host personas can not be specified with the -add argument.
A port's FC parameters should be set with controlport config.
cli% createhost test01 2000000087041F72
cli% createhost -iscsi test02 iqn.1991-06.com.microsoft:dt-391-
xp.hq.3par.com
cli% createhost -persona 3 ibm520-13 10000000C97B142E