Solved HAST Is Unlimited

Hi,

on rebuild after a fail or during sync HAST consumes bandwidth. Is it somehow possible to set thresholds to limit transfer like in drbd (linux)?
 
Last edited:
Regarding hast.conf() I guess not :what: ? - so, maybe it is possible to use QoS of network switches to adjust bandwidth of HAST transfers.

But this might have an impact on hast itself, might it?

Will QoS work on HAST traffic on shared nic link? :-/
 
Last edited:
hast.conf() I guess not :what: ? - so, maybe it is possible to use QoS of network switches to adjust bandwith of hast transfers.

But this might have an impact on hast itself, might it?

Will QoS work on HAST traffic on shared nic link? :-/
No one replies - I assume, it is somehow possible to use QoS to limit bandwidth, but best practice is the usage of dedicated nic for HAST-traffic (and carp).
 
Last edited:
BTW: Since there can be set no limit, this has also impact on pool performance, because on sync there is load on the backup-master disks, right? :what: :-/
 
you can always do some homework and figure out which TCP port HAST even uses for data transfers, and work from there. QoS, IIRC is an abstraction that routers use to hide the complexity of UNIX networking utilities from regular consumers. Once you know which TCP port you're even targeting, you can do almost anything you want with it - pipe output from netcat into it, specify it in a firewall to allow traffic, or even limit bandwidth using sysctl. With IPv6, things look different, so beware. The key there is to put different utilities together in creative ways. And that's what makes UNIX cool - flexible and creative teamwork among basic system utilities that wipes the nose of everyone else.
 
At the moment my virtual test setup is gone, so I have to reinstall it. But as soon as I have reinstalled it I will run
sockstat -4 | grep hast

But how to modify bandwidth limits with sysctl? :-/ Ahh ??

I am just wondering, if drbd (linux) is handling the resync-rate, c-min-rate, c-max-rate the same way by limiting network bandwidth or what they really do under the hood.
And wether it is best sollution to do it by limiting network bandwidth instead of directly in the application (HAST/DRBD-Stack).
 
Back
Top