[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 13:00:34 UTC 2012
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/8e460dd8/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Small_Logo_ISEN-Brest2.gif
Type: image/gif
Size: 2847 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121031/8e460dd8/attachment-0003.gif>
More information about the Pacemaker
mailing list