Use the lsiscsistorageportcandidate command to list information about the candidate Internet Small Computer Systems Interface (iSCSI) target controller iSCSI Qualified Name (IQN) that is specified with the target IP from the specified initiator source ports.
This command lists information about the last invocation of the detectiscsistorageportcandidate command. This command also lists the candidate iSCSI target controller IQNs that are visible at the specified target IP from the specified initiator ports along with indication of which initiator ports can see each discovered iSCSI target IQN.
Attribute | Description |
---|---|
id | Indicates the row ID for the discovery output. There is one row per iSCSI qualified name (IQN) that you can view by using the target IP address that is specified in detectiscsistorageportcandidate. |
src_port_id | Indicates the source port ID. The value is a number 1 - 8. |
target_ip | Indicates the target IPv4 address. |
target_ip6 | Indicates the target IPv6 address. |
target_iscsiname | Indicates the (discovered) IQN that uses the target controller. The value is an alphanumeric string that is 256 characters long. |
iogroup_list | Indicates a colon-separated list of discovery result codes: The value must be
an alphanumeric string of up to 32 characters. This field cannot be blank. The values are
0 and 1:
Note: The value - (dash) indicates that the I/O group is not valid or is not
present in the system.
|
status | Indicates whether discovery was successful. The values are:
|
configured | Indicates whether the discovered target IQN has any established sessions with source ports or target ports. The values are yes and no (default). |
site_id | Indicates the site ID (if the nodes that are being discovered belong to a site). This applies to HyperSwap® systems. |
site_name | Indicates the site name (if the nodes that are being discovered belong to a site). This applies to HyperSwap® systems. |
detectiscsistorageportcandidate –srcportid 1 -targetip IP1
To view the output specify:
lsiscsistorageportcandidate
The detailed resulting output:
id src_port_id target_ipv4 target_ipv6 target_iscsiname iogroup_list configured status site_id site_name 0 1 IP1 IQN1 1:1:1:1 no Full
detectiscsistorageportcandidate -iogrp 0 –srcportid 1 -targetip IP2 –username superuser –chapsecret password2A tgt_user_name and target_chap value are used. There are only two I/O groups in this system, 0 and 3.
To view the output specify:
lsiscsistorageportcandidate
The detailed resulting output:
id src_port_id target_ipv4 target_ipv6 target_iscsiname iogroup_list configured status site_id site_name 0 1 IP2 IQN1 1:-:-:0 no Full 1 1 IP2 IQN2 1:-:-:0 no Full 2 1 IP2 IQN3 1:-:-:0 no Full