<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi dear list members !<br>
<br>
I have a procluster project I'm working on right now and I have a
little problem I'd like you to help me with.<br>
<br>
I'm configuring Pacemaker and Corosync.<br>
<br>
But when pacemaker starts DRBD, it detects a split brain and the
status is:<br>
<br>
drbd driver loaded OK; device status:<br>
version: 8.3.13 (api:88/proto:86-96)<br>
srcversion: C0F510A918B92928FB51EE3 <br>
m:res cs ro ds p
mounted fstype<br>
0:r0 StandAlone Primary/Unknown UpToDate/DUnknown r-----<br>
<br>
On both servers.<br>
<br>
But If I start it using the standard init script, it's all fine.<br>
<br>
Here are my configs:<br>
<br>
DRBD:<br>
---------------------------------------------------------------------------------<br>
resource r0 {<br>
syncer {<br>
rate 1000M;<br>
}<br>
startup {<br>
wfc-timeout 15;<br>
degr-wfc-timeout 60;<br>
become-primary-on both;<br>
}<br>
net {<br>
allow-two-primaries;<br>
after-sb-0pri discard-zero-changes;<br>
after-sb-1pri discard-secondary;<br>
after-sb-2pri disconnect;<br>
cram-hmac-alg sha1;<br>
shared-secret "secret";<br>
}<br>
on web1dev {<br>
device /dev/drbd0;<br>
disk /dev/mapper/groupe1-data;<br>
address 192.168.77.212:7789;<br>
meta-disk internal;<br>
}<br>
on web2dev {<br>
device /dev/drbd0;<br>
disk /dev/mapper/groupe1-data;<br>
address 192.168.77.213:7789;<br>
meta-disk internal;<br>
}<br>
}<br>
---------------------------------------------------------------------------------<br>
<br>
And Pacemaker:<br>
<br>
---------------------------------------------------------------------------------<br>
primitive p_drbd ocf:linbit:drbd \<br>
params drbd_resource="r0" \<br>
op start interval="0" timeout="240s" \<br>
op promote interval="0" timeout="90s" \<br>
op demote interval="0" timeout="90s" \<br>
op notify interval="0" timeout="90s" \<br>
op stop interval="0" timeout="100s" \<br>
op monitor interval="20s" role="Slave" timeout="20s" \<br>
op monitor interval="10s" role="Master" timeout="20s"<br>
ms ms_drbd p_drbd \<br>
meta master-max="2" clone-max="2" notify="true"
is-managed="true"<br>
---------------------------------------------------------------------------------<br>
<br>
What could be possibly wrong ?<br>
<br>
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<br>
<img alt="CCDMD 20 ans !"
src="cid:part1.02070800.08000208@ccdmd.qc.ca" height="75"
width="71"><br>
<br>
Jonathan-Marc Lapointe<br>
Technicien en informatique,<br>
Administrateur système,<br>
Administrateur réseau<br>
<br>
Centre collégial de développement de matériel didactique<br>
6220, rue Sherbrooke Est, bureau 404<br>
Montréal (Québec) H1N 1C1<br>
514) 864-8443<br>
<a href="http://www.ccdmd.qc.ca">www.ccdmd.qc.ca</a><br>
<a href="mailto:jmlapointe@ccdmd.qc.ca">jmlapointe@ccdmd.qc.ca</a><br>
Skype: jmlccdmd<br>
</div>
</body>
</html>