Use the detectiscsistorageportcandidate command to establish Internet Small Computer Systems Interface (iSCSI) login sessions from any nodes in a specified I/O group to a discovered backend iSCSI target controller.
If you specify this parameter, you trigger discovery through the source_port_id of both nodes for the specified I/O group. If no value is specified, discovery is triggered by using the source_port_id of all nodes in the system.
If the target controller requires a target_user_name and target_chap for discovery, use the target user name and Challenge-Handshake Authentication Protocol (CHAP) secret to discover the iSCSI target controller.
Some controllers might require that you use the iSCSI qualified name (IQN) user name for discovery. Each nodes IQN is picked up automatically and used if required.
In a HyperSwap topology, configured I/O groups at each site require a license to the use mirroring functions. Additionally, storage controller discovery can be accomplished only from nodes within the same site.
This command detects iSCSI backend storage controllers for migration and virtualization. This command helps with target iSCSI controller discovery. Use the lsiscsistorageportcandidate command to list information about the discovered candidate iSCSI target controller(s).
The target data is available until either another discovery is completed or the system undergoes a recovery procedure, which clears the previous discovery data. The command completes when either discovery from all source nodes completes or the command fails.
Use the addiscsistorageport command to establish sessions from any nodes in a specified I/O group to a discovered backend iSCSI controller. Use the lsiscsistorageportcandidate command to list information about the candidate iSCSI target controller.
This example shows target discovery using an IPv4 IP address with a target ISCSI controller and source port ID 1.
detectiscsistorageportcandidate –srcportid 1 -targetip IP1
The detailed resulting output:
No feedback
This example shows target discovery from I/O group 3 using an IPv4 address with a target iSCSI controller and source port ID 3.
detectiscsistorageportcandidate –srcportid 3 -targetip IP3 -iogrp 3 –username delluser –chapsecret password1
The detailed resulting output:
No feedback
This example shows target discovery using initiator node user name and CHAP secret.
detectiscsistorageportcandidate –srcportid 2 -targetip 192.168.54.13 -node node1 -username xmen1 -chapsecret vd1
The resulting output:
No feedback