beautypg.com

Isns discovery using iscsiadm – Dell Emulex Family of Adapters User Manual

Page 855

background image

Emulex Drivers Version 10.2 for Linux User Manual

P010081-01A Rev. A

3. Configuration

iSCSI Driver Configuration

855

In this command, is the IP address and port number and is the

name of the iface created in step 1.

6. Add the iSCSI driver MAC address:

iscsiadm -m iface -I --op=update -n iface.hwaddress

-v

In this command, is the name of the iface created in step 1.

7. Set the initiator’s IP address:

iscsiadm -m iface -I -o update -n iface.ipaddress -v

In this command, is the name of the iface created in step 1 and is

the IP address.

8. Log into the target:

iscsiadm -m node -T -p -I -l

In this command, is the target name you want to log into;

is the IP address and port number; and is the name of the iface created in

step 1.

9. Verify that the disk shows:

fdisk -l

10. Log out:

iscsiadm -m node -T -p -I -u

In this command, is the target name; is the IP address and

port number; and is the name of the iface created in step 1.

Example

iscsiadm -m iface -o new -I iface0

iscsiadm -m iface -I iface0 --op=update -n iface.hwaddress -v 00:0F:1F:62:2B:BF

iscsiadm -m iface -I iface0 --op=update -n iface.transport_name -v be2iscsi

service open-iscsi restart

iscsiadm -m discovery -t st -p 20.0.0.107:3260 -I iface0 -P 1

iscsiadm -m iface -I iface0 --op=update -n iface.hwaddress -v 00:0F:1F:92:6B:BF

iscsiadm -m iface -I iface0 -o update -n iface.ipaddress -v 20.0.0.107

iscsiadm -m node -T iqn.tgt0 -p 20.0.0.107:3260 -I iface0 -l fdisk -l

iscsiadm -m node -T iqn.tgt0 -p 20.0.0.107:3260 -I iface0 –u

iSNS Discovery Using iscsiadm

iSNS discovery uses a standard NIC interface. The default interface is the

TCP_interface.

localhost:~ # iscsiadm -m iface

default tcp,,,,

iser iser,,,,