Page 2 - Dell Inc; Setting up iSCSI Multipath in Ubuntu Server 12.04; are trademarks of Dell Inc
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 2 THIS WHITE PAPER IS FOR INFORMATIONAL PURPOSES ONLY, AND MAY CONTAIN TYPOGRAPHICAL ERRORS AND TECHNICAL INACCURACIES. THE CONTENT IS PROVIDED AS IS, WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND. © 2013 Dell Inc. All rights reserved. R...
Page 3 - Contents
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 3 Contents 1. Introduction ........................................................................................................................................ 4 1.1 Purpose of this document .................................................
Page 4 - Introduction; Purpose of this document; LUN: iSCSI storage target on the storage array.; Requirements
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 4 1. Introduction 1.1 Purpose of this document This whitepaper describes how to setup and configure iSCSI Multipathing in Ubuntu Server 12.04 using a Dell PowerEdge server and Dell EqualLogic storage. I don’t make recommendations or evaluate...
Page 5 - Network Topology
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 5 2.2 Network Topology The ideal network configuration in a multipath environment is to connect each network port on your server to a different subnet. That way, you have additional resilience in case one of your subnets goes down (i.e. bad ...
Page 6 - Network Configuration; Interface
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 6 2.3 Network Configuration For simplicity purposes, I used the network topology shown in Figure 2 with only one subnet. I have a Class C network (192.168.1.0/24) and I used the following IP addresses: Interface Interface name IP address Ser...
Page 7 - Setting up iSCSI connections; Install required packages:
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 7 # sysctl -p 3. Setting up iSCSI connections Before we setup multipathing, we must first establish the iSCSI connection to the LUN. In order to walk you through the iSCSI configuration process, we will illustrate with an example using the s...
Page 8 - You can leave the initiator, IP address and HW address fields empty.; successful; Verify the iSCSI connections:
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 8 # iscsiadm -m iface -I eth0 # BEGIN RECORD 2.0-871 iface.iscsi_ifacename = eth0 iface.net_ifacename = eth0 iface.ipaddress = <empty> iface.hwaddress = <empty> iface.transport_name = tcp iface.initiatorname = <empty> # END...
Page 9 - Persistent Portal:; blue; here
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 9 Target: iqn.2001-05.com.equallogic:8-cb2b76-05afa6b6d-7f2f3e9dc2d52096-dm-ubuntu Current Portal: 192.168.1.101 :3260,1 Persistent Portal: 192.168.1.100 :3260,1 ********** Interface: ********** Iface Name: eth0 Iface Transport: tcp Iface In...
Page 10 - Setting up Multipath; Install required package; path_checker readsector0
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 10 * Stopping iSCSI initiator service [ OK ] * Starting iSCSI initiator service iscsid [ OK ] * Setting up iSCSI targets [ OK ] # iscsiadm –m session tcp: [1] 192.168.1.100:3260,1 iqn.2001-05.com.equallogic:8-cb2b76-05afa6b6d-7f2f3e9dc2d5209...
Page 11 - # alias here can be anything descriptive for your LUN; alias mylun; . As you can see, there are 2 paths going to
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 11 wwid 360024e80551ed500160e317e08963b8b } multipaths { multipath { wwid 368b7b2dcb6a6af059620d5c29d3e2f7f # alias here can be anything descriptive for your LUN alias mylun } } To get the WWID of a storage device to either blacklist (i.e. l...
Page 12 - . This parameter tells the operating system that; Testing path failover
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 12 node.session.timeo.replacement_timeout = 120 Update value: # iscsiadm -m node -T iqn.2001-05.com.equallogic:8-cb2b76-05afa6b6d-7f2f3e9dc2d52096-dm-ubuntu -o update -n node.session.timeo.replacement_timeout -v 10 Display new value: # iscsi...
Page 13 - Conclusion; and the ISCSI timeout
Dell Inc Setting up iSCSI Multipath in Ubuntu Server 12.04 13 2. Run the script and then simulate a network port failure by unplugging the cable from either one of the network ports. After 5 seconds, you will see an error message on the screen (and in /var/log/syslog ) from the iSCSI subsystem that ...