HP-UX iSCSI Software Initiator Support Guide (Edition 7)

4 Configuration
This chapter contains information on:
“Configuring the iSCSI Software Initiator” (page 19)
“Challenge-Handshake Authentication Protocol (CHAP) Configuration” (page 22)
“Configuring CHAP Authentication Uni-directional” (page 23)
“Configuring CHAP Authentication Bi-directional” (page 24)
“Starting the iradd (iSCSI CHAP) Daemon” (page 25)
“Configuring iSCSI Service Location Protocol (SLP) Scope” (page 26)
4.1 Configuring the iSCSI Software Initiator
After the iSCSI Software Initiator has been installed and the system has been rebooted, the following
iSCSI-specific tasks (in addition to network setup) must be done manually to complete the system
setup:
1. Add the path for iscsiutil and other iSCSI executables to the root path as:
# PATH=$PATH:/opt/iscsi/bin
See The iscsiutil tool” (page 28), for more information on iscsiutil.
2. Configure the iSCSI initiator name.
The iSCSI protocol mandates an initiator name for the host iSCSI node.
iSCSI initiator names (iSCSI names) are defined in the iSCSI Qualified Name (iqn) or IEEE
EUI-64 (eui) format.
The iSCSI Software Initiator configures a default initiator name in the iqn format.
NOTE: To display the iSCSI initiator name that has been configured by default, enter:
# iscsiutil -l
If the default iSCSI initiator name configured by the iSCSI Software Initiator meets your
requirements, skip ahead to item 4.
If you want to change the iSCSI initiator name, read the following overview of the iqn and
eui naming formats. For further details, consult the iSCSI protocol specification (RFC 3720)
at: http://www.ietf.org/rfc/rfc3720.txt
iSCSI Qualified Name (iqn)
A default iSCSI iqn initiator name appears in the following example:
iqn.1986-03.com.hp:hpfcs214.2000853943
The string iqn. identifies this iSCSI initiator name as an iSCSI Qualified Name to distinguish
it from an iSCSI initiator name in the "eui." format.
1986-03. is a date code in yyyy-mm format followed by a dot. This date MUST be a date
during which the naming authority owned the domain name used in the iqn formated iSCSI
initiator name.
com.hp is the reversed domain name of the naming authority (person or organization) that
created this iSCSI initiator name.
:hpfcs214 is an optional string that must comply with a character set and length boundaries
that the owner of the domain name deems appropriate. The optional string must be preceeded
by a colon. The optional string may contain product types, serial numbers, host identifiers, or
software keys (e.g, it may include colons to separate organization boundaries). The string
4.1 Configuring the iSCSI Software Initiator 19