[Pacemaker] Error when managing network with ping/pingd.

Andreas Kurz andreas at hastexo.com
Wed Sep 18 05:00:15 EDT 2013


On 2013-09-17 16:25, Francis SOUYRI wrote:
> Hello,
> 
> Thank for your reply Andreas, I set the multiplier to 1000, cut the
> netword nothing append.

Well, the ping resource-agent updates the value on every monitor event
.... looking again on your configuration, guess what operation is
missing? ;-)

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

> 
> I have these score:
> 
> Resource           Score     Node           Stickiness #Fail
> IPaddr2_dhcpd      1000      noeud2.apec.fr 100        0
> IPaddr2_dhcpd      1350      noeud1.apec.fr 100        0
> IPaddr2_named      1000      noeud2.apec.fr 100        0
> IPaddr2_named      1350      noeud1.apec.fr 100        0
> IPaddr2_named2     1000      noeud1.apec.fr 100        0
> IPaddr2_named2     1350      noeud2.apec.fr 100        0
> IPaddr2_samba      1000      noeud1.apec.fr 100        0
> IPaddr2_samba      1350      noeud2.apec.fr 100        0
> ping-gateway:0     100       noeud2.apec.fr 100        0
> ping-gateway:0     -INFINITY noeud1.apec.fr 100        0
> ping-gateway:1     0         noeud2.apec.fr 100        0
> ping-gateway:1     100       noeud1.apec.fr 100        0
> 
> Best regards.
> 
> Francis
> 
> On 09/17/2013 10:21 AM, Andreas Kurz wrote:
>> On 2013-09-17 09:45, Francis SOUYRI wrote:
>>> Hello,
>>>
>>> Some help about my problem ?
>>>
>>> I have a corosync/pacemaker with 2 nodes and 2 nets by nodes,
>>> 192.168.1.0/24 for cluster access, 10.1.1.0/24 for drbd in bond, both
>>> used by corosync.
>>> I try to used ocf:pacemaker:ping to monitor the 192.168.1.0/24 I have
>>> the configuration below, but when I remove the cable of the noeud1 the
>>> named group resource do not migrate to noeud2.
>>
>> Looks like the extra score 100 from pingd of node2 is not high enough to
>> overrule the location constraints with score 50 and the
>> resource-stickiness of 100 ... you can e.g. increase the "multiplier"
>> value of your pingd resource to 1000 to be sure it overrules these
>> constraints and the stickiness.
>>
>> Regards,
>> Andreas
>>
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 287 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130918/ad8e20da/attachment-0003.sig>


More information about the Pacemaker mailing list