We are having issues getting our GlusterFS and CTDB implementation to work. It could be that what we are attempting to do is not supported but I'm not able to understand why.
We have two file servers that are connected over a permanent VPN link. On either side of the link we want the clients in their corresponding LANs to only have to access their local file-server. GlusterFS takes care of the replication between the two over the slow VPN link. We had hoped that CTDB would update and replicate the TDB database quickly so even though the link is slow (for file transfers) we could at least grab locks fairly quickly.
The problem is that it doesn't work. We set everything up following:
and CTDB Quickstart
And file locking from windows clients doesn't work, out of the box.
What does work is if we have all clients connect to the same Samba share. Problem is that if we do that we have one office going over the slow VPN link, which is what we are trying to eliminate.
File replication works all the time. So I imagine this is either us trying to implement something incorrectly or our use-case is no good for CTDB.