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

The first line of the sample ioscanoutput displays the iSCSI virtual node. This is the root node for
all iSCSI storage and will occur only once in the ioscan output. The iSCSI transport driver claims
the iSCSI root node.
The second line of the same ioscan output displays the iscsi virtual controller which represents the
iSCSI S/W initiator. This line appears only once as there is only one instance of S/W initiator..
The third line displays the iSCSI normal session. You can notice initiator session identifier instance
(ISID) as an element representing this session in the hardware path.
The fourth line displays the lunpath to the iSCSI disk. For more information see the HP-UX
storage-area management white papers at:
http://docs.hp.com/en/oshpux11iv3.html#Storage%20Area%20Management
The following ioscan output displays the iSCSI luns:
disk 43 64000/0xfa00/0x25 esdisk CLAIMED DEVICE NETAPP LUN /dev/disk/disk43
/dev/rdisk/disk43
5.3 The iscsiutil tool
The iscsiutil command is a management and diagnostic tool used with the iSCSI Software
Initiator.
The iscsiutil tool provides a command line interface to:
Configure the iSCSI Software Initiator related parameters.
Display statistics for the interface driver, connection processing, session processing, and the
discovery sequence.
Execute diagnostic functionality.
Device files are automatically created to access the iSCSI transport and interface drivers.
The device file to interface to the iSCSI transport driver is /dev/iscsi, which is created during
installation.
The iSCSI transport driver defines iSCSI session management common to all iSCSI interface drivers.
The iSCSI transport driver defines interfaces with the SCSI services layer.
NOTE: For a complete list of options supported by the iscsiutil tool, review the iscsiutil
manpage on an HP-UX system that has the iSCSI Software Initiator installed on it. From the command
line enter:
# man iscsiutil
5.3.1 iscsiutil Command Utilization
Most command sequences require root or super user permission.
NOTE: The parameters enclosed within [ ] are optional. The parameters enclosed within < > are
mandatory.
5.3.1.1 Configuration with iscsiutil
To add an iSCSI discovery target IP address or a target portal group tag to the kernel registry,
use:
# iscsiutil [/dev/iscsi] -a -I <ip-address> [-P <tcp-port>][-M <portal-grp-tag>]
The iSCSI target will be probed during ioscanprocessing using the static scanning technique
described in “Device Discovery” (page 14).
<ip-address> The ip_address specified can be an IPv4 formatted address or a DNS host
name. The bracketed [ ] parameters are optional.
28 Management