Skip to contentSkip to conversation

Can I configure priority?

DISCUSSION Scott Moseman 2 participants 3 messages Oct 14, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Alternatively, if we use 'failover' instead, is there a way to have DM use the HBA as the main interface and only failover to ETH when necessary?

Thanks,
Scott

Quoted 14 lines · Scott Moseman

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

#2 lore raw
In reply to Scott Moseman
Quoted 5 lines · Scott Moseman

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

If you use multibus, all the paths will be used in round-robin fashion. You will not be able to prioritize.

Quoted 4 lines

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?

It doesn't.

One way to solve the problem: you can do is to change the grouping policy to by changing policy to be "group_by_prio", and having a priority handler that would give a prio value proportional to the bandwidth usage. But, note that this will keep moving the active path (may be that is what you want).

Quoted 8 lines

Thanks,
Scott

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel