[Freeswitch-users] Pacemaker Resource Agent
Andrew Cassidy
andrew at cassidywebservices.co.uk
Sun Aug 25 20:24:08 MSD 2013
Scratch that now my script has stopped making it fail over too.
On 25 August 2013 17:07, Andrew Cassidy <andrew at cassidywebservices.co.uk>wrote:
> Just a follow up on this (I will either update the wiki or add my own page
> at some point)
>
> Firstly, I'm using Debian Wheezy, using binary packages wherever possible.
>
> Both init scripts are incorrect at this stage as they both return 3 if
> status it is unable to query freeswitch profile status. According the LSB
> an exit code of 3 is used to indicate that the service was stopped
> normally. The current version of pacemaker therefore does not fail over the
> resource.
>
> However, fsctl crash properly crashes, leaving the PID file behind, where
> as stop does not. The LSB exit code for such an event is 2, which does make
> pacemaker fail the resource over. As such, I have added a few lines to
> check the existence of the PID file if the status check fails and return
> either 2 or 3 as required.
>
>
> On 25 August 2013 00:31, Andrew Cassidy <andrew at cassidywebservices.co.uk>wrote:
>
>> I did not as for some reason Google does not deem the relevant to the
>> term "freeswitch pacemaker resource agent"
>>
>> Thanks Avi.
>>
>>
>> On 24 August 2013 23:00, Avi Marcus <avi at avimarcus.net> wrote:
>>
>>> Did you look at
>>> http://wiki.freeswitch.org/wiki/Enterprise_deployment_IP_Failover and
>>> http://wiki.freeswitch.org/wiki/Enterprise_deployment_with_Corosync?
>>>
>>> -Avi
>>>
>>>
>>> On Sat, Aug 24, 2013 at 11:01 PM, Andrew Cassidy <
>>> andrew at cassidywebservices.co.uk> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I know this has come up before but I can't find a pacemaker resource
>>>> agent for FreeSWITCH. I'm running a master/slave config and wondering if
>>>> anyone has something they're willing to share?
>>>>
>>>> I know there's mod_ha_cluster, however I already have
>>>> corosync/pacemaker for other services, and would like to keep things
>>>> uniform.
>>>>
>>>> --
>>>> *Andrew Cassidy BSc (Hons) MBCS SSCA*
>>>> Managing Director
>>>>
>>>>
>>>> *T <info at cassidywebservices.co.uk> *03300 100 960 *F<info at cassidywebservices.co.uk>
>>>> *03300 100 961
>>>> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
>>>> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> *Andrew Cassidy BSc (Hons) MBCS SSCA*
>> Managing Director
>>
>>
>> *T <info at cassidywebservices.co.uk> *03300 100 960 *F<info at cassidywebservices.co.uk>
>> *03300 100 961
>> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
>> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>>
>
>
>
> --
> *Andrew Cassidy BSc (Hons) MBCS SSCA*
> Managing Director
>
>
> *T <info at cassidywebservices.co.uk> *03300 100 960 *F<info at cassidywebservices.co.uk>
> *03300 100 961
> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>
--
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director
*T <info at cassidywebservices.co.uk> *03300 100 960
*F<info at cassidywebservices.co.uk>
*03300 100 961
*E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
*W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130825/335659d7/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list