Owner's Manual
23
4
Obtain hardware address of each network interface on the host that will be
used for iSCSI traffic.
grep -i hwaddr /etc/sysconfig/network-scripts/
ifcfg-ethn
n
is the network interface number
5
Create an interface for each network interface on the host that will be used for
iSCSI traffic.
iscsiadm -m iface -I iface_name --op=new
iface_name
is the name assigned to the interface
iscsiadm -m iface -I iface_name --op=update -n
iface.hwaddress -v hardware_address
hardware_address
is the hardware address of the interface obtained in
step 4
For example, the following commands create an interface named eth0-iface
for the eth0 interface which hardware address is 00:18:8B:4E:E6:CC.
# iscsiadm -m iface -I eth0-iface --op=new
New interface eth0-iface added
# iscsiadm -m iface -I eth0-iface --op=update -n
iface.hwaddress -v 00:18:8B:4E:E6:CC
eth0-iface updated
6
Verify the interfaces are created and associated properly.
iscsiadm -m iface
7
Modify CHAP information in /etc/iscsi/iscsid.conf on the host.
node.session.auth.username = username
node.session.auth.password = password
discovery.sendtargets.auth.username = username
discovery.sendtargets.auth.password = password
username
is the CHAP username defined in the EqualLogic storage
password
is the CHAP password defined in the EqualLogic storage