also be prepared to learn intensively for at least 6 months.
cluster administration is not an easy task...
----- Original Message -----
From: Madovsky
To: FreeSWITCH Users Help
Sent: Saturday, January 01, 2011 3:57 PM
Subject: Re: [Freeswitch-users] FreeSWITCH & Heartbeat / Pacemaker - Please Helpsetting up

I mean that if you want specific procedure witn freeswitch service so you have to create
bash script inside your init script because HB/Pacemaker don't care every specification of every service
----- Original Message -----
From: Avi Marcus
To: FreeSWITCH Users Help
Sent: Saturday, January 01, 2011 3:46 PM
Subject: Re: [Freeswitch-users] FreeSWITCH & Heartbeat / Pacemaker - Please Helpsetting up

I had planned on leaving freeswitch running on both machines because it seemed to take 8 seconds to start up and I'd like instant recovery.
So.. I'm not dealing with init scripts?

I've not seen much documentation on ha/pacemaker that made sense to me, can you please explain what you mean?
-Avi

On Sat, Jan 1, 2011 at 10:31 PM, Madovsky <infos@madovsky.org> wrote:
1)  and 2), use startup script in /etc/init.d to do whatever you want
HB/Pacemaker is reacting only from these scripts (LSB, OCF compliant)
use also cron tasks
----- Original Message -----
From: Avi Marcus
Sent: Saturday, January 01, 2011 3:20 PM
Subject: [Freeswitch-users] FreeSWITCH & Heartbeat / Pacemaker - Please Helpsetting up

Hi - I'm setting up 2 parallel computers for a HA setup. (low volume so far, no need to load balance.)
I already have heartbeat able to grab the public IP if the first box goes down, but since I'm basically completely unfamiar with pacemaker, I'd like some help.
I'd imagine I'm not the only one doing this, there should be no reason for me to recreate the wheel.


Specifically:
1) It seems freeswitch takes 8 seconds to restart. So if it crashes (unlikely) calls should immediately get shunted over to the other box. How do I set that up?
2) How do I automatically trigger a sofia recover? I know via commanline it's "fs_cli -x "sofia recover" but where do I tell pacemaker to do that? And I suppose a reload_xml before (maybe after?) is a good idea, too.

Also, can I put <param name="track-calls" value="true"/> in a global file, or does it need to be in the actual profile files?
And anything else I may be overlooking.

Thanks guys!
-Avi Marcus


_______________________________________________
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


_______________________________________________
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



_______________________________________________
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