<div dir="ltr">Hello,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 20, 2016 at 4:11 PM, Bernie Jones <span dir="ltr"><<a href="mailto:bernie@securityconsulting.ltd.uk" target="_blank">bernie@securityconsulting.ltd.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Andreas,<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Many thanks for your suggestion. Actually, this is the last
configuration that I tried, but it still didn’t seem to do the job:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
property set stonith-enabled=false</span></p></div></div></blockquote><div><br></div><div>Stonith is your friend!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
property set no-quorum-policy=ignore<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
resource defaults resource-stickiness=100<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
resource create LDAP_Cluster_IP ocf:heartbeat:IPaddr2 ip=192.168.26.100
cidr_netmask=32 op monitor interval=5s<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
resource create dirsrv lsb:dirsrv op monitor interval="6s"
role="Master" timeout="2s"</span></p></div></div></blockquote><div><br></div><div>There is no master role for simple clones.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
resource clone dirsrv<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
constraint order LDAP_Cluster_IP then dirsrv-clone</span></p></div></div></blockquote><div><br></div><div>I would first start the application if it does not need to bind to a specific IP.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"> </p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"> </p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">pcs
constraint colocation add dirsrv-clone with LDAP_Cluster_IP INFINITY</span></p></div></div></blockquote><div><br></div><div>You want it the other way round ... IP must follow application. </div><div><br></div><div>Regards,</div><div>Andreas</div><div><br></div></div></div></div>