Start of change

ISCSI_INFO view

The ISCSI_INFO view returns iSCSI configuration information for the system.

One row is returned for each iSCSI target that is configured.

If no iSCSI targets are configured, one default row is returned. The target configuration values in that row are NULL except for the INITIATOR_NAME column. The INITIATOR_NAME column contains the default initiator name generated by the system. This is useful when configuring the iSCSI target system.

Authorization: The caller must have *IOSYSCFG special authority.

The following table describes the columns in the view. The system name is ISCSI_INFO. The schema is QSYS2.

Table 1. ISCSI_INFO view
Column Name System Column Name Data Type Description
TARGET_NAME TGT_NAME VARCHAR(223)
Nullable
The iSCSI target name of the iSCSI target.
TARGET_HOST_NAME TGT_HOST VARCHAR(255)
Nullable
The TCP/IP host name of the iSCSI target.
TARGET_PORT TGT_PORT INTEGER
Nullable
TCP/IP target port being used for iSCSI connection.
INITIATOR_NAME INIT_NAME VARCHAR(223) The iSCSI initiator name associated with the iSCSI target.
INITIATOR_CHAP_NAME INIT_CHAP VARCHAR(255)
Nullable
The Challenge-Handshake Authentication Protocol (CHAP) name used by the IBM i iSCSI initiator to authenticate with the iSCSI target.

Contains the null value if CHAP authentication is not in use.

CHAP_KEYSTORE CHAP_KS VARCHAR(18)
Nullable
The encrypted storage area used to store CHAP authentication data persistently.
NONE AVAILABLE
CHAP authentication data is stored as plaintext because encrypted storage is not available to the partition.
NONE
CHAP authentication data is stored as plaintext in nonencrypted storage.
PLATFORM
CHAP authentication data is stored in encrypted storage provided by the platform hardware.

Contains the null value if CHAP authentication is not in use.

RESOURCE_NAME RESOURCE VARCHAR(10)
Nullable
Resource name of the iSCSI Virtual I/O Processor (IOP).
TARGET_STATUS TGT_STATUS VARCHAR(25)
Nullable
Current status of the iSCSI target.
ACTIVE
Connection to the iSCSI target is active
ACTIVE PENDING CHANGE
Connection to iSCSI target is active. A change to the target configuration will take effect when an IPL of the iSCSI Virtual IOP is completed.
ACTIVE PENDING REMOVE
Connection to iSCSI target is active. The connection to the target will end when an IPL of the iSCSI Virtual IOP is completed.
CONNECTING
System is attempting to make a connection to the iSCSI target.
CONNECTING PENDING CHANGE
System is attempting to make initial connection to the iSCSI target. A change to the target configuration will take effect when an IPL of the iSCSI Virtual IOP is completed.
CONNECTING PENDING REMOVE
System is attempting to make initial connection to the iSCSI target. Attempts to connect to the target will end when an IPL of the iSCSI Virtual IOP is completed.
FAILED
The system failed to connect to the target. The administrator should check the configuration values.
FAILED PENDING CHANGE
The system failed to connect to the target. A change to the target configuration will take effect when an IPL of the iSCSI Virtual IOP is completed.
FAILED PENDING REMOVE
The system failed to connect to the target. Attempts to connect to the target will end when an IPL of the iSCSI Virtual IOP is completed.
PENDING ADD
The target has been configured, but the system has not attempted a connection. The system will attempt to connect to the target when the iSCSI Virtual IOP is completed.
End of change