Now when I have a fail (for exampke $OCF_NOT_RUNNING) this decrement the 
resource's score in the node.

The problem is that only counts one fail when I am execute hundreds "killall 
mysql" therefore only decrement one the resource's score

¿Why?



----------------------------------------
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: RE: [Linux-HA] Increasing the fail count errors manually
> Date: Thu, 21 Aug 2008 22:03:12 +0000
> 
> 
> Hello again!
> 
> I have seen that the failure-stickiness is  positive instead of negative 
> jejejej .
> 
> #""
> #""  This value should be -10 !!!!!!!!!!!!
> 
> I´m silly and incompetent :)  jejeje
> 
> I hope that this comment helps to somebody.
> 
>> From: [EMAIL PROTECTED]
>> To: [email protected]
>> Subject: [Linux-HA] Increasing the fail count errors manually
>> Date: Thu, 21 Aug 2008 12:56:07 +0000
>> 
>> 
>> Hello mailing list!
>>  
>> I have ready my cluster for use, therefore I want to probe it. I want to 
>> simulate an scenario where the resources fails (manually)
>>  
>> This is my configuration:
>> 
>> http://pastebin.com/mc988c85
>> 
>> meta-attributes group:
>>  
>>     (I have three resources => 3 * 6 =18 score's group)
>>    
>>  
>> Score's group_1 on ast1 : 150
>> Score's group_1 on ast2 : 149
>>  
>> I force the resource error manually. In the monitor section of my sript 
>> agent I have added this line:
>>  
>>  monitor{
>>  
>>            return $OCF_ERR_GENERIC;  (Is the first line)
>>  
>>           .......
>> }
>>  
>> Heartbeat detects the error. therefore stop the resource, start, and 
>> increment the fail count (error count=1).
>>  
>> I expected that the errors increased, but these do not increase... 
>>  
>> Sometimes I have added the line "return $OCF_NOT_RUNNING"... but the error 
>> no increase (error count=1) never!.
>>  
>> ¿How do I force the resource errors manually?
>>  
>> Thanks.
>> 
>> This is a part of ha-log:
>> 
>> http://pastebin.com/m3694fc05
>> _________________________________________________________________
>> Nuevo Canal Messenger
>> http://www.vivelive.com/ilovemessenger/_______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
> 
> _________________________________________________________________
> ¡El Mundo Messenger te espera! Entra ya en "I love Messenger" y descubre las 
> últimas novedades, trucos, emoticonos…
> http://www.vivelive.com/ilovemessenger/_______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_________________________________________________________________
¿Quieres los emoticonos y guiños más divertidos? Descárgate Internet Explorer 
7, y consigue contenidos exclusivos cada semana. ¡Gratis!
http://www.vivelive.com/IEAK7_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to