[dm-devel] about multipath path group

杨伟 csynineyang at gmail.com
Tue Aug 4 10:08:49 UTC 2009


Thanks very much! your comments is helpful to me


2009/8/4 Benjamin Marzinski <bmarzins at redhat.com>

> On Wed, Jul 22, 2009 at 02:49:39PM +0800, 杨伟 wrote:
> >    Dear all:
> >
> >    Q1: In RHEL 5.2, make and make install multipath-tools-0.4.8, why does
> not
> >    command "multipath -p" work well?
>
> Are you using the upstream or the RHEL code.  multipath -p does work in
> the RHEL code, although, if you run multipath again, or reconfigure
> multipathd, it will notice that your devices aren't set up the way the
> config says they should be, and it will change them back.  In general,
> multipath -p is pretty worthless, you should change the configuration to
> use the path grouping policy you want.
>
> >
> >    Q2: In RHEL 5.2, configure path group policy as failover or
> group_by_prio,
> >    and then create path-prio.sh to set the priority of paths. however,
> the
> >    path group with the highest priority is not always active, if I don't
> >    recreate the multipath devices. why is that? how I make the path group
> >    with the highest priority is active on-line?
>
> By default, multipath is configured for manual failback.  This means
> that multipathd won't switch from the current active pathgroup to a
> higher priority one, unless you manually force it to do so. The
> easiest way to do this is by running
>
> # service multipathd reload  or
> # multipathd -k"reconfigure"
>
> adding
>
> defaults {
>        <other_defaults>
>        failback immediate
> }
>
> to /etc/multipath.conf will make multipath immdiately switch to the
> highest priority path group.
>
> -Ben
>
> >
> >    William
>
> > --
> > dm-devel mailing list
> > dm-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/dm-devel
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20090804/feb6bb33/attachment.htm>


More information about the dm-devel mailing list