On Mon, 2009-02-02 at 13:45 +0100, Michael Schwartzkopff wrote: > > Since you have only one ping node make DRBD run on a node with pingd points: > <rsc_location id="ms_drbd:connected" rsc="ms_drbd"> > <rule id="ms_drbd:connected:rule" score="-INFINITY" boolean_op="or"> > <expression id="ms_drbd:connected:expr:undefined" > attribute="pingd" operation="not_defined"/> > <expression id="ms_drbd:connected:expr:zero" > attribute="pingd" operation="lte" value="0"/> > </rule> > </rsc_location> > > in this case it doesn't matter if your DRBD is master or slave. > > Please have a look about the real score calulation with the showscores script.
Oh my god! This looks promising - it looks nothing like any of the examples I have been looking at. And what a surprise it worked! It stopped the DRBD service as well and the failover worked within seconds! Thank you so much. I would have never been able to write a constraint like this myself! _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
