[Linux-HA] Problem with non-symmetric 4-Node-Cluster

Andrew Beekhof beekhof at gmail.com
Mon Nov 27 02:36:38 MST 2006


On 11/22/06, Christian Froemmel <froemmel at systemconcept.de> wrote:
> Hello,
>
> I am currently working on a setup of a multi-node cluster (actually 4, but
> may be extended to 6 nodes). The cluster itself is v2.0.7, SuSE Linux
> 10.1, Stock Kernel, installed from official RPMs. Its CRM-Style and in the
> haclient-GUI I see every node running and the CIB (checked with cibadmin
> -Q) is everywhere the same.
>
> And because not all nodes need to takeover all resources/resourcegroups of
> the cluster I decided to put the cluster in asymmetric mode
> (symmetric_cluster="false"). So that I have to maintain manually (with
> constraints) where the resources are allowed to run and which nodes should
> maintain which resource. Then I setup a resourcegroup (in the test with
> just an apache, more services later) and tried to run it on two
> (wonka01/wonka02) of the four nodes, with one node preferred (wonka02).
>
> The other two nodes (deli01/deli02) are for other resourcegroups and there
> is not even apache installed. Thats what I wanted to achieve with the
> constraints. The problem is, that the apache-resource is tainted as
> "unmaintained on [ deli01, deli02 ]" (shown in the GUI and the logs) and
> is (therefore?) not started. I tracked it down to the
> apache_clu-LSB-script, which is just not installed on deli01/deli02.
>
> Is this a bug or do I have some other problems (scoring maybe? I took the
> example-values off the wiki for default_*)?

short answer - a bug

long answer - before we start a resource we check if its already
active anywhere.
in this case the check will fail (since the RA isnt installed) and
we're not handling this correctly.

i'll look into this today

>
> Or do I have to install dummy apache-LSB-Scripts just to satisfy the needs
> of heartbeat?
>
> Attached the "clean" crm.xml, which I am using to setup the CIB using
> "cibadmin -R -x ...". I forgot to take logs and a real "cibadmin -Ql" with
> me today, but will hand in them tomorrow.
>
> Kind regards,
> Christian Froemmel
> --
> SYSTEM CONCEPT GmbH
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
>


More information about the Linux-HA mailing list