How to gently disable a CTDB node?
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri May 9 06:30:55 MDT 2014
On Fri, May 09, 2014 at 01:40:39PM +0200, Nicolas Ecarnot wrote:
> Le 09/05/2014 13:28, Volker Lendecke a écrit :
> >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
> >
>
> Isn't the smb.conf file supposed to be absolutely identical on every node?
> Would doing so on just one node lead to the node getting banned?
Well, for for this case you want the nodes to be different.
I don't think that it would ban that node.
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