<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
<div class="moz-signature">
<title>Document sans nom</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<font color="#000000">I've found the solution !!!!<br>
I think the problem came from the script
"ocf:heartbeat:apache". With lsb:apache2 it's OK.<br>
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).<br>
<br>
Have a good day,<br>
<br>
Yann<br>
</font><font color="#000000">
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<font color="#000000">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Win32)">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
A:link { so-language: zxx }
-->
</style>
</font></font></div>
<br>
Le 31/10/2012 14:00, Yann LE RU a écrit :<br>
</div>
<blockquote cite="mid:509120F2.40802@isen.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hello everybody,<br>
<br>
I'm a new user of pacemaker.<br>
I'm trying to have Apache running HA.<br>
To do it, I've configure a partition to be replicated with DRBD. I
would like to have my DocumentRoot on it.<br>
DRBD is working well.<br>
I've also configured pacemaker to monitor a Virtuel IP (to access
my apche service), apache, DRBD and the mounting of the
filesystem.<br>
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).<br>
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.<br>
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 !!!!<br>
<br>
My cluster architecture is :<br>
<ul>
<li>Two nodes</li>
<li>Each node is a Linux Debian Squeeze using pacemker and
corosync<br>
</li>
</ul>
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...<br>
<br>
Sincerely,<br>
<div class="moz-signature">-- <br>
<title>Document sans nom</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<table height="139" width="433">
<tbody>
<tr>
<td height="133" width="285">
<pre><strong>Yann LE RU</strong>
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 : <a moz-do-not-send="true" href="mailto:yann.le-ru@isen.fr">yann.le-ru@isen.fr
</a>Web : <a moz-do-not-send="true" href="http://www.isen.fr">http://www.isen.fr</a></pre>
</td>
<td width="153">
<div align="center">
<pre><a moz-do-not-send="true" href="http://www.isen.fr">
<img src="cid:part3.03030201.06050504@isen.fr" border="0"></a></pre>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<br>
</body>
</html>