<br>Thanks very much! your comments is helpful to me<br><br><br><div class="gmail_quote">2009/8/4 Benjamin Marzinski <span dir="ltr"><<a href="mailto:bmarzins@redhat.com">bmarzins@redhat.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Jul 22, 2009 at 02:49:39PM +0800, Ñîΰ wrote:<br>
>    Dear all:<br>
><br>
>    Q1: In RHEL 5.2, make and make install multipath-tools-0.4.8, why does not<br>
>    command "multipath -p" work well?<br>
<br>
</div>Are you using the upstream or the RHEL code.  multipath -p does work in<br>
the RHEL code, although, if you run multipath again, or reconfigure<br>
multipathd, it will notice that your devices aren't set up the way the<br>
config says they should be, and it will change them back.  In general,<br>
multipath -p is pretty worthless, you should change the configuration to<br>
use the path grouping policy you want.<br>
<div class="im"><br>
><br>
>    Q2: In RHEL 5.2, configure path group policy as failover or group_by_prio,<br>
>    and then create path-prio.sh to set the priority of paths. however, the<br>
>    path group with the highest priority is not always active, if I don't<br>
>    recreate the multipath devices. why is that? how I make the path group<br>
>    with the highest priority is active on-line?<br>
<br>
</div>By default, multipath is configured for manual failback.  This means<br>
that multipathd won't switch from the current active pathgroup to a<br>
higher priority one, unless you manually force it to do so. The<br>
easiest way to do this is by running<br>
<br>
# service multipathd reload  or<br>
# multipathd -k"reconfigure"<br>
<br>
adding<br>
<br>
defaults {<br>
        <other_defaults><br>
        failback immediate<br>
}<br>
<br>
to /etc/multipath.conf will make multipath immdiately switch to the<br>
highest priority path group.<br>
<br>
-Ben<br>
<br>
><br>
>    William<br>
<br>
> --<br>
> dm-devel mailing list<br>
> <a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/dm-devel" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br>
<font color="#888888"><br>
--<br>
dm-devel mailing list<br>
<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br>
</font></blockquote></div><br>