[Linux-HA] use of pingd

Andrew Beekhof beekhof at gmail.com
Wed Sep 6 08:29:33 MDT 2006


On 9/6/06, Philippe CAVAILLES <philippe.cavailles at tlse.sofreavia.fr> wrote:
> Dear all,
> I use heartbeat v2.0.7 + patch provided by Andrew Beekhof (Filter out
> updates that arent for cluster members).
>
> I have configured pingd pluging, as specified in
> (http://www.linux-ha.org/v2/faq/pingd) and
> a group of 2 services that run on a symmetric cluster.
>
> I want heartbeat to stop all the services of my group on the node that
> has lost the connection
> with the network reference (the ip address monitored by pingd) and to
> restart them when
> the network reference come back (if they are not already started on an
> other node).

try a negative constraint eg. one that sets the node's preference to
-INFINITY for any node that has a pingd value of less than some value.

>
> I am able to detect the if the network reference is reachable or not
> with the
> command "crm_attribute -V -G -t status -U <node name> -n pingd"
>
> But I don't know how to stop and restart how to specify some
> stop/restart actions
> associated to the value of this attribute. Maybe with  some specifics
> rules in the
> <constraint> block?
>
> Does someone has an idea?
>
> Please find attached the result of the command "cibadmin -Q"
>
> Regards,
> Philippe
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
>


More information about the Linux-HA mailing list