Title: 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...@isen.fr
Web      : http://www.isen.fr

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to