Dell Emulex Family of Adapters User Manual

Page 856

Advertising
background image

Emulex Drivers Version 10.2 for Linux User Manual

P010081-01A Rev. A

3. Configuration

iSCSI Driver Configuration

856

Perform the following steps to discover targets using iSNS through the NIC interface:
1. Ensure that a ping to the iSNS server IP from the initiator machine is successful

through the NIC interface.

2. Run the discovery command:

iscsiadm -m discoverydb -t isns -p <iSNS_SERVER_IP> -I default

--discover -P 1

For example:

iscsiadm -m discoverydb -t isns -p 10.192.204.116 -I default

--discover -P1

Example output:

Target: iqn.tgt:TGT1

Portal: 192.168.65.197:3260,1

Iface Name: default

Target: iqn.tgt:TGT2

Portal: 192.168.65.197:3260,1

Iface Name: default

Target: iqn.tgt:TGT3

Portal: 192.168.65.197:3260,1

Iface Name: default

3. Display the interfaces that are present:

iscsiadm -m iface

Example output:

default tcp,<empty>,<empty>,<empty>,<empty>

iser iser,<empty>,<empty>,<empty>,<empty>

bnx2i.00:25:b3:df:8d:ad

bnx2i,00:25:b3:df:8d:ad,<empty>,<empty>,<empty>

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

4. Add the targets listed in the discovery command to the iSCSI driver interface

through which the connection will be offloaded:

iscsiadm -m node -T <Target_Name> -p

<Target_Portal:Port_Number,Portal Tag> -I

<be2iscsi Interface> -o new

For example:

localhost:~ # iscsiadm -m node -T iqn.tgt:TGT1 -p

192.168.65.197:3260,1 -I

be2iscsi.00:00:c9:f2:73:91 -o new

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.197,3260,1 iqn.tgt:TGT1]

Advertising