[Samba] Smbd file server and ctdb

bd730c5053df9efb bd730c5053df9efb at proton.me
Sat Sep 16 02:20:17 UTC 2023

Dear Martin,

Thank you very much for your reply!

Best regards,

Sent from Proton Mail mobile

-------- Original Message --------
On 15 Sep 2023, 20:02, Martin Schwenke via samba wrote:

> Hi Dave, On Fri, 15 Sep 2023 22:36:58 +0000, bd730c5053df9efb via samba  wrote: > I've been testing a clusterized samba file server with ctdb and > glusterfs as documented on the wiki trying to get a high availability > and load balancing solution and I'm coming to the realization that > just samba, ctdb and glusterfs provide only the high availability > part and that it's necessary to add lvs into the solution to achieve > the load balancing part. Is this correct? That depends what you mean by load balancing. If you mean dynamic load balancing, where each node's dynamic system state is taken into account, then CTDB does not do that. CTDB does static load balancing via public IP addresses (https://wiki.samba.org/index.php/Adding_public_IP_addresses) or virtual IPs (VIPs). The IPs are distributed evenly to clients by using round robin DNS, but no attempt is made to look at the dynamic state of the nodes. This works well in most cases because the workload for each client connection tends to be uniform. CTDB can also be configured to use LVS, but it isn't as well tested or documented as the public IPs approach. peace & happiness, martin -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

More information about the samba mailing list