Dell Emulex Family of Adapters User Manual

Page 853

Advertising
background image

Emulex Drivers Version 10.2 for Linux User Manual

P010081-01A Rev. A

3. Configuration

iSCSI Driver Configuration

853

Login to [iface: be2iscsi.00:00:c9:f2:73:91, target: iqn.tgt6, portal:

192.168.65.196,3260] successful.

Login to [iface: be2iscsi.00:00:c9:f2:73:91, target: iqn.tgt4, portal:

192.168.65.196,3260] successful.

Login to [iface: be2iscsi.00:00:c9:f2:73:91, target: iqn.tgt2, portal:

192.168.65.196,3260] successful.

Login to [iface: be2iscsi.00:00:c9:f2:73:91, target: iqn.tgt5, portal:

192.168.65.196,3260] successful.

10. Display the session information after a successful login.

Once the login is successful, the session information can be dumped with the

following command:

iscsiadm -m session -P 3

11. Log out from the targets.

To log out from a single target, use the following command:

iscsiadm -m node -T <Target_Name> -u

To log out from all targets, use the following command:

iscsiadm -m node -u

Adding iSCSI Targets Directly (without Discovering)

If the target details are known, you can skip the discovery phase and add the targets to

the iscsiadm node database directly. Then you can log in to those targets.
1. Add individual target details to the nodes database.

iscsiadm -m node -o new -T iqn.tgt1 -p 192.168.65.196:3260 -I

be2iscsi.00:00:c9:f2:73:91

Example output:

New iSCSI node

[be2iscsi:[hw=00:00:c9:f2:73:91,ip=,net_if=,iscsi_if=be2iscsi.00:00:c9:

f2:73:91] 192.168.65.196,3260,-1 iqn.tgt1] added

The “-I be2iscsi.00:00:c9:f2:73:91” option is passed so that the target is bound with

the interface name, and the login occurs through those ifaces.

2. Log in to the specific target.

iscsiadm -m node -T iqn.tgt1 -l

Example output:

Logging in to [iface: be2iscsi.00:00:c9:f2:73:91, target: iqn.tgt1,

portal: 192.168.65.196,3260]

Login to [iface: be2iscsi.00:00:c9:f2:73:91, target: iqn.tgt1, portal:

192.168.65.196,3260] successful.

3. To display the session after a successful log in or to log out, see step 10 and step 11

in the “Discovering and Adding iSCSI Targets” section.

Advertising