Could you possibly use the redhat init scripts instead? Or at least duplicate the functionality under Debian.
(I'm not too familiar with Debian, so I don't know how it does such things). On 1/19/06, Tron <[EMAIL PROTECTED]> wrote: > > Yes, I know, but I have I was think that heartbeat use status function in > init asterisk script to check if asterisk is alive, but status function is > for redhat.Are there any similar function in Debian?. And in respect of > slave, when slave get all resources and master wakeup, maste request for all > resources, slave give it all resources, but asterisk continues alive in > slave. My questions are: > > What I need to say to heartbeat that asterisk is alive or dead and why when > slave give all resources to master doesn't goes down itself asterisk > service. My init script is on /etc/hearbeat/resource.d and in /etc/init.d/. > > > Any idea? > > > regards, > > tron > > -----Mensaje original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] En nombre de Gary > Richardson > Enviado el: jueves, 19 de enero de 2006 16:28 > Para: Asterisk Users Mailing List - Non-Commercial Discussion > Asunto: 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. > > On 1/19/06, Tron <[EMAIL PROTECTED]> wrote: > > > > Hi Srs., > > > > we have installing two machines with Asterisk and Linux-HA. I just > > copy conf files and voicemail files and more with rsync, and now I > > want to test with Linux-HA if asterisk is up. I'm installing Asterisk > > over Debian, but I haven't a status function in asterisk script. > > > > Any one help me to know how can I check if asterisk is up? If I switch > > off master machine or I cut network cable, second machine goes up OK, > > but if I switch on or replug cable in Main machine, all works fine but > > I realize that slave machine doesn't down asterisk. > > > > Any one has installed this system? > > > > > > regards, > > > > tron > > _______________________________________________ > > --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 > > _______________________________________________ > --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