How to gently disable a CTDB node?

Nicolas Ecarnot nicolas at ecarnot.net
Fri May 9 05:40:39 MDT 2014


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?

-- 
Nicolas Ecarnot


More information about the samba-technical mailing list