<!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>
<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 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> 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">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; FONT-SIZE: 9px"
class=Apple-style-span><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>
<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>