<div dir="ltr">You need to use <font face="Menlo"><span style="font-size:11px">location l_ston_pg3 p_ston_pg3 inf: pg3, because -inf is negative.</span></font><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-11 18:44 GMT+02:00 Salvatore D'angelo <span dir="ltr"><<a href="mailto:sasadangelo@gmail.com" target="_blank">sasadangelo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi all,<div><br></div><div>in my cluster doing cam_mon -1ARrf I noticed my STONITH resources are not correctly located:</div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">p_ston_pg1<span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">      </span>(stonith:external/ipmi):<span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">  </span>Started pg2</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">p_ston_pg2<span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap"> </span>(stonith:external/ipmi):<span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">  </span>Started pg1</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">p_ston_pg3<span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap"> </span>(stonith:external/ipmi):<span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">  </span>Started pg1</span></div></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">I have three node: pg1 (10.0.0.11), pg2 </span>(10.0.0.12)<span style="font-variant-ligatures:no-common-ligatures">, and pg3 </span>(10.0.0.13)<span style="font-variant-ligatures:no-common-ligatures">. I expected </span>p_ston_pg3 was running on pg3, but I see it on pg1.</div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">Here my configuration:</div><div style="margin:0px;font-stretch:normal;line-height:normal;background-color:rgb(255,255,255)"><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px">primitive p_ston_pg1 stonith:external/ipmi \\</span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px"><span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">   </span>params hostname=pg1 pcmk_host_list=pg1 pcmk_host_check=static-list ipaddr=10.0.0.11 userid=root passwd="/etc/ngha/PG1-<wbr>ipmipass" passwd_method=file interface=lan priv=OPERATOR</span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px">primitive p_ston_pg2 stonith:external/ipmi \\</span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px"><span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">        </span>params hostname=pg2 pcmk_host_list=pg2 pcmk_host_check=static-list ipaddr=10.0.0.12 userid=root passwd="/etc/ngha/PG2-<wbr>ipmipass" passwd_method=file interface=lan priv=OPERATOR</span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px">primitive p_ston_pg3 stonith:external/ipmi \\</span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px"><span class="m_2831950523363401432Apple-tab-span" style="white-space:pre-wrap">        </span>params hostname=pg3 pcmk_host_list=pg3 pcmk_host_check=static-list ipaddr=</span></font><span style="font-family:Menlo;font-size:11px">10.0.0.13</span><font face="Menlo"><span style="font-size:11px"> userid=root passwd="/etc/ngha/PG3-<wbr>ipmipass" passwd_method=file interface=lan priv=OPERATOR</span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo"><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:11px">location l_ston_pg1 p_ston_pg1 -inf: pg1</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:11px">location l_ston_pg2 p_ston_pg2 -inf: pg2</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:11px">location l_ston_pg3 p_ston_pg3 -inf: pg3</span></div><div style="font-size:11px"><br></div><div style="font-size:11px">this seems work fine on bare metal.</div><div style="font-size:11px">Any suggestion what could be root cause?</div></font></div><div style="font-family:Menlo;font-size:11px"><br></div></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><br></div></div><br>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">  .~.<br>  /V\<br> //  \\<br>/(   )\<br>^`~'^</div>
</div>