HP-UX iSCSI Software Initiator Support Guide, HP-UX 11i v1 and 11i v2, July 2005

Chapter 4
Configuration
Configuring the iSCSI Software Initiator
41
# iscsiutil [/dev/iscsi] -a -I <ip-address> [-P <tcp-port>] [-M <portal-grp-tag>]
where
-a adds a discovery target address into iSCSI persistent information. Only discovery target addresses can
be added using this option.
-I is the option that requires the IP Address or the Hostname of the discovery target portal address as an
argument.
<ip-address> is the IP Address or Hostname component of the target network portal.
[-P <tcp-port>] is the listening TCP port component of the discovery target network portal (optional).
The default iSCSI TCP port number is 3260.
[-M <portal-grp-tag>] is the target portal group tag (optional). The default target portal group tag for
discovery targets is 1.
for example:
# iscsiutil -a -I 192.1.1.110
or, if the Hostname of the target portal access is used:
# iscsiutil -a -I target.hp.com
If an iSCSI TCP port of the network portal used by a discovery target is different than the default iSCSI
port (3260), the TCP port of the network portal used by the discovery target must be specified, for
example:
# iscsiutil -a -I 192.1.1.110 -P 5001
or
# iscsiutil -a -I target.hp.com -P 5001
5. To display the discovery target(s) that have been configured, enter:
# iscsiutil -p -D
6. To discover the operational target devices, enter:
# /usr/sbin/ioscan -H 255
7. To create the device files for the targets, enter:
# /usr/sbin/insf -H 255
8. To display operational targets, enter:
# iscsiutil -p -O
All of the iSCSI login keys configured by default by the iSCSI Software Initiator apply to all of the targets
connected to the iSCSI host node. Currently, there are three iSCSI login keys that may be configured by the
user on a per target basis.
The three user configurable login keys are:
HeaderDigest
DataDigest