<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Good Morning together,</div>
<div> </div>
<div>today a question about drbd and pacemaker cluster on rhel6 clone (scientific linux 6.4).</div>
<div> </div>
<div>Installed pacemaker and corosync/cman cluster after reading clusterlabs.org quickstart documentation <a href="http://clusterlabs.org/quickstart-redhat.html"><font color="blue"><u>http://clusterlabs.org/quickstart-redhat.html</u></font></a>.</div>
<div> </div>
<div>First everything seems to be OK and I can configured resources</div>
<div> </div>
<div>Now I configured a drbd resource and it fails - logfile says:</div>
<div> </div>
<div>"error: unpack_rsc_op: Preventing m_r_fodb_drbd from re-starting anywhere in the cluster : operation monitor failed 'not configured' (rc=6"</div>
<div> </div>
<div><font size="2"><span style="font-size:10.5pt;">For creating resource I used pcs</span></font></div>
<div> </div>
<div><font size="2"><span style="font-size:10.5pt;">pcs resource create r_fodb_drbd ocf:linbit:drbd params drbd_resource=drbd0 drbdconf=/etc/drbd.conf op monitor depth="0" timeout="20" interval="20" role="Slave" op monitor depth="0" timeout="20" interval="10"
role="Master"</span></font></div>
<div> </div>
<div>pcs resource master m_r_fodb_drbd r_fodb_drbd meta master-max="11" master-node-max="1" clone-max="2" clonde-node-max="1" notfiy="true"</div>
<div> </div>
<div>DRBD is installed on /usr/local and config-file is /ur/local/etc/drbd.conf - configfile for resource fodb is /usr/local/etc/drbd.d/fodb.conf</div>
<div> </div>
<div>drbd.conf</div>
<div> </div>
<div># You can find an example in /usr/share/doc/drbd.../drbd.conf.example</div>
<div> </div>
<div>include "drbd.d/global_common.conf";</div>
<div>include "drbd.d/*.res";</div>
<div>include "drbd.d/drbd0.conf";</div>
<div> </div>
<div>drbd0</div>
<div> </div>
<div>resource drbd0 {</div>
<div> protocol C;</div>
<div> disk {</div>
<div> on-io-error detach;</div>
<div> }</div>
<div> syncer {</div>
<div> rate 100M;</div>
<div> }</div>
<div> on db05-test {</div>
<div> device /dev/drbd0;</div>
<div> disk /dev/vg_system/lvdrbd;</div>
<div> address 172.28.0.1:7789;</div>
<div> meta-disk internal;</div>
<div> }</div>
<div> on db06-test {</div>
<div> device /dev/drbd0;</div>
<div> disk /dev/vg_system/lvdrbd;</div>
<div> address 172.28.0.2:7789;</div>
<div> meta-disk internal;</div>
<div> }</div>
<div>}</div>
<div> </div>
<div>DRBD-Version 8.4.3</div>
<div> </div>
<div>When I started drbd manually itīs always OK but not in pacemaker resource. I cannot find more eventlogs for drbd</div>
<div> </div>
<div>Whats wrong in my configuration and how can I debug drbd?</div>
<div> </div>
<div>greetings Wolfgang</div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>