<div dir="ltr">Hi, all!<div><br></div><div>I set up the latest clustering sftware versions from CentOS 6.5 repo (pacemaker 1.1.10 + pcs + drbd 8.4.4) on a two-node cluster.</div><div><div><br></div><div>pcs constraint show</div>
<div>Location Constraints:</div><div>Ordering Constraints:<br></div><div>  promote ms_u01 then start u01_fs<br></div><div>Colocation Constraints:<br></div><div>  u01_fs with ms_u01 (with-rsc-role:Master)<br></div><div><br>
</div></div><div>Now, when I reboot or shut down 'active' server - filesystem gets promoted on the secondry, and filesystem gets mounted - all as expected. However, when I move resource group with pcs resource move - resources are stopped (correct) and FS unmounted, but DRBD resource stays Primary, after some timeout I get failed action "monitor with role:Master" on the "target" server and eventually resource is kept out of the target server.</div>
<div><br></div><div>I tried to add additional ordering constraint, like this:</div><div><br></div><div><div>pcs constraint show</div><div>Location Constraints:</div><div>  Resource: OraGroup</div><div>    Enabled on: server2 (role: Started)</div>
<div>Ordering Constraints:<br></div><div>  promote ms_u01 then start u01_fs<br></div><div>  stop u01_fs then demote ms_u01<br></div><div>Colocation Constraints:<br></div><div>  u01_fs with ms_u01 (with-rsc-role:Master)<br>
</div><div><br></div></div><div>This did not change anything...</div><div><br></div><div>Am I missing somethig?</div><div><br></div><div><br></div><div>The previous OS (it was OpenSuSE) and software (pacemaker 1.1.8 + crmsh) worked as expected:</div>
<div><br></div><div><pre class="" style="padding:0px;margin-top:0px;margin-bottom:0px;overflow:auto;font-family:'Courier New',Courier,monospace;line-height:1.3;color:rgb(0,0,0);font-size:13px">primitive u01_drbd ocf:linbit:drbd \
        params drbd_resource=<span class="" style="color:rgb(0,145,0);background-color:inherit">"u01"</span> \
        op start interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"240"</span> \
        op stop interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"100"</span> \
        op monitor interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"20"</span> role=<span class="" style="color:rgb(0,145,0);background-color:inherit">"Slave"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"60"</span> depth=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> \
        op monitor interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"10"</span> role=<span class="" style="color:rgb(0,145,0);background-color:inherit">"Master"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"60"</span> depth=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span>
primitive u01_fs ocf:heartbeat:Filesystem \
        params device=<span class="" style="color:rgb(0,145,0);background-color:inherit">"/dev/drbd2"</span> directory=<span class="" style="color:rgb(0,145,0);background-color:inherit">"/u01"</span> fstype=<span class="" style="color:rgb(0,145,0);background-color:inherit">"ext3"</span> \
        op start interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"60"</span> \
        op stop interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"60"</span>
primitive u01_ip ocf:heartbeat:IPaddr2 \
        params ip=<span class="" style="color:rgb(0,145,0);background-color:inherit">"********"</span> nic=<span class="" style="color:rgb(0,145,0);background-color:inherit">"eth0"</span> cidr_netmask=<span class="" style="color:rgb(0,145,0);background-color:inherit">"255.255.255.248"</span>
primitive u01_ip_local ocf:heartbeat:IPaddr2 \
        params ip=<span class="" style="color:rgb(0,145,0);background-color:inherit">"10.10.10.253"</span> nic=<span class="" style="color:rgb(0,145,0);background-color:inherit">"eth1"</span> cidr_netmask=<span class="" style="color:rgb(0,145,0);background-color:inherit">"255.255.255.0"</span>
primitive u01_lsnr ocf:heartbeat:oralsnr \
        params sid=<span class="" style="color:rgb(0,145,0);background-color:inherit">"orcl"</span> \
        op start interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"120"</span> \
        op stop interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"120"</span> \
        op monitor interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"30"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"60"</span>
primitive u01_orcl ocf:heartbeat:oracle \
        params sid=<span class="" style="color:rgb(0,145,0);background-color:inherit">"orcl"</span> \
        op start interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"300"</span> \
        op stop interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"0"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"300"</span> \
        op monitor interval=<span class="" style="color:rgb(0,145,0);background-color:inherit">"30"</span> timeout=<span class="" style="color:rgb(0,145,0);background-color:inherit">"180"</span></pre>
<pre class="" style="padding:0px;margin-top:0px;margin-bottom:0px;overflow:auto;font-family:'Courier New',Courier,monospace;line-height:1.3;color:rgb(0,0,0);font-size:13px"><span style="font-size:13px;line-height:1.3">group U01Group u01_ip u01_ip_local u01_fs u02_fs u01_lsnr u01_orcl \</span>
</pre><pre class="" style="padding:0px;margin-top:0px;margin-bottom:0px;overflow:auto;font-family:'Courier New',Courier,monospace;line-height:1.3;color:rgb(0,0,0);font-size:13px">        meta target-role=<span class="" style="color:rgb(0,145,0);background-color:inherit">"Started"</span>
ms ms_u01 u01_drbd \
        meta master-max=<span class="" style="color:rgb(0,145,0);background-color:inherit">"1"</span> master-node-max=<span class="" style="color:rgb(0,145,0);background-color:inherit">"1"</span> clone-max=<span class="" style="color:rgb(0,145,0);background-color:inherit">"2"</span> clone-node-max=<span class="" style="color:rgb(0,145,0);background-color:inherit">"1"</span> notify=<span class="" style="color:rgb(0,145,0);background-color:inherit">"<span class="" style="color:rgb(0,0,145);background-color:inherit">true</span>"</span> target-role=<span class="" style="color:rgb(0,145,0);background-color:inherit">"Master"</span>
location cli-prefer-U01Group U01Group \
        rule $id=<span class="" style="color:rgb(0,145,0);background-color:inherit">"cli-prefer-rule-U01Group"</span> inf: #uname eq server2
colocation u0_on_drbd inf: u01_ip u01_ip_local ms_u01:Master u01_fs ms_u02:Master u02_fs u01_lsnr u01_orcl
order order_u01 inf: u01_ip u01_ip_local ms_u01:promote u01_fs:start ms_u02:promote u02_fs:start u01_lsnr u01_orcl
</pre></div><div><br></div><div><br clear="all"><div><br></div>-- <br>Best regards,<div>Alexandr A. Alexandrov</div></div></div>