Você está na página 1de 3

Multiple Path I/O

Page 1 of 3

AIX 7.1 information > System management > Operating system and device management > Device management

Multiple Path I/O


With Multiple Path I/O (MPIO), a device can be uniquely detected through one or more physical connections, or paths. A path-control module (PCM) provides the path management functions. An MPIO-capable device driver can control more than one type of target device. A PCM can support one or more specific devices. Therefore, one device driver can be interfaced to multiple PCMs that control the I/O across the paths to each of the target devices. Figure 1. MPIO Component Interaction. This illustration shows the interaction between the different components that make up the MPIO solution. In this figure, the MPIO device driver controls multiple types of target devices, each requiring a different PCM. (KE=Kernel Extension, RTL=Run-time Loadable).

Before a device can take advantage of MPIO, the device's driver, methods, and predefined attributes in the Object Data Manager (ODM) must be modified to support detection, configuration, and management of multiple paths. The parallel SCSI and Fibre Channel disk device drivers and their device methods support MPIO disk devices. Beginning with AIX 5L Version 5.2 with the 5200-04 Recommended Maintenance package, iSCSI disk devices are supported as MPIO devices. Beginning with AIX 5.3, the Fibre Channel tape device driver and its device methods have been modified to support MPIO tape devices. Also, the predefined attributes for some devices in the ODM have been modified for MPIO.

http://publib.boulder.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.baseadmn/doc/basea... 01/24/2011

Multiple Path I/O

Page 2 of 3

The AIX PCM consists of: the PCM RTL configuration module and the PCM KE kernel extension. The PCM RTL is a run-time loadable module that enables the device methods to detect additional PCM KE device-specific or path ODM attributes that the PCM KE requires. The PCM RTL is loaded by a device method. One or more routines within the PCM RTL are then accessed to perform specific operations that initialize or modify PM KE variables. The PCM KE supplies path-control management capabilities to any device driver that supports the MPIO interface. The PCM KE depends on device configuration to detect paths and communicate that information to the device driver. Each MPIO-capable device driver adds the paths to a device from its immediate parent or parents. The maintenance and scheduling of I/O across different paths is provided by the PCM KE and is not apparent to the MPIO-capable device driver. The PCM KE can provide more than one routing algorithm, which can be selected by the user. The PCM KE also helps collect information that can be used to determine and select the best path for any I/O request. The PCM KE can select the best path based on a variety of criteria, including load balancing, connection speed, connection failure, and so on. The AIX PCM has a health-check capability that can be used to do the following: Check the paths and determine which paths are currently usable for sending I/O Enable a path that was previously marked failed because of a temporary path fault (for example, when a cable to a device was removed and then reconnected) Check currently unused paths that would be used if a failover occurred (for example, when the algorithm attribute value is failover, the health check can test the alternate paths) Not all disk devices and tape devices can be detected and configured using the AIX default PCMs. The AIX default PCMs consist of two path control modules, one to manage disk devices and another to mange tape devices. If your device is not detected, check with the device vendor to determine if a PCM is available for your device. MPIO-capable device management The Multiple Path I/O (MPIO) feature can be used to define alternate paths to a device for failover purposes. Configuring a MPIO device Configuring an MPIO-capable device uses the same commands as a non-MPIO device. Supported multi-path devices The AIX default PCMs support a set of disk devices and tape devices defined in the devices.common.IBM.mpio.rte fileset. MPIO device attributes The following attributes are supported only by multi-path devices. The attributes can be displayed or changed using the Web-based System Manager, SMIT, or commands (in particular, the lsattr and the chdev commands). Path control module attributes In addition to the default AIX default path control modules (PCMs), a device-specific PCM might be supplied by a device vendor. The set of user changeable attributes is defined by the device vendor. A device-specific PCM can have device and path attributes. Communications adapter removal Before you can remove or replace a hot-plug adapter, you must unconfigure that adapter.

http://publib.boulder.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.baseadmn/doc/basea... 01/24/2011

Multiple Path I/O

Page 3 of 3

Unconfiguring storage adapters Before you can remove or replace a storage adapter, you must unconfigure that adapter. Unconfiguring async adapters You can unconfigure an async adapter. Troubleshooting I/O devices You can determine the cause of device problems. Parent topic: Device management Related reference Attributes for other SCSI tapes (type ost) [ Feedback ]

http://publib.boulder.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.baseadmn/doc/basea... 01/24/2011

Você também pode gostar