<div dir="ltr">I am not going to use block level replication,<div><br></div><div>Basically I have a Asterisk server running in one server, and I would like to make a failover for the same. My asterisk runs in Cent OS 6.4 64bit OS. </div>

<div><br></div><div>And I have some configuration files where it has to sync automatically and when the primary goes down, the secondary has to come UP automatically.</div><div><br></div><div>I have two setup, one with MySQL in same machine, and other setup MySQL as common, only application is there in nodes. </div>

<div><br></div><div>Thanks. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 1:22 AM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't know what you want to do, so I can't say if DRBD is right for you or not.<br>
<br>
If you need synchronous, block-level replication, then DRBD is excellent.<div class="im"><br>
<br>
On 18/07/13 15:49, Gopalakrishnan N wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Why to use DRBD? Cant I use lyncd with rsync? Any idea?<br>
<br>
<br>
On Fri, Jul 19, 2013 at 1:10 AM, Gopalakrishnan N<br></div><div class="im">
<<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a> <mailto:<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@<u></u>gmail.com</a>>> wrote:<br>


<br>
    Thanks for your comments.<br>
<br>
    Am using CentOS, hope I can follow this PDF -<br>
    <a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.0/pdf/Clusters_from_Scratch/Pacemaker-1.0-Clusters_from_Scratch-en-US.pdf" target="_blank">http://clusterlabs.org/doc/en-<u></u>US/Pacemaker/1.0/pdf/Clusters_<u></u>from_Scratch/Pacemaker-1.0-<u></u>Clusters_from_Scratch-en-US.<u></u>pdf</a><br>


<br>
<br>
    On Fri, Jul 19, 2013 at 12:48 AM, Digimer <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a><br></div><div class="im">
    <mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>>> wrote:<br>
<br>
        On 18/07/13 15:07, Gopalakrishnan N wrote:<br>
<br>
            I have gone through certain links, as like the below,<br>
<br></div><div class="im">
            <a href="https://www.johncahill.net/__wiki/index.php/2_Node_Active/__Passive_cluster#Install_and___configure_lsyncd" target="_blank">https://www.johncahill.net/__<u></u>wiki/index.php/2_Node_Active/_<u></u>_Passive_cluster#Install_and__<u></u>_configure_lsyncd</a><br>


            <<a href="https://www.johncahill.net/wiki/index.php/2_Node_Active/Passive_cluster#Install_and_configure_lsyncd" target="_blank">https://www.johncahill.net/<u></u>wiki/index.php/2_Node_Active/<u></u>Passive_cluster#Install_and_<u></u>configure_lsyncd</a>><br>


<br>
            <a href="http://www.6tech.org/2013/03/__linux-firewall-cluster-with-__pacemaker-and-corosync/" target="_blank">http://www.6tech.org/2013/03/_<u></u>_linux-firewall-cluster-with-_<u></u>_pacemaker-and-corosync/</a><br>


            <<a href="http://www.6tech.org/2013/03/linux-firewall-cluster-with-pacemaker-and-corosync/" target="_blank">http://www.6tech.org/2013/03/<u></u>linux-firewall-cluster-with-<u></u>pacemaker-and-corosync/</a>><br>


<br>
            <a href="http://zeldor.biz/2010/12/__activepassive-cluster-with-__pacemaker-corosync/" target="_blank">http://zeldor.biz/2010/12/__<u></u>activepassive-cluster-with-__<u></u>pacemaker-corosync/</a><br></div><div>

<div class="h5">
            <<a href="http://zeldor.biz/2010/12/activepassive-cluster-with-pacemaker-corosync/" target="_blank">http://zeldor.biz/2010/12/<u></u>activepassive-cluster-with-<u></u>pacemaker-corosync/</a>><br>
<br>
            In all these the messages are different, in some article i<br>
            saw i have to<br>
            use virtual IP along with physical IP address, in some<br>
            article only<br>
            physical IP address is defined.<br>
<br>
            Also I have to use floating IP address, if am not wrong....!<br>
<br>
            Is there any proper article to follow and make a setup with<br>
            Pacemaker,<br>
            Corosync by using rsync of my files...!<br>
<br>
            Thanks in advance.<br>
<br>
<br>
        The "Clusters from Scratch" tutorial is maintained by<br>
        pacemaker's author, so it's as authoritative as it gets.<br>
<br>
        <a href="http://clusterlabs.org/doc/" target="_blank">http://clusterlabs.org/doc/</a><br>
<br>
        It covers configuring a virtual IP address. Which version you<br>
        follow, crmsh or pcs, depends on your operating system. If<br>
        you're using RHEL/CentOS/Fedora, you'll probably want the pcs<br>
        version. In all other cases, you'll probably want the crmsh version.<br>
<br>
        Section 5.2 shows how to setup a virtual/floating IP address.<br>
<br>
        --<br>
        Digimer<br>
        Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
        What if the cure for cancer is trapped in the mind of a person<br>
        without access to education?<br>
<br>
<br>
<br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
-- <br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without access to education?<br>
</div></div></blockquote></div><br></div>