Owner's Manual
Setting Up an iSCSI Cluster 57
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
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-90ee59d02-e26f999767b4942e-mdi-ocr
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-93ee59d02-674f999767d4942e-mdi-data1
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-93ee59d02-674f999767d4942e-mdi-data1
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-95ce59d02-2e0f999767f4942e-mdi-data2
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-95ce59d02-2e0f999767f4942e-mdi-data2
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-97be59d02-d7ef99976814942e-mdi-fra1
10.16.7.100:3260,1 iqn.2001-05.com.equallogic:0-
8a0906-97be59d02-d7ef99976814942e-mdi-fra1
11
Verify all volumes are discovered from all the
ifaces
on the host:
iscsiadm -m discovery --print=1
For example:
# iscsiadm -m discovery --print=1
SENDTARGETS:
DiscoveryAddress: 10.16.7.100,3260
Target: iqn.2001-05.com.equallogic:0-8a0906-
90ee59d02-e26f999767b4942e-mdi-ocr
Portal: 10.16.7.100:3260,1
Iface Name: eth0-iface
Lnx_Stnwt.book Page 57 Wednesday, August 4, 2010 11:58 AM