Owner's Manual

52 Setting Up an iSCSI Cluster
4
Obtain the hardware address of each network interface on the host used
for iSCSI traffic.
grep -i hwaddr /etc/sysconfig/network-
scripts/ifcfg-eth
n
,
where
n
is the network interface number.
5
Create an interface for each network interface on the host used for
iSCSI traffic.
iscsiadm -m iface -I iface_name --op=new,
where,
iface_name
is the name assigned to the interface.
iscsiadm -m iface -I iface_name --op=update -n
iface.hwaddress -v hardware_address
where
, 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 whose hardware address is
00:18:8B:4E:E6:CC
:
# iscsiadm -m iface -I eth0-iface --op=new
The new interface
eth0-iface
is 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 the 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
where,
username
is the CHAP username defined in the EqualLogic
storage, and
password
is the CHAP password defined in the EqualLogic
storage.
8
Restart the iSCSI service for the new configuration to take effect.
service iscsi stop
service iscsi start