[Pacemaker] problem with apache coming up

Testuser SST fatcharly at gmx.de
Wed Feb 16 10:50:52 EST 2011


Hi Andrew,

sorry the about the delay of my answer.
Here is the normal output:
============
Last updated: Wed Feb 16 16:43:22 2011
Stack: Heartbeat
Current DC: daxos (4f254de7-c369-4066-8d5e-bf7bb2d1f128) - partition with quorum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
2 Nodes configured, unknown expected votes
4 Resources configured.
============

Online: [ daxos astinos ]

HA_IP   (ocf::heartbeat:IPaddr2):       Started daxos
Apache  (ocf::heartbeat:apache):        Started daxos
 Master/Slave Set: WebData
     Masters: [ daxos ]
     Slaves: [ astinos ]
WebDataFS       (ocf::heartbeat:Filesystem):    Started daxos

Operations:
* Node daxos:
   HA_IP: migration-threshold=1000000
    + (6) start: rc=0 (ok)
    + (8) monitor: interval=30000ms rc=0 (ok)
   Apache: migration-threshold=1000000
    + (14) start: rc=0 (ok)
    + (15) monitor: interval=60000ms rc=0 (ok)
   WebDataFS: migration-threshold=1000000
    + (13) start: rc=0 (ok)
   wwwdrbd:0: migration-threshold=1000000
    + (7) start: rc=0 (ok)
    + (11) promote: rc=0 (ok)
* Node astinos:
   wwwdrbd:1: migration-threshold=1000000
    + (6) start: rc=0 (ok)
    + (8) monitor: interval=60000ms rc=0 (ok

----------------------------------------------
And here is the output with a standby-try of the normal behaving node.



============
Last updated: Wed Feb 16 16:44:38 2011
Stack: Heartbeat
Current DC: daxos (4f254de7-c369-4066-8d5e-bf7bb2d1f128) - partition with quorum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
2 Nodes configured, unknown expected votes
4 Resources configured.
============

Node daxos (4f254de7-c369-4066-8d5e-bf7bb2d1f128): standby
Online: [ astinos ]

HA_IP   (ocf::heartbeat:IPaddr2):       Started astinos
 Master/Slave Set: WebData
     Masters: [ astinos ]
     Stopped: [ wwwdrbd:0 ]
WebDataFS       (ocf::heartbeat:Filesystem):    Started astinos

Operations:
* Node daxos:
   HA_IP: migration-threshold=1000000
    + (6) start: rc=0 (ok)
    + (8) monitor: interval=30000ms rc=0 (ok)
    + (18) stop: rc=0 (ok)
   Apache: migration-threshold=1000000
    + (14) start: rc=0 (ok)
    + (15) monitor: interval=60000ms rc=0 (ok)
    + (19) stop: rc=0 (ok)
   WebDataFS: migration-threshold=1000000
    + (13) start: rc=0 (ok)
    + (21) stop: rc=0 (ok)
   wwwdrbd:0: migration-threshold=1000000
    + (7) start: rc=0 (ok)
    + (11) promote: rc=0 (ok)
    + (22) demote: rc=0 (ok)
    + (25) stop: rc=0 (ok)
* Node astinos:
   WebDataFS: migration-threshold=1000000
    + (18) start: rc=0 (ok)
   HA_IP: migration-threshold=1000000
    + (10) start: rc=0 (ok)
    + (11) monitor: interval=30000ms rc=0 (ok)
   Apache: migration-threshold=1000000 fail-count=1000000
    + (19) start: rc=1 (unknown error)
    + (20) stop: rc=0 (ok)
   wwwdrbd:1: migration-threshold=1000000
    + (6) start: rc=0 (ok)
    + (16) promote: rc=0 (ok)

Failed actions:
    Apache_start_0 (node=astinos, call=19, rc=1, status=complete): unknown error



Any suggestions ? The apache is normal operabel with a service httpd stop/start command.


Kind Regards

Sven




-------- Original-Nachricht --------
> Datum: Thu, 10 Feb 2011 08:44:47 +0100
> Von: Andrew Beekhof <andrew at beekhof.net>
> An: The Pacemaker cluster resource manager <pacemaker at oss.clusterlabs.org>
> Betreff: Re: [Pacemaker] problem with apache coming up

> You can try crm_mon -o
> That will at least tell you what Pacemaker did with your resource.
> At the very least there should be a ...._monitor_0 operation
> 
> On Wed, Feb 9, 2011 at 3:58 PM, Testuser  SST <fatcharly at gmx.de> wrote:
> > Hi Vladislav,
> >
> > no, selinux is disabled right now.
> >
> > Kind Regards
> >
> > Sven
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Wed, 09 Feb 2011 16:22:49 +0200
> >> Von: Vladislav Bogdanov <bubble at hoster-ok.com>
> >> An: pacemaker at oss.clusterlabs.org
> >> Betreff: Re: [Pacemaker] problem with apache coming up
> >
> >> 08.02.2011 17:13, Testuser SST wrote:
> >> > Hi,
> >> >
> >> > I´m implementing a two node webserver on CentOS 5 with
> >> > heartbeat/pacemaker and DRBD. The first new installed node works
> >> > fine, but when the second node becomes active, there seems to be a
> >> > problem with the apache starting up. Is there a way to get some more
> >>
> >> Don't you have selinux in enforcing mode (run getenforce)?
> >> Look for 'avc' lines in /var/log/audit/*
> >>
> >> Best,
> >> Vladislav
> >>
> >> _______________________________________________
> >> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >
> > --
> > Schon gehört? GMX hat einen genialen Phishing-Filter in die
> > Toolbar eingebaut! http://www.gmx.net/de/go/toolbar
> >
> > _______________________________________________
> > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >
> 
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de




More information about the Pacemaker mailing list