<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16448"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>We are setting a brand new cluster with dual primary + pacemaker + xen. Here's the current conf:</DIV>
<DIV>&nbsp;</DIV>
<DIV>- global_common.conf</DIV>
<DIV>drbd.resglobal {<BR>&nbsp;&nbsp; dialog-refresh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1;<BR>&nbsp;&nbsp; minor-count&nbsp; 5;<BR>}<BR>common {<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>- drbd0.res</DIV>
<DIV>resource drbd0 {<BR>&nbsp; protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C;<BR>&nbsp;&nbsp; disk {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on-io-error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; detach;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fencing resource-and-stonith;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; syncer {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 33M;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; al-extents 3389;<BR>&nbsp;&nbsp; }</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; handlers {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fence-peer "/usr/lib/drbd/stonith_admin-fence-peer.sh";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;&nbsp; net {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; allow-two-primaries yes; # Enable this *after* initial testing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cram-hmac-alg sha1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shared-secret "a6a0680c40bca2439dbe48343ddddcf4";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; after-sb-0pri discard-zero-changes;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; after-sb-1pri discard-secondary;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; after-sb-2pri disconnect;<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; startup {<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; become-primary-on both;<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; on xs02 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/sdb;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp; /dev/drbd0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta-disk internal;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp; 10.1.1.136:7780;<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; on xs01 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/sdb;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp; /dev/drbd0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta-disk internal;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp; 10.1.1.135:7780;<BR>&nbsp;&nbsp; }<BR>}<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>- crm configuration</DIV>
<DIV>node xs01<BR>node xs02<BR>primitive dlm ocf:pacemaker:controld \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operations $id="dlm-operations" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="10" timeout="20" start-delay="0"<BR>primitive drbd0 ocf:linbit:drbd \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operations $id="drbd0-operations" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="20" role="Slave" timeout="20" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="10" role="Master" timeout="20" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params drbd_resource="drbd0"<BR>primitive o2cb ocf:ocfs2:o2cb \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operations $id="o2cb-operations" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="10" timeout="20" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started"<BR>primitive stonith-ipmi-xs01 stonith:external/ipmi \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started" is-managed="true" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operations $id="stonith-ipmi-xs01-operations" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="3600" timeout="20" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params hostname="xs01" ipaddr="125.1.254.135" userid="radmin" passwd="xxxxxx" interface="lan"<BR>primitive stonith-ipmi-xs02 stonith:external/ipmi \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started" is-managed="true" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operations $id="stonith-ipmi-xs02-operations" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="3600" timeout="20" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params hostname="xs02" ipaddr="125.1.254.136" userid="radmin" passwd="xxxxx" interface="lan"<BR>primitive vmdisk-pri ocf:heartbeat:Filesystem \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operations $id="vmdisk-pri-operations" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="20" timeout="40" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params device="/dev/drbd/by-disk/sdb" directory="/vmdisk" fstype="ocfs2" options="rw,noatime"<BR>group init dlm o2cb \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta is-managed="true"<BR>ms ms_drbd0 drbd0 \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta master-max="2" clone-max="2" notify="true" target-role="Started"<BR>clone init-clone init \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta interleave="true" target-role="Started" is-managed="true"<BR>clone vmdisk-clone vmdisk-pri \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started"<BR>location fence-xs01 stonith-ipmi-xs01 -inf: xs01<BR>location fence-xs02 stonith-ipmi-xs02 -inf: xs02<BR>colocation colocacion : init-clone vmdisk-clone ms_drbd0:Master<BR>order ordenamiento : ms_drbd0:promote init-clone:start vmdisk-clone:start<BR>property $id="cib-bootstrap-options" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dc-version="1.1.7-77eeb099a504ceda05d648ed161ef8b1582c7daf" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster-infrastructure="openais" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expected-quorum-votes="2" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; batch-limit="1" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no-quorum-policy="ignore" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last-lrm-refresh="1352468954" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-resource-stickiness="1000"<BR>op_defaults $id="op_defaults-options" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; record-pending="false"<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>Problem is that when we want to start the master drbd0 resource in pacemaker, it fails and then xs02 powers off. Soon after that, the resource promotes to Master in xs01. I go to the XS02 server, boot up and the resource is also promoted to Master becoming both in Master state.</DIV>
<DIV>&nbsp;</DIV>
<DIV>We have already tune the eth1 card setting the MTU to 9000 as it is documented in the site.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is this the normal behaviour?</DIV>
<DIV><BR>Regards,</DIV>
<DIV>Daniel</DIV></BODY></HTML>