CTDB failover and power management

ronnie sahlberg ronniesahlberg at gmail.com
Wed Oct 17 11:53:47 MDT 2012

You are right.

CTDB does not interface with that, and will never shutdown the node.

The other direction is possible though.
You could write an eventscript for CTDB that would monitor the
powermanagement interface and
make ctdb become UNHEALTHY if the powermanagement interface indicates
that there is a problem.

UNHEALTHY means that ctdb will not host any service and trigger a
failover to other nodes.

I am not aware that anyone has written such an eventscript, but it
could be very useful.
If powermanagement interface indicates a problem, make node UNHEALTHY.
See the README file for the eventscripts.

ronnie sahlberg

On Wed, Oct 17, 2012 at 10:37 AM, Christopher R. Hertel
<crh at ubiqx.mn.org> wrote:
> Just a question...
> I had someone ask me today whether or not CTDB has access to the power
> management interface on a node and if CTDB would ever force a node to shut
> down.
> I've never heard of such a thing.  To my knowledge, CTDB doesn't play with
> power and leaves all such decisions to the underlying Cluster system.  Am I
> right?
> Thanks.
> Chris -)-----
> --
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
> ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

More information about the samba-technical mailing list