Solaris Express SAN Configuration and Multipathing Guide

Configuring Automatic Failback

Some storage devices have controllers configured as PRIMARY and SECONDARY as part of the array configuration. The secondary paths may operate at a lower performance level than the primary paths. The multipathing software uses the primary path to talk to the storage device and keeps the secondary path on standby. In the event of a primary path failure, the multipathing software automatically directs all I/O traffic over the secondary path, with the primary path taken offline. This process is called a “failover” operation. When the failure associated with the primary path has been repaired, the multipathing software automatically directs all I/O traffic over the primary path and keeps the secondary path standby as before. This process is called a “failback” operation.

You can disable the automatic failback operation so the multipathing software does not automatically failback to the primary path. Later, after the failure associated with the primary path has been repaired, you can do a manual failback operation using the luxadm(1M) command.

ProcedureTo Configure Automatic Failback

  1. Open the /kernel/drv/scsi_vhci.conf file in a text editor.

  2. To disable automatic failback capability, change the auto-failback entry to:


    auto-failback="disable";
    

    To enable automatic failback capability (if you disabled it before), change the auto-failback entry to:


    auto-failback="enable";
    
  3. Save and exit the file.

  4. Reboot the system.


    # shutdown -g0 -y -i6