[Pacemaker] Pacemaket + Corosync + DRBD + Apache : apache can't start when the DocumentRoot change
Yann LE RU
yann.le-ru at isen.fr
Wed Oct 31 14:19:35 UTC 2012
Document sans nom I've found the solution !!!!
I think the problem came from the script "ocf:heartbeat:apache". With
lsb:apache2 it's OK.
It's very strange because this script seems OK, everything work if I let
pacemaker take care of DRBD and Filesystem and that I execute the script
manually. But if I configure pacemaker to use it it fails... (only with
DRBD).
Have a good day,
Yann
Le 31/10/2012 14:00, Yann LE RU a écrit :
> Hello everybody,
>
> I'm a new user of pacemaker.
> I'm trying to have Apache running HA.
> To do it, I've configure a partition to be replicated with DRBD. I
> would like to have my DocumentRoot on it.
> DRBD is working well.
> I've also configured pacemaker to monitor a Virtuel IP (to access my
> apche service), apache, DRBD and the mounting of the filesystem.
> Everything is working with Pacemaker. I can stop one node and all the
> services start on the other (I'm using colocation to be sure
> everything is running on the same node and order to be sure the
> services start in the good order).
> Now I would like to use the same DocumentRoot even if one node fails.
> But when I change the DocumentRoot parameter to user the DRBD
> partition, apache don't manage to start.
> If I stop corosync and start DRBD by hand, mount the filesystem by
> hand and start apache by hand (with DocumentRoot pointing to the DRBD
> partition), it works !!!!
>
> My cluster architecture is :
>
> * Two nodes
> * Each node is a Linux Debian Squeeze using pacemker and corosync
>
> Could you please help me ? I have no more idea !!! I've read a lot on
> Internet and followed the tutorials. I think I did like other people
> who have a cluster working...
>
> Sincerely,
> --
> Document sans nom
> *Yann LE RU*
> Responsable Systèmes & Réseaux
> Responsable Cycle Informatique & Réseaux
>
> Tél. : +33 (0)2.98.03.84.13
> Fax : +33 (0)2.98.03.84.10
> Courriel :yann.le-ru at isen.fr
> <mailto:yann.le-ru at isen.fr>Web :http://www.isen.fr
>
>
>
>
> <http://www.isen.fr>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121031/86fae1fd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2847 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121031/86fae1fd/attachment-0004.gif>
More information about the Pacemaker
mailing list