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@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@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?-AviOn Sat, Aug 24, 2013 at 11:01 PM, Andrew Cassidy <andrew@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 SSCAManaging Director
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@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 SSCAManaging Director--
Andrew Cassidy BSc (Hons) MBCS SSCAManaging Director
