[Pacemaker] DRBD with Pacemaker on CentOs 6.5

Andrew Beekhof andrew at beekhof.net
Mon Oct 27 03:35:52 UTC 2014


Oct 27 10:28:44 node02 apache(WebSite)[10515]: ERROR: Syntax error on line 292 of /etc/httpd/conf/httpd.conf: DocumentRoot must be a directory



> On 27 Oct 2014, at 1:36 pm, Sihan Goi <goister at gmail.com> wrote:
> 
> Hi Andrew,
> 
> Logs in /var/log/httpd/ are empty, but here's a snippet of /var/log/messages right after I start pacemaker and do a "crm status"
> 
> http://pastebin.com/ivQdyV4u
> 
> Seems like the Apache service doesn't come up. This only happens after I run the commands in the guide to configure DRBD.
> 
> On Fri, Oct 24, 2014 at 8:29 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
> logs?
> 
> > On 23 Oct 2014, at 1:08 pm, Sihan Goi <goister at gmail.com> wrote:
> >
> > Hi, can anyone help? Really stuck here...
> >
> > On Mon, Oct 20, 2014 at 9:46 AM, Sihan Goi <goister at gmail.com> wrote:
> > Hi,
> >
> > I'm following the "Clusters from Scratch" guide for Fedora 13, and I've managed to get a 2 node cluster working with Apache. However, once I tried to add DRBD 8.4 to the mix, it stopped working.
> >
> > I've followed the DRBD steps in the guide all the way till "cib commit fs" in Section 7.4, right before "Testing Migration". However, when I do a crm_mon, I get the following "failed actions".
> >
> > Last updated: Thu Oct 16 17:28:34 2014
> > Last change: Thu Oct 16 17:26:04 2014 via crm_shadow on node01
> > Stack: cman
> > Current DC: node02 - partition with quorum
> > Version: 1.1.10-14.el6_5.3-368c726
> > 2 Nodes configured
> > 5 Resources configured
> >
> >
> > Online: [ node01 node02 ]
> >
> > ClusterIP    (ocf::heartbeat:IPaddr2):    Started node02
> >  Master/Slave Set: WebDataClone [WebData]
> >      Masters: [ node02 ]
> >      Slaves: [ node01 ]
> > WebFS   (ocf::heartbeat:Filesystem):    Started node02
> >
> > Failed actions:
> >     WebSite_start_0 on node02 'unknown error' (1): call=278, status=Timed Out, last-rc-change='Thu Oct 16 17:26:28 2014', queued=20000ms, exec=0ms
> >     WebSite_start_0 on node01 'unknown error' (1): call=203, status=Timed
> > Out, last-rc-change='Thu Oct 16 17:26:09 2014', queued=20000ms, exec=0ms
> >
> > Seems like the apache Website resource isn't starting up. Apache was
> > working just fine before I configured DRBD. What did I do wrong?
> >
> > --
> > - Goi Sihan
> > goister at gmail.com
> >
> >
> >
> > --
> > - Goi Sihan
> > goister at gmail.com
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 
> 
> 
> -- 
> - Goi Sihan
> goister at gmail.com
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list