[dm-devel] Round Robin vs Active/Passive

Tore Anderson tore at linpro.no
Thu May 22 11:57:10 UTC 2008


* Domenico Viggiani

> Sorry for question: is this how new ALUA mode works for EMC Clariion
> CX arrays?

Yes, that's right.  Except for the fact that mpath_prio_emc will
correctly detect the preferred controller, while mpath_prio_hds_modular
only checks even/odd LUNs.

> Are default settings suitable for this new failover mode?

You don't have to use the EMC specific hardware handler or path checker
any longer.  This is what I use for my CX3:

        device {
                vendor                  DGC
                product                 *
                product_blacklist       LUNZ
                path_grouping_policy    group_by_prio
                path_checker            tur
                no_path_retry           queue
                prio_callout            "/sbin/mpath_prio_emc /dev/%n"
                failback                immediate
        }

Note that the host is no longer able to explicitly trespass the volume
between controllers.  I actually see that as an advantage, especially in
cluster environments.  If the host wants to change controllers it can
simply do so and wait for the CX to implicitly trespass the volume (due
to the I/O coming mostly to the passive controller).  This works very
well, and I consider it a huge improvement over the old
Passive-Not-Ready mode you had to use earlier (hwhandler "emc").

Note that there's also a new ALUA-specific hardware handler available
now.  I never tried it, so I can't tell how it differs from my setup.

Regards,
-- 
Tore Anderson




More information about the dm-devel mailing list