Owner's Manual
36 iSCSI Cluster Setup for EqualLogic Storage Systems
# 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.
For example, the following command discovers four volumes at group
IP address
10.16.7.100
, from a host with two interfaces named as
eth0-iface
and
eth1-iface
:
# iscsiadm -m discovery -t st -p 10.16.7.100 --
interface=eth0-iface --interface=eth1-iface
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-90ee59d02-e26f999767b4942e-mdi-ocr-css-
spfile
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-90ee59d02-e26f999767b4942e-mdi-ocr-css-
spfile