<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I use HB/Pacemaker, tried to hack the original FS init
script,</FONT></DIV>
<DIV><FONT size=2>but didn't succeed to work it well until now (when a FS fails,
the failover fails also in Pacemaker.</FONT></DIV>
<DIV><FONT size=2>so I decided to create a cron task that ping/telnet/start/stop
every FS</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Fanck</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Avi@aMarcus.com href="mailto:Avi@aMarcus.com">Avi Marcus</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, January 02, 2011 4:43
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
FreeSWITCH & Heartbeat / Pacemaker - Please Help setting up</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Thanks, I noticed the -nonat already.
<DIV>What do you mean by running sofia recover from my init script? I
don't understand how that would be triggered by heartbeat/pacemaker.
Any explanatory docs on the issue would be nice, but everything I've seen was
explaining exact parts and nothing ever seemed to explain the general syntax
of everything.</DIV>
<DIV><BR></DIV>
<DIV>Does anyone have a working example that they can wikify and
explain?</DIV>
<DIV>Thanks,</DIV>
<DIV>Avi<BR><BR>
<DIV class=gmail_quote>On Sun, Jan 2, 2011 at 4:06 AM, Seven Du <SPAN
dir=ltr><<A
href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>the wiki page already said you can start the spare FS
ahead to speed<BR>switch over up.<BR><BR>it means if you use
ip_nonlocal_bind and start the spare FS ahead, you<BR>only need to run sofia
recover in you init script without waiting for<BR>the actually FS start
process.<BR>
<DIV>
<DIV></DIV>
<DIV class=h5><BR>On Sun, Jan 2, 2011 at 7:58 AM, Steven Ayre <<A
href="mailto:steveayre@gmail.com">steveayre@gmail.com</A>> wrote:<BR>>
1) It seems freeswitch takes 8 seconds to restart. So if it crashes<BR>>
(unlikely) calls should immediately get shunted over to the other
box. How<BR>> do I set that up?<BR>><BR>> Just a tip, I start fs
with -nonat and find that makes it start faster.<BR>><BR>> Steve on
iPhone<BR>> On 1 Jan 2011, at 20:20, Avi Marcus <Avi@aMarcus.com>
wrote:<BR>><BR>> Hi - I'm setting up 2 parallel computers for a HA
setup. (low volume so far,<BR>> no need to load balance.)<BR>> I
already have heartbeat able to grab the public IP if the first box
goes<BR>> down, but since I'm basically completely unfamiar with
pacemaker, I'd like<BR>> some help.<BR>> I'd imagine I'm not the only
one doing this, there should be no reason for<BR>> me to recreate the
wheel.<BR>> Info should be on: <A
href="http://wiki.freeswitch.org/wiki/Freeswitch_HA"
target=_blank>http://wiki.freeswitch.org/wiki/Freeswitch_HA</A><BR>>
Specifically:<BR>> 1) It seems freeswitch takes 8 seconds to restart. So
if it crashes<BR>> (unlikely) calls should immediately get
shunted over to the other box. How<BR>> do I set that up?<BR>> 2) How
do I automatically trigger a sofia recover? I know via commanline<BR>>
it's "fs_cli -x "sofia recover" but where do I tell pacemaker to do
that?<BR>> And I suppose a reload_xml before (maybe after?) is a good
idea, too.<BR>> Also, can I put <param name="track-calls"
value="true"/> in a global file,<BR>> or does it need to be in the
actual profile files?<BR>> And anything else I may be
overlooking.<BR>> Thanks guys!<BR>> -Avi Marcus<BR>><BR>>
_______________________________________________<BR>> FreeSWITCH-users
mailing list<BR>> <A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>>
<A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>>
UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>>
<A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR>><BR>>
_______________________________________________<BR>> FreeSWITCH-users
mailing list<BR>> <A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>>
<A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>>
UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>>
<A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR>><BR>><BR><BR><BR><BR></DIV></DIV><FONT
color=#888888>--<BR>About: <A href="http://about.me/dujinfang"
target=_blank>http://about.me/dujinfang</A><BR>Blog: <A
href="http://www.dujinfang.com"
target=_blank>http://www.dujinfang.com</A><BR>Proj: <A
href="http://www.freeswitch.org.cn"
target=_blank>http://www.freeswitch.org.cn</A><BR></FONT>
<DIV>
<DIV></DIV>
<DIV
class=h5><BR>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>