Go to main content

Managing SAN Devices and Multipathing in Oracle® Solaris 11.3

Exit Print View

Updated: March 2018
 
 

How to Configure Automatic Failback for Specific Multipathing Support

Asymmetric devices can provide automatic failback to a possible optimal path. If a failover occurs on the initial path, the standby path becomes the new online path. In most cases, the standby path is a suboptimal path. When automatic failback is enabled, the initial path becomes online and failover to the initial path automatically occurs.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Display the supported multipath driver information.
    # mpathadm list mpath-support
    mpath-support: libmpscsi_vhci.so
  3. Enable automatic failback support for the supported multipath driver.
    # mpathadm modify mpath-support -a on libmpscsi_vhci.so
  4. Confirm the configuration change.
    # mpathadm show mpath-support libmpscsi_vhci.so
    mpath-support:  libmpscsi_vhci.so
    	Vendor:  Sun Microsystems
    	Driver Name:  scsi_vhci
    	Default Load Balance:  round-robin
    	Supported Load Balance Types:  
    		round-robin
    		logical-block
    		shortest-path
    	Allows To Activate Target Port Group Access:  yes
    	Allows Path Override:  no
    	Supported Auto Failback Config:  1
    	Auto Failback:  on
    	Failback Polling Rate (current/max):  0/0
    	Supported Auto Probing Config:  0
    	Auto Probing:  NA
    	Probing Polling Rate (current/max):  NA/NA
    	Supported Devices:
    		Vendor:  SUN     
    		Product:  T300            
    		Revision:  
    		Supported Load Balance Types:
    			round-robin
    
    		Vendor:  SUN     
    		Product:  T4              
    		Revision:  
    		Supported Load Balance Types:
    			round-robin
    
    		Vendor:  LSI     
    		Product:  INF-01-00       
    		Revision:  
    		Supported Load Balance Types:
    			round-robin
    
    		Vendor:  NETAPP  
    		Product:  INF-01-00       
    		Revision:  
    		Supported Load Balance Types:
    			round-robin
    
    		Vendor:  ENGENIO 
    		Product:  INF-01-00       
    		Revision:  
    		Supported Load Balance
    .
    .

    Note -  The automatic display initiated by the mpathadm modify command setting is effective while the system is running. However, to keep the changed setting persistent, you must update the /etc/driver/drv/scsi_vhci.conf file. See Configuring Automatic Failback.