Am Mittwoch, 11. Februar 2009 15:13:09 schrieb J. Friedrich:
> Hi Michael,
> HI group,
>
> I expanded my configuration and added the attributes
> resource-failure-stickiness and resource-stickiness to one resource of
> the "bar group" . I used "-30" for resource-failure-stickiness and
> "100" for resource-stickiness. If I correctly understand heartbeat's
> principles, the resource should be started on the 2nd node after 3
> failures on the 1st node (the 4th problem with the resource will make
> it switch).
>
> To simulate a problem with the resource, I stopped the service and
> moved the binary, so that the monitor detects that the service is not
> running, but can not start the service again. Heartbeat start the
> other resources in the resource group, is not able to start the
> resource with the moved binary twice.... and does nothing! It does not
> switch.
>
> I tried to use crm_failcount to see if heartbeat has increased the
> failure counter, but it seems it has not:
>
> crm_failcount -G -U server-1.domain.com -r resource_orbd
>
> gives me
>
> name=fail-count-obs_group value=(null)
> Error performing operation: The object/attribute does not exist
>
> Do I have to configure Stonith if I want to use these stickiness values?
> Do I miss something?
>
> Best regards,
> Jason

-U should be the node name as displayed by uname -n

What about installing the showscores script? It displays all failure counters  
and all points counted for all ressourcen on all nodes. Point distribution is 
much clearer afterwards.

Greetings,

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [email protected]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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