[dm-devel] Can I configure priority?

Christophe Varoqui christophe.varoqui at free.fr
Tue Oct 14 21:25:28 UTC 2008


> RHEL v5
> eth + hba
> 
> If I'm using 'multibus' for my 'path_grouping_policy' in order to
> utilize all of the channels, is there any way to prioritize how the 2
> interfaces are used?  For instance, if we prefer to have the traffic,
> when the bandwidth doesn't exceed a single channel, using the HBA
> first and ETH second?  How does DM determine which interface to use in
> low bandwidth situations?
> 
> Thanks,
> Scott
> 
With a multibus multipath, you can still use path priorities as a
weighting factor for the (weighted) round-robin scheduler :

1/ set "rr_weight priorities" in multipath.conf
2/ find or forge a priority handler to return the weights your want for
your paths

Regards,
cvaroqui




More information about the dm-devel mailing list