Owner's Manual

42 iSCSI Cluster Setup for EqualLogic Storage Systems
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
9
Discover the targets from all
ifaces
created in step 5.
iscsiadm -m discovery -t st -p group_ip_address --
interface=iface_name1 --interface=iface_name2 --
interface=iface_name3 --interface=iface_name4
,
where,
group_ip_address
is the IP address of the EqualLogic storage
group,
iface_name1
,
iface_name2
,
iface_name3
,
iface_name4
, etc, are the
network interfaces (as defined in step 5) on the host that is used for iSCSI
traffic.
Lnx_Stnwt.book Page 42 Jeudi, 16. juillet 2009 1:36 13