<div dir="ltr">i seen this in your pacemaker config<br><br>      stonith-enabled=&quot;false&quot; <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-05 11:54 GMT+01:00 Anne Nicolas <span dir="ltr">&lt;<a href="mailto:ennael1@gmail.com" target="_blank">ennael1@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 05/03/2014 11:26, emmanuel segura a écrit :<br>
<div class="">&gt; because you don&#39;t have fencing configured<br>
<br>
</div>As said I&#39;ve added it in /etc/drbd.d/global_common.conf which is now<br>
<div class=""><br>
     $ cat global_common.conf<br>
     global {<br>
             usage-count no;<br>
             disable-ip-verification;<br>
      }<br>
     common {<br>
</div><div class="">     handlers {<br>
         fence-peer &quot;/usr/lib/drbd/crm-fence-peer.sh&quot;;<br>
         after-resync-target &quot;/usr/lib/drbd/crm-unfence-peer.sh&quot;;<br>
       }<br>
</div>             syncer { rate 500M; }<br>
}<br>
<br>
but no improvment.<br>
<div class=""><br>
&gt;<br>
&gt;<br>
&gt; 2014-03-05 9:28 GMT+01:00 Anne Nicolas &lt;<a href="mailto:ennael1@gmail.com">ennael1@gmail.com</a><br>
</div>&gt; &lt;mailto:<a href="mailto:ennael1@gmail.com">ennael1@gmail.com</a>&gt;&gt;:<br>
<div><div class="h5">&gt;<br>
&gt;     Hi<br>
&gt;<br>
&gt;     I&#39;m having trouble setting a very simple cluster with 2 nodes. After all<br>
&gt;     reboot I&#39;m getting split brain that I have to solve by hand then.<br>
&gt;     Looking for a solution for that one...<br>
&gt;<br>
&gt;     Both nodes have 4 network interfaces. We use 3 of them: one for an IP<br>
&gt;     cluster, one for a bridge for a vm and the last one for the private<br>
&gt;     network of the cluster<br>
&gt;<br>
&gt;     I&#39;m using<br>
&gt;     drbd : 8.3.9<br>
&gt;     drbd-utils: 8.3.9<br>
&gt;<br>
&gt;     DRBD configuration:<br>
&gt;     ============<br>
&gt;     $ cat global_common.conf<br>
&gt;     global {<br>
&gt;             usage-count no;<br>
&gt;             disable-ip-verification;<br>
&gt;      }<br>
&gt;     common { syncer { rate 500M; } }<br>
&gt;<br>
&gt;     cat server.res<br>
&gt;     resource server {<br>
&gt;             protocol C;<br>
&gt;             net {<br>
&gt;                      cram-hmac-alg sha1;<br>
&gt;                      shared-secret &quot;eafcupps&quot;;<br>
&gt;                 }<br>
&gt;      on dzacupsvr {<br>
&gt;         device     /dev/drbd0;<br>
&gt;         disk       /dev/vg0/server;<br>
</div></div>&gt;         address    <a href="http://172.16.1.1:7788" target="_blank">172.16.1.1:7788</a> &lt;<a href="http://172.16.1.1:7788" target="_blank">http://172.16.1.1:7788</a>&gt;;<br>
<div class="">&gt;         flexible-meta-disk  internal;<br>
&gt;       }<br>
&gt;       on dzacupsvr2 {<br>
&gt;         device     /dev/drbd0;<br>
&gt;         disk       /dev/vg0/server;<br>
</div>&gt;         address    <a href="http://172.16.1.2:7788" target="_blank">172.16.1.2:7788</a> &lt;<a href="http://172.16.1.2:7788" target="_blank">http://172.16.1.2:7788</a>&gt;;<br>
<div class="">&gt;         flexible-meta-disk  internal;<br>
&gt;       }<br>
&gt;     }<br>
&gt;<br>
&gt;     Pacemaker configuration<br>
&gt;     ===============<br>
</div>&gt;     node $id=&quot;<a href="tel:16847020" value="+4916847020">16847020</a> &lt;tel:<a href="tel:16847020" value="+4916847020">16847020</a>&gt;&quot; dzacupsvr<br>
<div><div class="h5">&gt;     node $id=&quot;33624236&quot; dzacupsvr2<br>
&gt;     primitive apache ocf:heartbeat:apache \<br>
&gt;             params configfile=&quot;/etc/httpd/conf/httpd.conf&quot; \<br>
&gt;             op start interval=&quot;0&quot; timeout=&quot;40s&quot; \<br>
&gt;             op stop interval=&quot;0&quot; timeout=&quot;60s&quot;<br>
&gt;     primitive clusterip ocf:heartbeat:IPaddr2 \<br>
&gt;             params ip=&quot;192.168.1.5&quot; cidr_netmask=&quot;24&quot; nic=&quot;eth0&quot;<br>
&gt;     primitive drbdserv ocf:linbit:drbd \<br>
&gt;             params drbd_resource=&quot;server&quot; \<br>
&gt;             op monitor interval=&quot;60s&quot;<br>
&gt;     primitive fsserv ocf:heartbeat:Filesystem \<br>
&gt;             params device=&quot;/dev/drbd/by-res/server&quot; directory=&quot;/EdgeServer&quot;<br>
&gt;     fstype=&quot;ext4&quot;<br>
&gt;     primitive libvirt-guests lsb:libvirt-guests<br>
&gt;     primitive libvirtd lsb:libvirtd<br>
&gt;     primitive mysql ocf:heartbeat:mysql \<br>
&gt;             params binary=&quot;/usr/bin/mysqld_safe&quot; config=&quot;/etc/my.cnf&quot;<br>
&gt;     datadir=&quot;/EdgeServer/mysql&quot; \<br>
&gt;             op start interval=&quot;0&quot; timeout=&quot;40s&quot; \<br>
&gt;             op stop interval=&quot;0&quot; timeout=&quot;60s&quot; \<br>
&gt;             meta target-role=&quot;Started&quot;<br>
&gt;     primitive named lsb:named<br>
&gt;     primitive samba lsb:smb<br>
&gt;     group services fsserv clusterip libvirtd samba apache mysql<br>
&gt;     ms drbdservClone drbdserv \<br>
&gt;             meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot;<br>
&gt;     clone-node-max=&quot;1&quot; notify=&quot;true&quot;<br>
&gt;     colocation fs_on_drbd inf: fsserv drbdservClone:Master<br>
&gt;     order fsserv-after-drbdserv inf: drbdservClone:promote fsserv:start<br>
&gt;     property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt;<br>
&gt;     dc-version=&quot;1.1.7-2.mga1-ee0730e13d124c3d58f00016c3376a1de5323cff&quot; \<br>
&gt;             cluster-infrastructure=&quot;corosync&quot; \<br>
&gt;             stonith-enabled=&quot;false&quot; \<br>
&gt;             no-quorum-policy=&quot;ignore&quot;<br>
&gt;<br>
&gt;     and here are the logs<br>
&gt;     <a href="http://pastebin.com/DcV2WM3M" target="_blank">http://pastebin.com/DcV2WM3M</a><br>
&gt;<br>
&gt;     After looking for more information, I&#39;ve added fences in drbd<br>
&gt;     configuration<br>
&gt;<br>
&gt;     handlers {<br>
&gt;         fence-peer &quot;/usr/lib/drbd/crm-fence-peer.sh&quot;;<br>
&gt;         after-resync-target &quot;/usr/lib/drbd/crm-unfence-peer.sh&quot;;<br>
&gt;       }<br>
&gt;     but still without any success...<br>
&gt;<br>
&gt;     Any help appreciated<br>
&gt;<br>
&gt;     Cheers<br>
&gt;<br>
&gt;     --<br>
&gt;     Anne<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Anne<br>
&gt;     <a href="http://mageia.org" target="_blank">http://mageia.org</a><br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;     <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt;     Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt;     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>
&gt;     Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; esta es mi vida e me la vivo hasta que dios quiera<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
<br>
<br>
--<br>
Anne<br>
<a href="http://mageia.org" target="_blank">http://mageia.org</a><br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>