Beruflich Dokumente
Kultur Dokumente
Version 1 Date: 9th Sep 2010 Juan Li (ljuan@cn.ibm.com) IBM China Systems & Technology Lab
Page 1 of 15
Page 2 of 15
Trademarks
IBMDS4000, AVT, ADT, and RDAC are trademarks of International Business Machines Corporation in the United Stated, other countries, or both. Other company, product or service names may be trademarks or service marks of others.
Acknowledgements
My thanks to the following colleagues for their significant contribution to this White Paper: Jing Zhou, Manager, IBM Open Systems Lab, China Feng Xiao, IBM Open Systems Lab, China
Page 3 of 15
Table of Contents
1. 2. 3. 4. Introduction ........................................................................................................................ 5 Logical drives and controller ownership............................................................................. 5 Overview of AVT and RDAC .............................................................................................. 7 AVT or non-AVT mode works with RDAC .......................................................................... 8 4.1. 4.2. 4.3. 5. AVT enabled failover with RDAC................................................................................ 8 AVT disabled failover with RDAC ............................................................................... 9 How to enable and disable AVT ................................................................................11
Possible performance degradation with or without AVT .................................................. 12 5.1. 5.2. 5.3. 5.4. Multi-path driver and AVT enabled ........................................................................... 12 Multi-path driver and AVT disabled........................................................................... 13 No multi-path driver with AVT enabled ..................................................................... 14 SAN boot limitations between RDAC and AVT ........................................................ 14
Reference ................................................................................................................................ 15
Page 4 of 15
1. Introduction
The IBM System Storage DS4000 Series are IBMs solution for mid-range or departmental storage requirements. In a DS4000 storage subsystem equipped with two controllers, you can provide redundant I/O paths between the host systems and the storage. There are two different components that provide redundancy in the I/O data paths: the Auto Volume Transfer (AVT) feature of the storage subsystem and a host multi-path driver, for example, Redundant Disk Array Controller (RDAC). This paper is to provide an overview of AVT and RDAC, and introduce how AVT works with RDAC depending on your configuration. It also intends to illustrate several possible path thrashing situations with the AVT mode or not.
Page 5 of 15
system level to make sure that traffic is correctly balanced among controllers. Balancing traffic is unfortunately not always a trivial task. For example, if an application requires large disk space to be located and accessed in one chunk, it becomes harder to balance traffic by spreading the smaller volumes among controllers. In addition, typically, the load across controllers and logical drives are constantly changing. The logical drives and data accessed at any given time depend on which applications and users are active during that time period, hence the importance of monitoring the system.
Figure 2-1 Change preferred controller ownership for an array Figure 2-2 shows how to change the preferred controller ownership for a selected logical drive.
Page 6 of 15
Considerations
If the preferred controller is undergoing a firmware download, ownership of the logical drives is automatically shifted to the other controller, and that controller becomes the current owner of the logical drives. If the preferred controller must be replaced, disable the controller first. This intentionally causes a failover of LUNs to the other controller and allows the removal and replacement of the preferred controller. This is considered a routine ownership change and is reported with an informational entry in the event log. Besides, a secondary logical drive in a Remote Mirror does not have a preferred owner. Instead, the ownership of the secondary logical drive is determined by the controller owner of the associated primary logical drive. For example, if controller A owns the primary logical drive in the primary storage system, then controller A owns the associated secondary logical drive in the secondary storage system. Controller ownership changes of the primary logical drive cause a corresponding controller ownership change of the secondary logical drive.
Page 7 of 15
path failure, RDAC will provide redundant I/O paths and reroute the I/O requests through another RAID controller. The host-add part of RDAC allows you to register new logical drives to the operating system dynamically. Some operating systems do not use RDAC as they have their own multi-path drivers.
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-1 Application running I/Os against LUN 0 through preferred controller (A), and failover driver hides the two physical paths to LUNs.
Page 8 of 15
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-2 Port 0 receives a path failure, and error is passed on to the failover driver
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-3 Failover driver transfers the LUN 0 ownership to the alternate controller (B), and use the controller (B) for any retired or new I/Os
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-4 Failback LUN 0 to the preferred controller (A) after the path failure corrected
Page 9 of 15
Ensure that all attached hosts have a multi-path driver installed in this situation, because all logical drives will be moved to the other controller. This also includes logical drives from other host groups with different mappings in the storage partitioning. After the I/O data path problem is corrected, the preferred controller does not automatically reestablish ownership of the logical drive. In AVT-disabled mode, you are required to issue a redistribution command manually to balance the LUNs across the controllers. Figure 4-5, 4-6, 4-7 and 4-8 show the AVT-disabled failover mode phases with RDAC.
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-5 Application running I/Os against LUN 0 through preferred controller (A), and failover driver hides the two physical paths to LUNs
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-6 Port 0 receives a path failure, and error is passed on to the RDAC
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-7 RDAC transfers all logical drives to the alternate controller (B) to continue I/Os
Page 10 of 15
Application
P0 X
Controller A
DS4000
P1 Controller B 0 1 2 3
Host/Server
Figure 4-8 The preferred controller does not automatically reestablish ownership of the logical drive after path failure corrected
Page 11 of 15
// For Controller A show " "; show " Displayed old setting and then enable AVT in controller A"; show controller [a] HostNVSRAMBYTE [z,0x24]; set controller [a] HostNVSRAMBYTE [z,0x24]=0x01; // 0x01 is to enable AVT; 0x00 is to disable AVT // Now for Controller B show " "; show " Displayed old setting and then enable AVT in controller B"; show controller [b] HostNVSRAMBYTE [z,0x24]; set controller [b] HostNVSRAMBYTE [z,0x24]=0x01; // 0x01 is to enable AVT; 0x00 is to disable AVT // Verify the settings show " "; show " Displayed new setting for controllers A and B"; show controller [a] HostNVSRAMBYTE [z,0x24]; show controller [b] HostNVSRAMBYTE [z,0x24]; // // For fw 5.3x.xx.xx and later, you can reset the // controller using these two script commands. Otherwise, you // must manually reset the controller. // show " "; show "reset controllers A and B"; reset Controller [a]; reset Controller [b];
Page 12 of 15
ownership of the LUN to move between controllers, effectively ping-pong the ownership of the LUN. Because the system moves the ownership quickly, the storage array cannot process any I/O. As a result, the LUN is never actually available. The performance will decrease significantly, you may want to disable AVT. Figure 5-1 illustrates one example, host A and host B, both with redundant paths, concurrently access to the same logical drive. If only host B has a path failure in the blue path, AVT will move the logical drive from the preferred to the alternate controller (red path). Host A continues to send I/O requests to the logical drive through the preferred path (blue) unaware of the path problems of host B. The ownership of the LUN will transfer to the preferred controller then to alternate controller repeatedly, which will degrade the performance of the storage subsystem.
Figure 5-1 LUN thrashing with MPIO and AVT In a cluster environment you often have disks that are accessible by different hosts at the same time. It now depends on the architecture of the cluster if this situation can be accepted or not. In a cluster environment you may disable the AVT feature to ensure proper handling of the logical drives even in the case of a path failure depending on the cluster in use.
Page 13 of 15
But if a host system without RDAC but with its own multi-path I/O driver has a path failure, the DS4000 storage would not move the logical drives to the other controller as AVT is disabled. And the host cannot issue a failover of the logical drives as no RDAC is installed. The consequence is that the host loses connection to its logical drives. Be sure that the operating systems are using RDAC when you disable AVT. Otherwise, it loses access to the logical drive, since other systems will not failover properly as their multi-path I/O driver is based on AVT.
Page 14 of 15
Reference
Fibre Array Storage Technology A FAStT Introduction http://www.redbooks.ibm.com/redbooks/pdfs/sg246246.pdf IBM System Storage DS4000 Storage Manager - Installation and support Guide for Windows 2000/Server 2003, NetWare, Esx Server, and Linux. http://ps-2.kev009.com:8081/DS4xxx/Docs/gc26784703.pdf
Page 15 of 15