<div dir="ltr">May 16 16:42:50 server1 lrmd: [2479]: info: RA output: (Cluster-FS-DRBD:0:start:stderr) drbdadm: Unknown command 'syncer'<br>May 16 16:42:50 server1 drbd[2554]: ERROR: r0: Called drbdadm -c /etc/drbd.conf </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-16 13:32 GMT+02:00 kamal kishi <span dir="ltr"><<a href="mailto:kamal.kishi@gmail.com" target="_blank">kamal.kishi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi Emi,<br><br></div>I changed DRBD and Pacemaker configs as attached,<br></div>still no results.<br><br></div>The Exit Code is 3 now<br><br></div>Have attached logs too<br><br></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 15, 2014 at 2:48 PM, emmanuel segura <span dir="ltr"><<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Are you sure that your drbd work by hand? this is from your log<br><br>May 15 12:26:04 server1 lrmd: [1211]: info: RA output: 
(Cluster-FS-DRBD:0:start:stderr) Command 'drbdsetup new-resource r0' 
terminated with exit code 20<br>May 15 12:26:04 server1 drbd[1808]: ERROR: r0: Called drbdadm -c /etc/drbd.conf new-resource r0<br>May 15 12:26:04 server1 drbd[1808]: ERROR: r0: Exit code 20<br>May 15 12:26:04 server1 drbd[1808]: ERROR: r0: Command output: <br>


</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-15 10:37 GMT+02:00 kamal kishi <span dir="ltr"><<a href="mailto:kamal.kishi@gmail.com" target="_blank">kamal.kishi@gmail.com</a>></span>:<div>

<div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi emi,<br><br></div>The document also says the following :<br><p>"It is also possible to use <code>drbd.conf</code> as a flat configuration file
without any <code>include</code> statements at all. Such a configuration,
however, quickly becomes cluttered and hard to manage, which is why
the multiple-file approach is the preferred one.</p><p>Regardless of which approach you employ, you should always make sure
that <code>drbd.conf</code>, and any other files it includes, are <span><em>exactly
identical</em></span> on all participating cluster nodes."</p><p>I've tried that way too, but of no use.</p><p>Tried giving -</p><p>params device="/dev/drbd0" directory="/cluster" fstype="ocfs2" \ <br>



</p><p>instead of </p><p>params device="/dev/drbd/by-res/r0" directory="/cluster" fstype="ocfs2" \</p><p>even that failed.</p><p>But my doubt is that i'm able to manually work with DRBD without any issue but why can't via pacemaker.</p>



<p>Any useful info in logs??</p><p>I did not get any, so inquiring<br></p><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 1:51 PM, emmanuel segura <span dir="ltr"><<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You don't declared your drbd resource r0 in the configuration, read this <a href="http://www.drbd.org/users-guide/s-configure-resource.html" target="_blank">http://www.drbd.org/users-guide/s-configure-resource.html</a><br>




</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-15 9:33 GMT+02:00 kamal kishi <span dir="ltr"><<a href="mailto:kamal.kishi@gmail.com" target="_blank">kamal.kishi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div>
<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi All,<br><br></div>My configuration is simple and straight, UBUNTU 12.04 used to run pacemaker.<br></div>Pacemaker runs DRBD and OCFS2.<br><br></div><div>The DRBD can be started manually without any error or issues with primary/primary configuration.<br>






</div><div><br>(NOTE : This configuration is being done as base to 
configure ACTIVE-ACTIVE XEN configuration, hence the "become-primary-on 
both;' is used in DRBD config)<br></div><div><br></div>Configuration attached :<br>
</div>1. DRBD<br></div>2. Pacemaker<br><br></div>Log attached :<br></div>Syslog1 - Server 1<br></div>Syslog2 - Server 2<br><br></div>Hope and wish I get a solution.<span><font color="#888888"><br clear="all">
<br>-- <br>Regards,<br>Kamal Kishore B V<br>

</font></span></div>
<br></div></div>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</font></span></div>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Kamal Kishore B V<br>
</div>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div></div></div><div><div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div></div></div>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Kamal Kishore B V<br>
</div>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>