![background image](http://html1.mh-extra.com/html/ibm/totalstorage-ds300/totalstorage-ds300_best-practices-manual_3462750440.webp)
422
IBM TotalStorage DS300 and DS400 Best Practices Guide
device-mapper (in our setup we use device-mapper-1.01.01-1.2, which is
shipped with SP2 - check for the current version)
multipath-tools (in our setup we use multipath-tools-0.4.4-0.22, which is
shipped with SP2 - check for the current version)
To get a working DM MPIO configuration for linux-iscsi, the configuration file
/etc/iscsi.conf needs additional parameters as shown in Example 7-7. Again, the
shown configuration can be used to ensure that the setup works, but should not
be used for production use as it lacks any security configuration.
Example 7-7 initial /etc/iscsi.conf for multipath IO
DiscoveryAddress=192.168.1.61
Multipath=portal
ConnFailTimeout=10
With Multipath=portal, linux-iscsi establishes iSCSI sessions to the target using
each of the network portals in the target. Each session is bound to a different
SCSI address in /proc/scsi/scsi. This will lead to two block devices (sdb and sdc)
for the single logical drive in our example.
ConnFailTimeout=10 is necessary to fail SCSI commands after 10 Seconds. The
value depends on your needs and on your network setup. The default value for
ConnFailTimeout is 0, which means no timeout. The timeout is necessary to
notify device mapper about a failed path.
When starting linux-iscsi with this configuration, the log information changes
compared to the single path IO configuration as shown in Figure 7-308 on
page 423.
Important:
ConnFailTimeout=10 ensures a quick failover in case a network
path from the server to the switch fails. If a controller failover in the DS300
happens, ConnFailTimeout=10 will lead to both paths failing as the controller
failover takes longer than 10 seconds (see 3.3.5, “DS300 failover” on
page 41). In this example we handle this with the queue_if_no_path setting in
/etc/multipath.conf.
Summary of Contents for TotalStorage DS300
Page 2: ......
Page 20: ...2 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 28: ...10 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 226: ...208 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 228: ...210 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 240: ...222 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 450: ...432 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 581: ...Copyright IBM Corp 2006 All rights reserved 563 Part 4 Appendixes Part 4...
Page 582: ...564 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 638: ...620 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 640: ...622 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 648: ...630 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 664: ...646 IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 677: ...1 0 spine 0 875 1 498 460 788 pages IBM TotalStorage DS300 and DS400 Best Practices Guide...
Page 678: ......
Page 679: ......