[Pacemaker] New System Health feature

Andrew Beekhof beekhof at gmail.com
Fri Apr 24 04:00:53 EDT 2009

On Fri, Apr 24, 2009 at 01:22, Mark Hamzy <hamzy at us.ibm.com> wrote:
> Here is the start of a patch. Right now I am using hardcoded values for
> green/yellow/red. I am posting this to see if I am modifying the correct
> part of pacemaker.

The biggest problem is that your patch wont work if no rsc_location
constraints are defined.

Instead of the change to generate_location_rule(), create a wrapper
for rsc2node_new() and call it from stage0 in a loop:

		rsc, resource_t, data_set->resources, lpc,
		apply_system_heath(rsc, data_set);

> Also, where and how should the system defined values for
> g/y/r be stored?

as per previous email

More information about the Pacemaker mailing list