Yes, heartbeat is good at monitoring system and network availability, but to
monitor applications as well, you need to jump through hoops and do some custom
development. A shame really because without that it's useless.
Also, heartbeat only works in a primary/secondary fashion. Ie you can't have
both systems in your cluster serving asterisk at the same time. This is because
you only have one virtual IP address, and when the master fails, the secondary
gets the virtual IP adddress. Once again, useless if you want to load balance
your asterisk systems. That's what we wanted, and why we didn't go down
this path. You also might want to check and see what the effect is on Asterisk
of having your IP address change without restarting asterisk.
Doug.
-----Original Message-----
From: Tron [mailto:asterisk.tron@gmail.com]
Sent: Thursday, January 19, 2006 9:00 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Asterisk and Linux-HA
Then, say you that I must to do a script that check if asterisk is alive?
-----Mensaje original-----
De: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] En nombre de Mimmus
Enviado el: jueves, 19 de enero de 2006 16:51
Para: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Asunto: RE: [Asterisk-Users] Asterisk and Linux-HA
Heartbeat monitors only 'life' of cluster members.
Service should be monitored by a custom script.
Mimmus
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com
> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Gary
> Richardson
> Sent: Thursday, January 19, 2006 4:28 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Asterisk and Linux-HA
>
> Doesn't heartbeat take care of this? It's been awhile since
I've
> configured it. If two servers join back together as master, one of
> them shuts down its services. Maybe I'm just wishfully thinking..
>
> There's also a directive to determine if a secondary should fail back
> over to the master if it comes back up.
>
> All your 'shared' services should be controlled by heartbeat
> -- you shouldn't have to do anything except use the supplied init
> scripts.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users