Managing SAN Devices and Multipathing in Oracle® Solaris 11.2

Exit Print View

Updated: December 2014
 
 

How to Enable Multipathing

Perform the following steps to enable multipathing on all multipath-capable devices on SPARC or x86 based systems. If you want to enable multipathing only on specific FC or SAS HBA ports, refer to Enabling or Disabling Multipathing on a Per-Port Basis.

The multipathing software automatically recognizes Oracle‐supported devices. If you want to enable multipathing on third-party devices, copy the /kernel/drv/scsi_vhci.conf file to /etc/driver/drv and add entries as described by Device Name Change Considerations in Multipathing Considerations.

  1. Become an administrator.
  2. Confirm that the multipathing software package is installed.
    # pkg info system/storage/multipath-utilities
              Name: system/storage/multipath-utilities
           Summary: Solaris Multipathing CLI
       Description: Path Administration Utility for a Solaris Multipathing device
          Category: Applications/System Utilities
             State: Installed
         Publisher: solaris
           Version: 0.5.11
     Build Release: 5.11
            Branch: 0.175.0.0.0.0.0
    Packaging Date: Tue Sep 27 01:40:01 2011
              Size: 77.29 kB
              FMRI: pkg://solaris/system/storage/multipath-utilities@
    0.5.11,5.11-0.175.0.0.0.0.0:20110927T014001Z

    If not, install it.

    # pkg install system/storage/multipath-utilities
  3. Enable device multipathing.
    # stmsboot -e
    WARNING: stmsboot operates on each supported multipath-capable controller
             	detected in a host. In your system, these controllers are
    
    	/devices/pci@780/pci@0/pci@8/SUNW,qlc@0/fp@0,0
    	/devices/pci@780/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0
    	/devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1
    	/devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1
    	/devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2
    	/devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0
    	/devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0
    
    	If you do NOT wish to operate on these controllers, please quit stmsboot
    	and re-invoke with -D { fp | mpt } to specify which controllers you wish
    	to modify your multipathing configuration for.
    
    	Do you wish to continue? [y/n] (default: y) y
    	Checking mpxio status for driver fp
    	Checking mpxio status for driver mpt
    	WARNING: This operation will require a reboot.
    	Do you want to continue ? [y/n] (default: y) y
    	The changes will come into effect after rebooting the system.
    	Reboot the system now ? [y/n] (default: y) y

    Note - During the reboot, /etc/vfstab and the dump configuration are updated to reflect the device name changes.
  4. (Optional)After the reboot, if necessary, configure your applications to use new device names as described by Device Name Change Considerations in Multipathing Considerations.