<div dir="ltr">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.<div>So.. I'm not dealing with init scripts?</div><div><br></div>
<div>I've not seen much documentation on ha/pacemaker that made sense to me, can you please explain what you mean?</div><div>-Avi<br><br><div class="gmail_quote">On Sat, Jan 1, 2011 at 10:31 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">
<div>1) and 2), use startup script in /etc/init.d to do whatever you
want</div>
<div>HB/Pacemaker is reacting only from these scripts (LSB, OCF compliant)</div>
<div>use also cron tasks</div></font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div><div></div><div class="h5">
<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 style="font:10pt arial"><b>Sent:</b> Saturday, January 01, 2011 3:20
PM</div>
<div style="font:10pt arial"><b>Subject:</b> [Freeswitch-users] FreeSWITCH
& Heartbeat / Pacemaker - Please Helpsetting up</div>
<div><br></div>
<div dir="ltr">Hi - I'm setting up 2 parallel computers for a HA setup. (low
volume so far, no need to load balance.)
<div>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.</div>
<div>I'd imagine I'm not the only one doing this, there should be no reason
for me to recreate the wheel.</div>
<div><br></div>
<div>Info should be on: <a href="http://wiki.freeswitch.org/wiki/Freeswitch_HA" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_HA</a></div>
<div><br></div>
<div>Specifically:</div>
<div>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?</div>
<div>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.</div>
<div><br></div>
<div>Also, can I put <span style="line-height:12px;font-family:monospace;white-space:pre-wrap;font-size:9px"><param name="track-calls" value="true"/>
</span>in a global file, or does it need to be in the actual profile
files?</div>
<div>And anything else I may be overlooking.</div>
<div><br></div>
<div>Thanks guys!</div>
<div>-Avi Marcus</div>
<div><br></div></div>
</div></div><p>
</p><hr>
<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>
<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>