<div dir="ltr">yes I feel the config has to be bit improved with Master / Salve concept, or else what happens is when one server goes down the pointing one, the other one is not propagated. <div><br></div><div>For this am trying to install DRBD and GFS, but the packages are missing, am trying to get the rpm to install the same. </div>
<div><br></div><div>Any other comments would be appreciated. </div><div><br></div><div>Thanks. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 25, 2013 at 8:10 AM, Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 23/07/2013, at 2:39 AM, Gopalakrishnan N <<a href="mailto:gopalakrishnan.an@gmail.com">gopalakrishnan.an@gmail.com</a>> wrote:<br>
<br>
> Now I got one more issue, when I stop the complete pacemaker application, the other one node automatically projects me the http service.<br>
><br>
> But when I stop the http service alone in one node which is pointing to ClusterIP, the page is not opening.<br>
<br>
</div>Something looks quite wrong here. Config?<br>
<div><div class="h5"><br>
><br>
> Basically, the crm_mon -1 shows it is always pointed to node1,<br>
><br>
> [root@pcmk-2 ~]# crm_mon -1<br>
> Last updated: Mon Jul 22 20:33:47 2013<br>
> Last change: Sat Jul 20 02:21:28 2013 via crm_shadow on pcmk-2<br>
> Stack: cman<br>
> Current DC: pcmk-1 - partition with quorum<br>
> Version: 1.1.8-7.el6-394e906<br>
> 3 Nodes configured, 2 expected votes<br>
> 5 Resources configured.<br>
><br>
><br>
> Online: [ pcmk-1 pcmk-2 ]<br>
> OFFLINE: [ localhost.localdomain ]<br>
><br>
> Clone Set: WebIP [ClusterIP] (unique)<br>
> ClusterIP:0 (ocf::heartbeat:IPaddr2): Started pcmk-1<br>
> ClusterIP:1 (ocf::heartbeat:IPaddr2): Started pcmk-1<br>
> Clone Set: WebSiteClone [WebSite]<br>
> Started: [ pcmk-1 ]<br>
> Stopped: [ WebSite:1 WebSite:2 ]<br>
><br>
> So the problem is when I stop http service in pcmk-1, its not point automatically to node2 i.e.pcmk-2.<br>
><br>
> I didn't configured DRBD and GFS2 filesystem. Will that matters?<br>
><br>
> Regards<br>
><br>
><br>
> On Sat, Jul 20, 2013 at 4:35 AM, Gopalakrishnan N <<a href="mailto:gopalakrishnan.an@gmail.com">gopalakrishnan.an@gmail.com</a>> wrote:<br>
> 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.<br>
><br>
> Will enjoy my weekend.... :D<br>
><br>
><br>
> On Fri, Jul 19, 2013 at 2:26 AM, Gopalakrishnan N <<a href="mailto:gopalakrishnan.an@gmail.com">gopalakrishnan.an@gmail.com</a>> wrote:<br>
> Thank you for your valuable information. ..:)<br>
><br>
> On 19 Jul 2013 02:09, "Digimer" <<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a>> wrote:<br>
> 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>
> 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">lists@alteeve.ca</a><br>
> <mailto:<a href="mailto:lists@alteeve.ca">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">lists@alteeve.ca</a><br>
> <mailto:<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a>><br>
> <mailto:<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a> <mailto:<a href="mailto:lists@alteeve.ca">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>
><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>
><br>
><br>
</div></div>> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>