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

following the colon (:) in the example above depicts the hostname (hpfcs214) followed by
the partition identifier (2000853943).
With the exception of the colon prefix, the owner of the domain name can designate the
content of the optional string. It is the responsibility of the naming authority to ensure the iSCSI
names it assigns are unique worldwide.
For example, if the Hewlett-Packard Company owned the domain name "stor.hp.com",
registered in 2001, the iSCSI qualified names that might be generated by the Hewlett Packard
Company appear in the following example:
Naming String defined by
Type Date Auth "stor.hp.com" naming authority
+--++-----+ +---------+ +--------------------------------+
| || | | | | |
iqn.2001-04.com.hp.stor:initiator:master-host-ae12345
iqn.2001-04.com.hp.stor:storage.disk2.sys1.xyz
iqn.2001-04.com.hp.stor:storage:diskarrays-sn-a8675309
iqn.2001-04.com.hp.stor
IEEE EUI-64 Name (eui)
An iSCSI initiator name in the eui format appears in the following example:
Type EUI-64 identifier (ASCII-encoded hexadecimal)
+--++--------------+
| || |
eui.02004567A425678D
The format is "eui." followed by an EUI-64 identifier (16 ASCII-encoded hexadecimal digits).
Any leading zeroes among the16 ASCII-encoded hexadecimal digits, must be specified.
The IEEE Registration Authority provides a service for assigning globally unique identifiers.
The IEEE EUI-64 naming format might be used when a manufacturer is already registered with
the IEEE Registration Authority and uses EUI-64 formatted worldwide unique names for it’s
products.
Now configure the iSCSI initiator name using the following command:
# iscsiutil [iscsi-device-file] -i -N <iSCSI-initiator-name>
where
[iscsi-device-file] is the iSCSI device filepath, /dev/iscsi. It’s use is optional when
other options such as -i and -N are included in the command.
-i configures iSCSI initiator information.
-N is the initiator name option. When preceded by -i, it requires the iSCSI Initiator Name
as an argument. The first 256 characters of the name string will be stored in the iSCSI persistent
information.
<iSCSI-initiator-name> is the initiator name you have chosen, in iqn or eui format.
for example:
# iscsiutil -i -N <initiator name in iqn or eui format>
3. To display the initiator name for confirmation, enter:
# iscsiutil -l
4. For each iSCSI target device that is to be statically identified, store the target device information
in the kernel registry.
Add one (or several) discovery target(s):
# iscsiutil [/dev/iscsi] -a -I <ip-address> [-P <tcp-port>] [-M <portal-grp-tag>]
20 Configuration