CTDB failover and power management

Christopher R. Hertel crh at ubiqx.mn.org
Wed Oct 17 12:03:41 MDT 2012


Thanks, Ronnie!

Chris -)-----

On 10/17/2012 12:53 PM, ronnie sahlberg wrote:
> 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.
>
>
> regards
> 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

-- 
"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