<div dir="ltr">It supposed to be Master/Salve concept... if am not wrong... <div><br></div><div>Let me try with DRBD and GFS setup... .</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 10:09 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Now I got one more issue, when I stop the complete pacemaker application, the other one node automatically projects me the http service. <div>
<br></div><div>But when I stop the http service alone in one node which is pointing to ClusterIP, the page is not opening. </div>
<div><br></div><div>Basically, the crm_mon -1 shows it is always pointed to node1,</div><div><br></div><div><div><span style="background-color:rgb(255,255,0)">[root@pcmk-2 ~]# crm_mon -1</span></div><div><span style="background-color:rgb(255,255,0)">Last updated: Mon Jul 22 20:33:47 2013</span></div>
<div><span style="background-color:rgb(255,255,0)">Last change: Sat Jul 20 02:21:28 2013 via crm_shadow on pcmk-2</span></div><div><span style="background-color:rgb(255,255,0)">Stack: cman</span></div><div><span style="background-color:rgb(255,255,0)">Current DC: pcmk-1 - partition with quorum</span></div>
<div><span style="background-color:rgb(255,255,0)">Version: 1.1.8-7.el6-394e906</span></div><div><span style="background-color:rgb(255,255,0)">3 Nodes configured, 2 expected votes</span></div><div><span style="background-color:rgb(255,255,0)">5 Resources configured.</span></div>
<div><span style="background-color:rgb(255,255,0)"><br></span></div><div><span style="background-color:rgb(255,255,0)"><br></span></div><div><span style="background-color:rgb(255,255,0)">Online: [ pcmk-1 pcmk-2 ]</span></div>
<div><span style="background-color:rgb(255,255,0)">OFFLINE: [ localhost.localdomain ]</span></div><div><span style="background-color:rgb(255,255,0)"><br></span></div><div><span style="background-color:rgb(255,255,0)"> Clone Set: WebIP [ClusterIP] (unique)</span></div>
<div><span style="background-color:rgb(255,255,0)"> ClusterIP:0 (ocf::heartbeat:IPaddr2): Started pcmk-1</span></div><div><span style="background-color:rgb(255,255,0)"> ClusterIP:1 (ocf::heartbeat:IPaddr2): Started pcmk-1</span></div>
<div><span style="background-color:rgb(255,255,0)"> Clone Set: WebSiteClone [WebSite]</span></div><div><span style="background-color:rgb(255,255,0)"> Started: [ pcmk-1 ]</span></div><div><span style="background-color:rgb(255,255,0)"> Stopped: [ WebSite:1 WebSite:2 ]</span></div>
</div><div><br></div><div>So the problem is when I stop http service in pcmk-1, its not point automatically to node2 i.e.pcmk-2.</div><div><br></div><div>I didn't configured DRBD and GFS2 filesystem. Will that matters?</div>
<div><br></div><div>Regards</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 20, 2013 at 4:35 AM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Finally did a test setup without DRBD its working fine with Apache services, now need to work out for my application, my application works with Apache Tomcat. <div>
<br></div><div>Will enjoy my weekend.... :D</div><div><div>
<div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 2:26 AM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Thank you for your valuable information. ..:)</p><div><div>
<div class="gmail_quote">On 19 Jul 2013 02:09, "Digimer" <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Be sure to enable and use stonith!<br>
<br>
This is extremely important to avoid split-brains, and something many people skip at first, not properly appreciating the important role stonith plays.<br>
<br>
digimer<br>
<br>
On 18/07/13 16:29, Gopalakrishnan N wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ok thanks.. then let me start with basic functional Active/Passive node<br>
sync with example... (Apache)<br>
<br>
Once again thanks...<br>
<br>
<br>
On Fri, Jul 19, 2013 at 1:54 AM, Digimer <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a><br>
<mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>>> wrote:<br>
<br>
If periodic rsync does the job, then no, you don't need drbd.<br>
<br>
<br>
On 18/07/13 16:12, Gopalakrishnan N wrote:<br>
<br>
Thanks for your comments...<br>
<br>
Ok better I can do rync periodically in crontab.<br>
<br>
I will take up with crm itself, and still i have doubt that do I<br>
need to<br>
use DRBD...<br>
<br>
<br>
<br>
<br>
On Fri, Jul 19, 2013 at 1:34 AM, Digimer <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a><br>
<mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>><br>
<mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a> <mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>>>> wrote:<br>
<br>
On 18/07/13 15:56, Gopalakrishnan N wrote:<br>
<br>
And I have some configuration files where it has to sync<br>
automatically<br>
and when the primary goes down, the secondary has to<br>
come UP<br>
automatically.<br>
<br>
<br>
This confuses me a little. I don't use asterix or MySQL, so<br>
I don't<br>
know what they need. If you need to keep files in sync<br>
between the<br>
nodes at all times, you need shared storage with a cluster file<br>
system. If you only change the files periodically though,<br>
you can<br>
manually rsync the updated configs yourself and avoid this.<br>
<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>
<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>
</blockquote>
<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>
</blockquote></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>