How to gently disable a CTDB node?

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri May 9 05:28:05 MDT 2014


On Fri, May 09, 2014 at 12:01:02PM +0200, Nicolas Ecarnot wrote:
> Hi,
> 
> Some maintenance has to be made on one of our CTDB nodes.
> Users are using.
> Sessions are running.
> 
> Is there a gentle way to let them finish their sessions, but to
> refuse every next session opening attempt on a specific node.
> Waiting for the last session closing, so as to be able to completly
> disable it and put it in maintenance mode.
> I fear that the "ctdb stop" command will *kill* the user's sessions
> and I'd prefer avoid that.

Would setting "available = no" to all shares in the smb.conf
help here?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list