Owner's Manual

iSCSI Cluster Setup for EqualLogic Storage Systems 49
Configuring Host Access to Volumes
This section details the steps to configure the host access to iSCSI volumes
using the iscsiadm tool. The iscsiadm tool is the open-iSCSI administration
utility.
1
Log in to the system as
root
user. Verify the open-iSCSI initiator software
is installed on all host systems:
rpm -qa|grep -i iscsi-initiator
If the open-iSCSI initiator RPM is installed, the following output is
displayed:
iscsi-initiator-utils-6.2.0.868-0.7.el5
If the output is not displayed, install the open-iSCSI initiator RPM.
2
Start up the iSCSI service.
service iscsi start
3
Enable the iSCSI service start-up at boot time.
chkconfig --add iscsi
chkconfig iscsi on
chkconfig --list iscsi
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.