Is it possible to manually set the priority of a path after a connection has been established?<br><br>Since we're doing failover-only (only 1 active path at a time), it would be nice to tell users that they can manually reset priority after a failure. For example, in a configuration with two paths, where one is active and the other is passive for two differeent volumes, a failure of one path will result in all traffic going through the one remaining path. After the second path comes back up, all traffic will still be written to the first path (paths are not rebalanced after a failure).
<br><br>At this point, we're looking for a decent solution for customers that doesn't involve ALUA, since we won't have resources to implement that for this first version of our target. Ideally, we'd like to be able to set the priority for paths automatically through one of the mpath_prio_* scripts. Even allowing a user to set these priorities manually would be better than advising them to use mpath_prio_random as the "easy configuration" solution.
<br><br>We're not looking to develop our own method of load balancing or failover. We want to work within the MPIO world, but it's a little difficult given that we don't support active/active configurations.<br>
<br>Thanks so much for you help so far!<br><br><div><span class="gmail_quote">On 7/29/07, <b class="gmail_sendername">Hannes Reinecke</b> <<a href="mailto:hare@suse.de">hare@suse.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ethan John wrote:<br>> Thanks for the heads-up about ALUA. We're looking into it.<br>><br>> What is the purpose of the custom mpio_prio_* applications that ship<br>> with open-iscsi if not to handle multipathing?
<br>><br>It is. mpath_prio_* are the priority callouts for multipathing.<br>They determine the layout of the multipath map.<br>Theory is that mpath_prio_* will return the priority for a<br>given path in relation to the entire multipath layout.
<br><br>If used with 'group_by_prio' all paths with the same<br>priority will be grouped into one multipath group, and<br>the group with the highest priority will become active.<br><br>When all paths in a group fail, the group with the next
<br>highest priority will become active. Additionally some<br>failover command (as determined by the hardware handler)<br>may be send to the target.<br><br>Cheers,<br><br>Hannes<br>--<br>Dr. Hannes Reinecke                   zSeries & Storage
<br><a href="mailto:hare@suse.de">hare@suse.de</a>                          +49 911 74053 688<br>SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg<br>GF: Markus Rex, HRB 16746 (AG Nürnberg)<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">https://www.redhat.com/mailman/listinfo/dm-devel</a><br></blockquote></div><br><br clear="all">
<br>-- <br>Ethan John<br><a href="http://www.flickr.com/photos/thaen/">http://www.flickr.com/photos/thaen/</a><br>(206) 841.4157