<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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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>