|
|
HP-UX iSCSI Software Initiator Support Guide: HP-UX 11i v1 & 11i v2 > Chapter 5 ManagementThe 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:
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.
Most command sequences require root or super user permission.
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>]
To Delete an iSCSI discovery target IP address from the kernel registry, use: # iscsiutil [/dev/iscsi] -d -I <ip-address> [-P <tcp-port>][-M <portal-grp-tag>]
To add an initiator name and optionally add an initiator alias, use:
(names must be in “iqn” or “eui” format) See “Configuring the iSCSI Software Initiator”, for more information on iqn and eui naming formats. To display statistics from the iSCSI Software Initiator, use: # iscsiutil [/dev/iscsi] -s [-G] [-S [<ssn_inst> [-C [<cid>]]]]
To display the iSCSI name and alias for the iSCSI initiator node, as well as the current authentication method and login key information, use: # iscsiutil [/dev/iscsi] -l To display the transport driver name and version, use: # iscsiutil [/dev/iscsi] To display information about current sessions, targets, and connections, use: # iscsiutil [/dev/iscsi] -p [-O | -D | [-T <target-name>]] or # iscsiutil [/dev/iscsi] -p [-S [<ssn_inst> [-C [<cid>]] [-V]]]
To display iscsiutil usage, use:
To issue an iSCSI NOP-OUT indicating the destination session and connection, use:
|
|