Logging in to discovered targets
You can connect to a specific portal on a discovered target by using the iscsiadm command.
About this task
Procedure
Log in the iSER initiator to your selected system targets by using the following appropriate
command examples for RHEL:
If you are logging into a 2-port 25 Gbps Ethernet (RoCE) adapter on node1, enter the following command:
iscsiadm --mode node --targetname target_IQN --portal x.x.x.x:3260 --login
For example: iscsiadm --mode node --targetname iqn.1986-03.com.ibm:2145.cluster10g1.node1
--portal 192.168.64.191:3260 --login.
Or, if you are logging into a 2-port 25 Gbps Ethernet (iWARP) adapter on node2, enter
the following
command:
iscsiadm --mode node --targetname target_IQN --portal x.x.x.x:860 --loginFor example: iscsiadm --mode node --targetname
iqn.1986-03.com.ibm:2145.cluster10g1.node2 --portal 192.168.64.191:860 --login.