[Linux-HA] Debian 'Watchdog package' and heartbeat 2
Nick
nick at mobilia.it
Tue Oct 28 04:36:45 MDT 2008
Grygoriy Dobrovolskyy ha scritto:
> I am trying to set a HA configuration with openser and heartbeat, what i
> would like to do is simple, i need watchdog to monitor a
> /var/run/openser.pid and trigger a reboot if process is dead, but the caveat
> of this method is that the second node (nodeb) does not have the 'resource'
> openser running which will trigger it's reboot. I am searching for any
> advice to set up such a configuration.
>
> 1: If heartbeat stops =>nodeb
> 2: If no network => nodeb
> 3: If openser dead => nodeb
>
> Points 1,2 are ok but how to add the third one ?
>
> Tank you for your time.
>
> Grygoriy Dobrovolskyy
> _______________________________________________
> 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
>
I found this OCF resource for my openser install..
http://www.anders.com/cms/259
It works really well, although if you're using the later versions you
may need to sed s/openser/kamailio ..
It uses sipsak to do an options query to openser, if it comes back ok..
it's all set.
More information about the Linux-HA
mailing list