<div dir="ltr">a) Sounds great. I've googled several times. Where are the docs that you suggest I start with? <div>b) Even so, it's been partially documented on the FreeSWITCH wiki and would be great to be finished.</div>
<div>-Avi<br><br><div class="gmail_quote">On Sun, Jan 2, 2011 at 8:57 PM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Avi,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">I think this thread is more related to
HB/Pacemaker.</font></div>
<div><font size="2">they have a lot of doc of how to create a
cluster.</font></div>
<div><font size="2">Maybe go to check it, because as I said to you you
can't</font></div>
<div><font size="2">build a cluster with only a thread in Freeswitchy</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div class="im">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="Avi@aMarcus.com" href="mailto:Avi@aMarcus.com" target="_blank">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" target="_blank">FreeSWITCH Users Help</a>
</div>
</div><div class="im"><div style="font:10pt arial"><b>Sent:</b> Sunday, January 02, 2011 10:38
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><div><div></div><div class="h5"><div dir="ltr">Yes, yes: fs_cli -x "sofia recover"
I understand the freeswitch parts.
<div>Now how does that get set up with heartbeat/pacemaker?</div>
<div><br></div>
<div>You seem to assume I have a working pacemaker understanding, which I do
not. I wouldn't mind learning about it *if I saw any docs that made
sense.*</div>
<div>-Avi<br><br>
<div class="gmail_quote">On Sun, Jan 2, 2011 at 12:31 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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">It's an API command that you can run via ESL. You can do
that from a<br>script using fs_cli and its -x/--execute
option.<br><br>Something like this:<br><br>fs_cli --host=otherhost
--password=secretpasswd --execute="sofia recover"<br><br>-Steve<br>
<div>
<div></div>
<div><br><br>On 2 January 2011 09:43, Avi Marcus <<a href="mailto:Avi@amarcus.com" target="_blank">Avi@amarcus.com</a>> wrote:<br>> Thanks,
I noticed the -nonat already.<br>> What do you mean by running sofia
recover from my init script? I<br>> don't understand how that
would be triggered by heartbeat/pacemaker. Any<br>> explanatory docs on
the issue would be nice, but everything I've seen was<br>> explaining
exact parts and nothing ever seemed to explain the general syntax<br>> of
everything.<br>> Does anyone have a working example that they can wikify
and explain?<br>> Thanks,<br>> Avi<br>><br>> On Sun, Jan 2, 2011
at 4:06 AM, Seven Du <<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>>
wrote:<br>>><br>>> 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>>><br>>> On Sun, Jan 2, 2011 at 7:58 AM, Steven Ayre
<<a href="mailto:steveayre@gmail.com" target="_blank">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.<br>>>
> 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<br>>> > far,<br>>>
> no need to load balance.)<br>>> > I already have heartbeat
able to grab the public IP if the first box<br>>> >
goes<br>>> > down, but since I'm basically completely unfamiar with
pacemaker, I'd<br>>> > like<br>>> > some help.<br>>>
> I'd imagine I'm not the only one doing this, there should be no
reason<br>>> > 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.<br>>>
> 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<br>>> > 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<br>>> > 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" target="_blank">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" target="_blank">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>>> --<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>
>><br>>>
_______________________________________________<br>>> FreeSWITCH-users
mailing list<br>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>> FreeSWITCH-users
mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>FreeSWITCH-users
mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>FreeSWITCH-users
mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><p></p></blockquote></div>
<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></blockquote></div><br></div></div>