<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"><<a href="mailto:francis.souyri@apec.fr" target="_blank">francis.souyri@apec.fr</a>></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 "crm_attribute -G -t status -N -n pingd" 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>
<clone id="ping-gateway-clone"><br>
<meta_attributes id="ping-gateway-clone-meta"><br>
<nvpair id="ping-gateway-interleave" name="interleave" value="true"/><br>
</meta_attributes><br>
<primitive class="ocf" id="ping-gateway" provider="pacemaker" type="ping"><br>
<instance_attributes id="ping-gateway-instance_<u></u>attributes"><br>
<nvpair id="ping-gateway-instance_<u></u>attributes-host_list" name="host_list" value="192.168.1.1"/><br>
<nvpair id="ping-gateway-instance_<u></u>attributes-multiplier" name="multiplier" value="100"/><br>
</instance_attributes><br>
</primitive><br>
</clone><br>
</resources><br>
<constraints><br>
<rsc_location id="location-named-noeud1.<u></u>apec.fr-50" node="<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>" rsc="named" score="50"/><br>
<rsc_location id="location-dhcpd-noeud1.<u></u>apec.fr-50" node="<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>" rsc="dhcpd" score="50"/><br>
<rsc_location id="location-named2-noeud1.<u></u>apec.fr-50" node="<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>" rsc="named2" score="50"/><br>
<rsc_location id="location-samba-noeud1.<u></u>apec.fr-50" node="<a href="http://noeud1.apec.fr" target="_blank">noeud1.apec.fr</a>" rsc="samba" score="50"/><br>
<rsc_location id="pingnamed" rsc="named"><br>
<rule id="pingnamed-rule" score-attribute="pingd"><br>
<expression attribute="pingd" id="pingnamed-expression" operation="defined"/><br>
</rule><br>
</rsc_location><br>
</constraints><br>
<rsc_defaults><br>
<meta_attributes id="rsc_defaults-options"><br>
<nvpair id="rsc_defaults-options-<u></u>resource-stickiness" name="resource-stickiness" value="100"/><br>
</meta_attributes><br>
</rsc_defaults><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>