If you want to configure more that one Linux host Ethernet
port for iSCSI, methods are available to improve routing and maintain
optimal redundance in cases of dynamic discovery.
You can use one of the following two methods:
- Configure different subnet IP addresses for the host ports and
the Lenovo Storage V7000 ports.
Each target IP of a Lenovo Storage V7000 node
is accessible only from one host IP of the corresponding subnet. As
a result, pairs of host and Lenovo Storage V7000 ports
are in separate subnets.
- In the /etc/iscsi/ifaces subdirectory,
create a separate iface configuration file for each network
object that you want to bind a session to. Each iface config file
must have a unique name that is less than or equal to 64 characters.
The following iface example
shows a simple case with two network devices (eth0 and eth1):
- Edit the /etc/iscsi/ifaces/eth0 file
to specify the iface.net_ifacename:
iface.net_ifacename = eth0
- Similarly, edit the /etc/iscsi/ifaces/eth1 file:
iface.net_ifacename = eth1