Xinwei Hu wrote:
> 1. Change the rsc_colocation to
> ""
> <rsc_colocation id="database-disk_together_with_db-cluster-service"
> from="database-filesystem" to="database-disk" to_role="master"
> score="INFINITY"/>
> ""
> Don't colocate with group.
> 2. default-resource-stickness = 0
> 3. database-filesystem's resource-stickness = 1000

Now, I understand what I was doing wrong. A Resource Group *is* *not* a
resource: hence, it should not be used as a resource in a constraint -
it doesn't make sense.

The problem is that there is nothing in heartbeat that complains of logs
about this - heartbeat allows me to use a Resource Group name in place
of a resource in the <constraints/> section of the configuration without
saying anything. Maybe that's a documentation bug also?

Mentioning the database-filesystem Resource instead of the
database-cluster-service Resource Group in the <constraints/> section of
my CIB configuration solved the problem I have, in a consistent and
understandable way.

Thank you very much for this, Xinwei.

Kindest regards.
-- 
Luis Motta Campos (a.k.a. Monsieur Champs) is a software engineer,
Perl fanatic evangelist, and amateur {cook, photographer}
_______________________________________________
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