Hi Marvin, On 4/2/19 3:08 PM, fanzi2009@hotmail.com wrote:
Hi , Suppose I have mulitple nfs-ganesha servers behind a load balancer. All nfs clients connect the load balancer, then balancer choose a nfs-ganesha server and redirect the request to it. When a nfs-ganesha (Ganesha-A)which has connection with a client restart in a time, the server enter grace period and read previous clients from backend. However, as client connection is broken and load balancer choose another nfs-ganesha sever(Ganesha-B). Even the client want to reclaim open and clock, Ganesha-B is not in grace period. In this scenario, how could client relaim the resource?
Thats right. A simple load-balancer will not do the trick. You shall need special handling to put entire cluster (all ganesha servers) in grace even if one server goes down or restarts. There is dbus command available to put a ganesha server in grace anytime while it is active. And you would need to configure your cluster manager to invoke that command for all the servers when needed (for eg., for pcs/pacemaker using pacemaker resource agents; for CTDB using event scripts) Thanks, Soumya
Thanks,
Marvin _______________________________________________ Devel mailing list -- devel@lists.nfs-ganesha.org To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org