<!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><FONT size=2>also be prepared to learn intensively for at least 6
months.</FONT></DIV>
<DIV><FONT size=2>cluster administration is not an easy
task...</FONT></DIV></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=infos@madovsky.org href="mailto:infos@madovsky.org">Madovsky</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:57
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
FreeSWITCH & Heartbeat / Pacemaker - Please Helpsetting up</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>I mean that if you want specific procedure witn freeswitch
service so you have to create</FONT></DIV>
<DIV><FONT size=2>bash script inside your init script because HB/Pacemaker
don't care every specification of every service</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:46
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
FreeSWITCH & Heartbeat / Pacemaker - Please Helpsetting up</DIV>
<DIV><BR></DIV>
<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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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>
<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></BLOCKQUOTE></BODY></HTML>