On 8/2/05, <b class="gmail_sendername">Christopher Weis</b> <<a href="mailto:ccweis@gmail.com">ccweis@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_105792b5aaa743c4_0">On 8/2/05, <b class="gmail_sendername">christophe varoqui</b> <<a href="mailto:christophe.varoqui@free.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
christophe.varoqui@free.fr</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On mar, 2005-08-02 at 15:07 -0400, goggin, edward wrote:<br>> On Tue, 02 Aug 2005 09:37:14 -0500<br>> "Christopher C. Weis" <<a href="mailto:ccweis@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ccweis@gmail.com</a>> wrote<br>><br>> > I have a multipath SAN environment with storage controllers that are
<br>> > active/active.  However, the controllers are not active/active at the<br>> > LUN-level without a performance penalty, meaning if two<br>> > servers want to<br>> > see the same LUN (as in a clustered filesystem environment), they both
<br>> > need to be using the same controller.  I'm trying to figure<br>> > out a way to<br>> > statically "order" the paths so that I can copy a config to all of the<br>> > nodes using the CFS.
<br>> ><br>> > >From what I've read, in a single-server environment with controllers<br>> > such as the ones I'm dealing with, the path_grouping_policy should be<br>> > set to "group_by_serial", which should work fine, but in a clustered
<br>> > environment, I need to be sure that the path ordering is the same.<br>> ><br>> > Are there any path_selectors, other than round-robin, that might<br>> > accomplish this?  Any other ideas?<br>

> ><br>><br>> One was is to configure each multipath to have two groups with one group<br>> having a higher priority than the other based on whether the path accesses<br>> the fast path controller.  The assignment of the highest priority path group
<br>> is non deterministic when using the "group_by_serial" path grouping policy.<br>><br>> Seems like you want to use the "group_by_priority" path grouping policy and<br>> create and get_priority executable which when invoked will return a 1 for
<br>> fast path and 0 for slow path.  See the code for mpath_prio_emc, the<br>> get_priority executable for the EMC CLARiiON array in<br>> multipath-tools/path_priority/pp_emc/pp_emc.c.<br>><br>Yes, also note "group_by_priority" path grouping policy may be overkill
<br>for the context. PG produced by "group_by_serial" can be sorted with an<br>adequate prioritizer too.<br><br><br>
</blockquote></div><br></span></div>Does this mean that "group_by_serial" utilizes a "default_prio_callout"
program/script as well, or is there another callout (or something
totally different that I'm missing)?</blockquote><div><br>
I've verified that by writing my own "default_prio_callout" script I
can achieve what I want with both the "group_by_priority" and
"failover" policies.  Once I get done testing/tweaking the script,
I'll post it in case anyone else wants it.<br>
<br>
I can't seem to make group_by_serial work, although I'm not sure I
understand this policy very well.  It sounds like it's supposed to
make all paths that go to a particular controller (serial?) be in the
same priority group.  For me, it's no different than
multibus.  Probably my misunderstanding, so I'm open to any
suggestions...<br>
<br>
Thanks for all the help everyone.<br>
<br>
~Chris<br>
</div></div>