Disabling MPIO

The Multiple Path I/O (MPIO) feature was introduced in AIX 5.2 to manage disks and LUNs with multiple paths. By default, MPIO is enabled on all disks and LUNs that have this capability, which prevents DMP or other third-party multi-pathing drivers (such as EMC PowerPath) from managing the paths to such devices.

To allow DMP or a third-party multi-pathing driver to manage multi-pathing instead of MPIO, you must install suitable Object Data Manager (ODM) definitions for the devices on the host. Without these ODM definitions, MPIO consolidates the paths, and DMP can only see a single path to a given device.

There are several reasons why you might want to configure DMP to manage multi-pathing instead of MPIO:

Use the following procedure to configure DMP in place of MPIO.

To disable MPIO

  1. Obtain the required ODM definitions.

    Contact the array vendor to obtain ODM definitions for the array type and the version of AIX on your system. The ODM definition should permit either DMP or the array vendor's multi-pathing driver to discover the devices in the supported array.

    Some array vendors do not distribute ODM pre-definitions for their arrays for AIX. In this case, you can use the devices as hdisk devices, as long as MPIO does not claim these LUNs.

  2. Unmount any file systems and stop all applications such as databases that are configured on VxVM volumes.
  3. Stop all I/O to the VxVM volumes by entering the following command for each disk group:
    # vxvol -g diskgroup stopall
  4. Use the vxprint command to verify that no volumes remain open:
    # vxprint -Aht -e v_open
  5. Deport each disk group in turn:
    # vxdg deport diskgroup
  6. Use the following command to remove each hdisk device that MPIO has configured to the arrays:
    # rmdev -dl hdisk_device

    Alternatively, use the smitty rmdev command.

  7. Use the installp command to install the replacement ODM filesets:
    # installp -agXd ODM_fileset ...

    Alternately, you can use the smitty installp command.

  8. Reboot the system so that the new ODM definitions are used to perform device discovery.
  9. Use the vxdmpadm command to check that DMP now has access to all the paths to the devices. The following command displays a list of HBA controllers that are configured on a system:
    # vxdmpadm listctlr all

    The next command displays information about all the paths that are connected to a particular HBA controller:

    # vxdmpadm getsubpaths ctlr=controller_name

    For example to display the paths that are connected to the fscsi2 controller:

    # vxdmpadm getsubpaths ctlr=fscsi2