<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I've been trying to get my DRBD cluster on Centos8 / Pacemaker 2
to work but have had issues with cluster not failing over (I get
error messages like "Refusing to be Primary while peer is not
outdated"). This has been explained in other posts. In trying
different things I changed my constraint from PROMOTE to START and
things seem to be working:<br>
</p>
<p>DOES NOT WORK (works in pacemaker <2)<br>
pcs constraint order PROMOTE drbd0-clone then start fs_drbd<br>
<br>
SEEMS TO WORK<br>
pcs constraint order START drbd0-clone then start fs_drbd<br>
</p>
<p>Note: The colocation constraint seems to work even if it's:<br>
</p>
<ul>
<li>"pcs constraint colocation add fs_drbd with drbd0-clone
INFINITY with-rsc-role=Master id=nfs_on_drbd"</li>
<li>or just "pcs constraint colocation add fs_drbd with
drbd0-clone"<br>
</li>
</ul>
<p>What's the correct way for constraints on M/S DRBD? It just feels
wrong doing just "start" instead of "promote" like I've been doing
over the last 15 years. In pacemaker 2.x the master/slave resource
changed to clone so this is new to me.<br>
<br>
Any input is most helpful!<br>
</p>
<p>Brent<br>
</p>
<p><br>
</p>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>