<div dir="ltr">I think your score is wrong in your rule expression<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/29 Francis SOUYRI <span dir="ltr">&lt;<a href="mailto:francis.souyri@apec.fr" target="_blank">francis.souyri@apec.fr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have a corosync/pacemaker with 2 nodes and 2 nets by nodes, <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a> for cluster access, <a href="http://10.1.1.0/24" target="_blank">10.1.1.0/24</a> for drbd in bond, both used by corosync.<br>

I try to used ocf:pacemaker:ping to monitor the <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a> I have the configuration below, but when I remove the cable of the noeud1 the named group resource do not migrate to noeud2.<br>

<br>
When I used these command &quot;crm_attribute -G -t status -N  -n pingd&quot; I have this.<br>
<br>
Could not map uname=-n to a UUID: The object/attribute does not exist<br>
scope=status   value=(null)<br>
Error performing operation: cib object missing<br>
<br>
##### CONFIG<br>
...<br>
      &lt;clone id=&quot;ping-gateway-clone&quot;&gt;<br>
        &lt;meta_attributes id=&quot;ping-gateway-clone-meta&quot;&gt;<br>
          &lt;nvpair id=&quot;ping-gateway-interleave&quot; name=&quot;interleave&quot; value=&quot;true&quot;/&gt;<br>
        &lt;/meta_attributes&gt;<br>
        &lt;primitive class=&quot;ocf&quot; id=&quot;ping-gateway&quot; provider=&quot;pacemaker&quot; type=&quot;ping&quot;&gt;<br>
          &lt;instance_attributes id=&quot;ping-gateway-instance_<u></u>attributes&quot;&gt;<br>
            &lt;nvpair id=&quot;ping-gateway-instance_<u></u>attributes-host_list&quot; name=&quot;host_list&quot; value=&quot;192.168.1.1&quot;/&gt;<br>
            &lt;nvpair id=&quot;ping-gateway-instance_<u></u>attributes-multiplier&quot; name=&quot;multiplier&quot; value=&quot;100&quot;/&gt;<br>
          &lt;/instance_attributes&gt;<br>
        &lt;/primitive&gt;<br>
      &lt;/clone&gt;<br>
    &lt;/resources&gt;<br>
    &lt;constraints&gt;<br>
      &lt;rsc_location id=&quot;location-named-noeud1.<u></u>apec.fr-50&quot; node=&quot;<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>&quot; rsc=&quot;named&quot; score=&quot;50&quot;/&gt;<br>
      &lt;rsc_location id=&quot;location-dhcpd-noeud1.<u></u>apec.fr-50&quot; node=&quot;<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>&quot; rsc=&quot;dhcpd&quot; score=&quot;50&quot;/&gt;<br>
      &lt;rsc_location id=&quot;location-named2-noeud1.<u></u>apec.fr-50&quot; node=&quot;<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>&quot; rsc=&quot;named2&quot; score=&quot;50&quot;/&gt;<br>
      &lt;rsc_location id=&quot;location-samba-noeud1.<u></u>apec.fr-50&quot; node=&quot;<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>&quot; rsc=&quot;samba&quot; score=&quot;50&quot;/&gt;<br>
      &lt;rsc_location id=&quot;pingnamed&quot; rsc=&quot;named&quot;&gt;<br>
        &lt;rule id=&quot;pingnamed-rule&quot; score-attribute=&quot;pingd&quot;&gt;<br>
          &lt;expression attribute=&quot;pingd&quot; id=&quot;pingnamed-expression&quot; operation=&quot;defined&quot;/&gt;<br>
        &lt;/rule&gt;<br>
      &lt;/rsc_location&gt;<br>
    &lt;/constraints&gt;<br>
    &lt;rsc_defaults&gt;<br>
      &lt;meta_attributes id=&quot;rsc_defaults-options&quot;&gt;<br>
        &lt;nvpair id=&quot;rsc_defaults-options-<u></u>resource-stickiness&quot; name=&quot;resource-stickiness&quot; value=&quot;100&quot;/&gt;<br>
      &lt;/meta_attributes&gt;<br>
    &lt;/rsc_defaults&gt;<br>
....<br>
##### END CONFIG<br>
<br>
Best regards.<br>
<br>
Francis<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>