Digimer i use your manual ;) <div><br></div><div><a href="https://alteeve.com/w/Red_Hat_Cluster_Service_2_Tutorial">https://alteeve.com/w/Red_Hat_Cluster_Service_2_Tutorial</a></div><div><br></div><div>in a test environment y desactivate drbd daemon for testing but with or without drbd daemon running, the problem persist</div>
<div>I use the next handler and fencing policy in drbd</div><div><div><br></div><div>fencing<span class="Apple-tab-span" style="white-space:pre">           </span>resource-and-stonith;</div><div>outdate-peer<span class="Apple-tab-span" style="white-space:pre">    </span>"/sbin/obliterate-peer.sh";</div>
</div><div><br></div><div>Digimer when you suggest add "sleep 10"' is in drbd.conf?</div><div><br></div><div><div class="gmail_quote">On Tue, Jan 24, 2012 at 4:09 PM, Digimer <span dir="ltr"><<a href="mailto:linux@alteeve.com">linux@alteeve.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/24/2012 03:57 PM, Miguel Angel Guerrero wrote:<br>
> Hi i'm trying to setup a centos cluster with two nodes with cman, drbd,<br>
> gfs2 and i'm using ipmi for fencing. DRBD is set up between the nodes<br>
> using a dedicated interface. So, when I unplug the drbd network cable,<br>
> both nodes power off immediatly (i tried using crossover cable and both<br>
> nodes connected to a switch, but both scenarios fail), and the logs<br>
> doesn't seem to show something useful. In a previous thread on this<br>
> list, it is recommended to deactivate ACPID daemon, even at BIOS level,<br>
> but I'm still having troubles.<br>
><br>
> If I simulate a physical disconnection with ifdown command in some node,<br>
> this node reboots with no hassle, but unpluging the cable kills both<br>
> nodes. I think the first scenario is correct, but the second one is not<br>
> what I expect.<br>
><br>
> Thanks for your help the next are my cluster.conf<br>
<br>
</div>This is likely caused by both nodes getting their fence calls off before<br>
one of them dies.<br>
<br>
How do you have DRBD configured? Specifically, what fence handler are<br>
you using? If you're interested in testing, I have rewritten lon's<br>
obliterate-peer.sh and added explicit delays to help resolve this exact<br>
issue.<br>
<br>
<a href="https://github.com/digimer/rhcs_fence" target="_blank">https://github.com/digimer/rhcs_fence</a><br>
<br>
Alternatively, add a 'sleep 10' or similar to one of your existing fence<br>
handlers and you should find that the node with the delay consistently<br>
loses while the other node remains up.<br>
<font color="#888888"><br>
--<br>
Digimer<br>
E-Mail:              <a href="mailto:digimer@alteeve.com">digimer@alteeve.com</a><br>
Papers and Projects: <a href="https://alteeve.com" target="_blank">https://alteeve.com</a><br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>Atte:<br>------------------------------------<br>Miguel Angel Guerrero<br>Usuario GNU/Linux Registrado #353531<br>------------------------------------<br>

</div>