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:

 
   
     
       
         
         
       
     
     
       
         
       
       
         
           
         
       
     
     
       
         
       
     
     
       
         
       
     
   
   
     
       
     
   
 

   
     
       
     
     
       
     
   
 

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.



_________________________________________________________________
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

Reply via email to