<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I think it's only for failover, not clone</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=jmesquita@freeswitch.org href="mailto:jmesquita@freeswitch.org">João 
  Mesquita</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> Wednesday, August 04, 2010 8:49 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] FS 
  HA-cluster</DIV>
  <DIV><BR></DIV>What if you have more then a switch on the cluster?<BR 
  clear=all><BR>
  <DIV>How does the migration gets decided? I am confused on how this works. I 
  guess I need to read the code...<BR>
  <DIV><BR></DIV>
  <DIV>João Mesquita<BR><BR><BR>
  <DIV class=gmail_quote>2010/8/4 Nyamul Hassan <SPAN dir=ltr>&lt;<A 
  href="mailto:mnhassan@usa.net">mnhassan@usa.net</A>&gt;</SPAN><BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>Wow Wow Wow!
    <DIV><BR></DIV>
    <DIV><BR><BR>
    <DIV class=gmail_quote>2010/8/5 Steven Ayre <SPAN dir=ltr>&lt;<A 
    href="mailto:steveayre@gmail.com" 
    target=_blank>steveayre@gmail.com</A>&gt;</SPAN>
    <DIV>
    <DIV></DIV>
    <DIV class=h5><BR>
    <BLOCKQUOTE 
    style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
    class=gmail_quote>Cool!
      <DIV>
      <DIV></DIV>
      <DIV><BR><BR><BR>
      <DIV class=gmail_quote>On 4 August 2010 21:15, jay binks <SPAN 
      dir=ltr>&lt;<A href="mailto:jaybinks@gmail.com" 
      target=_blank>jaybinks@gmail.com</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE 
      style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
      class=gmail_quote>Guys,
        <DIV>&nbsp;&nbsp;further to this interesting discussion, please check 
        out this wiki page&nbsp;</DIV>
        <DIV><BR></DIV>
        <DIV><A href="http://wiki.freeswitch.org/wiki/Freeswitch_HA" 
        target=_blank>http://wiki.freeswitch.org/wiki/Freeswitch_HA</A></DIV>
        <DIV><BR></DIV>
        <DIV>there was an announcement at cluecon that improves Freeswitches 
        ability to do HA-clustering.</DIV>
        <DIV>please can you update this wiki page with the information you have 
        learned doing the pacemaker side of this.</DIV>
        <DIV><BR></DIV>
        <DIV>also keep the conversation going now, with this new information 
        :)</DIV>
        <DIV><BR></DIV>
        <DIV>Jay</DIV>
        <DIV><BR></DIV>
        <DIV><BR>
        <DIV class=gmail_quote>2010/7/12 Steven Ayre <SPAN dir=ltr>&lt;<A 
        href="mailto:steveayre@gmail.com" 
        target=_blank>steveayre@gmail.com</A>&gt;</SPAN>
        <DIV>
        <DIV></DIV>
        <DIV><BR>
        <BLOCKQUOTE 
        style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
        class=gmail_quote>
          <DIV>"As server FS work with share db, there is an impression that at 
          switching Cluster-IP with active on<BR>a passive, passive server can 
          pick up session begun on an active server (the necessary data 
          about<BR>current sessions takes from the share db). Whether So 
          it?<BR>Testing has shown that at switching Cluster-IP on reserve FS, 
          that does not process session which<BR>have begun on first FS 
          :("<BR><BR></DIV>Sorry, but that's not currently possible as the call 
          state information is held in memory, not the shared database, and has 
          execution threads started for processing the signalling/media which 
          aren't duplicated on the other 
          machine(s).<BR><BR>-Steve<BR><BR><BR><BR>
          <DIV class=gmail_quote>2010/7/9 viewpoint <SPAN dir=ltr>&lt;<A 
          href="mailto:yurazilot1@list.ru" 
          target=_blank>yurazilot1@list.ru</A>&gt;</SPAN>
          <DIV>
          <DIV></DIV>
          <DIV><BR>
          <BLOCKQUOTE 
          style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
          class=gmail_quote>Many thanks for fast and substantial 
            answers!<BR>Has established ipv4.ip_nonlocal_bind=1.<BR>Now there is 
            no necessity to reboot FS or sofia profile.<BR><BR>As a result it 
            has turned out:<BR>1) Two servers FS which kernel works with the 
            shared db through unix ODBC<BR>2) It Is realised Cluster-IP by 
            installations Pacemaker<BR>
            <DIV>(<A href="http://www.clusterlabs.org/wiki/Install#From_Source" 
            target=_blank>http://www.clusterlabs.org/wiki/Install#From_Source</A>)<BR><BR></DIV>As 
            server FS work with share db, there is an impression that at 
            switching Cluster-IP with active on<BR>a passive, passive server can 
            pick up session begun on an active server (the necessary data 
            about<BR>current sessions takes from the share db). Whether So 
            it?<BR>Testing has shown that at switching Cluster-IP on reserve FS, 
            that does not process session which<BR>have begun on first FS 
            :(<BR><BR><BR><BR>Thu, 8 Jul 2010 16:21:40 +0200 (CEST) письмо от 
            Vladimir Klejch &lt;<A href="mailto:klejch%2Bfreeswitch@netbox.cz" 
            target=_blank>klejch+freeswitch@netbox.cz</A>&gt;:<BR>
            <DIV>
            <DIV></DIV>
            <DIV><BR>&gt;<BR>&gt; Hi<BR>&gt;<BR>&gt; On linux you can use 
            /proc/sys/net/ipv4/ip_nonlocal_bind to bind to non local<BR>&gt; 
            address on start of FS and then you don't need any restart of FS 
            or<BR>&gt; reload of sofia profile if this addres is active on the 
            node<BR>&gt;<BR>&gt; or you can have this floating address on dummy 
            iface (?or lo ) &nbsp;and then<BR>&gt; use right settings in 
            /proc/sys/net/ipv4/conf/eth?/arp_filter,arp_ignore<BR>&gt; and then 
            FS can use this address to bind on start and you don't need<BR>&gt; 
            restart of FS?or relaod of sofia profile 
            ...<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; &nbsp; Kleo<BR>&gt;<BR>&gt; On Thu, 8 Jul 2010, viewpoint 
            wrote:<BR>&gt;<BR>&gt; &gt; Hello.<BR>&gt; &gt;<BR>&gt; &gt; I 
            currently have a project where I'm researching how to establish 
            a<BR>&gt; &gt; clustered platform wieth failover time ~= some 
            milliseconds.<BR>&gt; &gt;<BR>&gt; &gt; At present we have: 2 
            identical servers FS, wieth established Pacemaker<BR>&gt; &gt; (<A 
            href="http://www.clusterlabs.org/wiki/Install#From_Source" 
            target=_blank>http://www.clusterlabs.org/wiki/Install#From_Source</A>) 
            - heartbeat. On<BR>&gt; &gt; the one hand it is possible to tell 
            that all works, as, at refusal of<BR>&gt; &gt; the first server, the 
            second server receives cluster-ip. A problem that<BR>&gt; &gt; 
            FreeSWITCH it is necessary to restart (or simply to start) that it 
            began<BR>&gt; &gt; to work with the new IP-address. As the result, a 
            switching total time<BR>&gt; &gt; makes 10-20 sec which basic part 
            is necessary on launch FreeSwitch.<BR>&gt; &gt;<BR>&gt; &gt; any 
            ideas?<BR>&gt; &gt;<BR>&gt; &gt; Thanks.<BR>&gt;<BR>&gt;<BR>&gt; 
            --<BR>&gt; &nbsp; &nbsp; &nbsp; <A 
            href="mailto:klejch%2Bfreeswitch@netbox.cz" 
            target=_blank>klejch+freeswitch@netbox.cz</A><BR>&gt;<BR></DIV></DIV>
            <DIV>
            <DIV></DIV>
            <DIV>&gt; _______________________________________________<BR>&gt; 
            FreeSWITCH-users mailing list<BR>&gt; <A 
            href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
            target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR>&gt; <A 
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
            target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>&gt; 
            UNSUBSCRIBE:<A 
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
            target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>&gt; 
            <A href="http://www.freeswitch.org" 
            target=_blank>http://www.freeswitch.org</A><BR><BR><BR>Я в Моем Мире 
            - <A href="http://my.mail.ru/list/yurazilot1/" 
            target=_blank>http://my.mail.ru/list/yurazilot1/</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></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><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></BLOCKQUOTE></DIV></DIV></DIV><BR><BR 
        clear=all><BR>-- 
        <BR>Sincerely<BR><BR>Jay<BR></DIV><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></BLOCKQUOTE></DIV><BR></DIV></DIV><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></BLOCKQUOTE></DIV></DIV></DIV><BR></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></BODY></HTML>