JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris SAN Configuration and Multipathing Guide     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information

Preface

1.  Solaris I/0 Multipathing Overview

2.  Configuring Solaris I/O Multipathing Features

Configuring Multipathing I/O Features

Multipathing Considerations

Enabling and Disabling Multipathing

How to Enable Multipathing

How to Disable Multipathing

How to Determine if Multipathing is Enabled or Disabled

Enabling or Disabling Multipathing on a Per-Port Basis

Port Configuration Considerations

How to Configure Multipathing by Port

Configuring Third-Party Storage Devices

Third-Party Device Configuration Considerations

Configuring Third-Party Storage Devices: New Devices

How to Configure Third-Party Devices

Configuring Third-Party Storage Devices: Disabling Devices

How to Disable Third-Party Devices

Displaying Device Name Changes

Configuring Automatic Failback

How to Configure Automatic Failback

Administering Solaris I/O Multipathing

Displaying Multipathing Support Information

How to Display Multipathing Support Information

How to Display Properties of a Specific Initiator Port

How to Display Specific LU Information

How to Display All LUs Associated With a Specific Target Port

How to Display a LU With a Specific Name

Configuring Automatic Failback for Multipathing Support

How to Configure Automatic Failback for Specific Multipathing Support

How to Fail Over a LU

How to Enable a LU Path

How to Disable a LU Path

3.  Configuring Fabric-Connected Devices

4.  Configuring Oracle Solaris iSCSI Initiators

5.  Configuring SAS Domains

6.  Configuring IPFC SAN Devices

7.  Booting the Oracle Solaris OS From Fibre Channel Devices on x86 Based Systems

8.  Persistent Binding for Tape Devices

A.  Manual Configuration for Fabric-Connected Devices

B.  Supported FC-HBA API

C.  Troubleshooting Multipathing-Related Problems

Index

Enabling or Disabling Multipathing on a Per-Port Basis

Multipathing can be enabled or disabled on specific Fibre Channel Host Bus Adapter (HBA) controller ports. If you enable multipathing on a specific HBA port controller port, all supported devices connected to that controller port will be enabled for multipath operation.

Port Configuration Considerations

Before you start configuring the software by port, consider the following:

How to Configure Multipathing by Port

The following procedure applies to both SPARC based and x86 based systems.

Depending on how many ports you want the multipathing software to control, you can enable or disable multipathing globally or for specified ports.

  1. Become superuser.
  2. Determine the HBA controller ports that you want the multipathing software to control.

    To list the available devices, perform an ls -l command on the /dev/cfg directory. The following example shows the ls -l command output.

    # ls -llrwxrwxrwx  1 root  root  50 Jan 29 21:33 c0 -> 
         ../../devices/pci@7c0/pci@0/pci@1/pci@0/ide@8:scsi
    lrwxrwxrwx  1 root  root  61 Jan 29 21:33 c1 ->
         ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1:scsi
    lrwxrwxrwx  1 root  root  61 Jan 29 21:33 c2 -> 
         ../../devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2:scsi
    lrwxrwxrwx  1 root  root  53 Jan 29 21:33 c3 -> 
         ../../devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0:scsi
    lrwxrwxrwx  1 root  root  54 Apr 16 20:28 c5 ->
         ../../devices/pci@780/pci@0/pci@8/SUNW,qlc@0/fp@0,0:fc
    lrwxrwxrwx  1 root  root  56 Apr 16 20:28 c6 -> 
         ../../devices/pci@780/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:fc

    Note - Controllers c5 and c6 are ports A and B on a dual-port FC HBA. Controllers c1 and c3 are single port SAS HBA ports. Controller c2 is the internal SAS controller in Oracle's Sun Fire T2000 server.


    Determine the port or ports for which you want to explicitly enable or disable multipathing.

  3. Select one of the following to enable or disable specific FC HBA ports:
    • For each FC HBA port that is to be enabled in the /kernel/drv/fp.conf file, add the following line:

      name="fp" parent="parent-name" port=port-number mpxio-disable="no";

      where parent-name is the port device name, and port-number is the FC HBA port number.

      For example, the following entries disable multipathing on all FC HBA controller ports except for the two specified ports:

      mpxio-disable="yes";
      name="fp" parent="/pci@6,2000/SUNW,qlc@2" port=0 mpxio-disable="no";
      name="fp" parent="/pci@13,2000/pci@2/SUNW,qlc@5" port=0 mpxio-disable="no";
    • For each FC HBA port that is to be disabled, add the following line:

      name="fp" parent="parent-name" port=port-number mpxio-disable="yes";

      For example:

      name="fp" parent="/pci@6,2000/SUNW,qlc@2" port=0 mpxio-disable="yes";
  4. Start the reboot and configuration process.
    # stmsboot -u

    You are prompted to reboot. During the reboot, the /etc/vfstab file and your dump device configuration are updated to reflect any device name changes.

  5. (Optional) After the reboot, if necessary, configure your applications to use new device names as described in Multipathing Considerations.