Am Freitag, den 30.11.2007, 12:19 +0000 schrieb Yan Fitterer:
> > First question: Are you interested in my patch (just 2-3 lines)?
> 
> Most likely ;) Although I'm not completely sure how case is handled
> elsewhere. We might be case-sensitive on purpose! (although I can't see
> a good reason to do this for host names). 

Heartbeat handels case-sentive hostnames by "lowercasing" them. Thus
the CCM only lists lowercased hostnames (see crm_mon, gui and others).
But the nodes in ha.cf should written like "uname -n" responds (which
is in oroginal letters thus with case.

The problem using the evms-failover resource agent is that the hostname
is given to evms in original (case sensitive) letters, evms check the
string case sensitive (here is the original error I guess) against the
CCM entries and claims, the parameter is illeal (evms means the hostname
is not member of teh cluster, wile heartbeat says it is member of the
cluster (just different string comparing).

My patch just ignores upper/lowercases by lowercasing the local
hostname. This seams to be compatible with the way heartbeat is doing
it. And it is (fow now) much more easy to handle (for me) than to change
the evms behaviour.

Hope the patch is helpful
Fabian



> Maybe send to the -dev list?

Sorry I am not assigned to the dev list. So first I send the (very
small) patch here. See attachment (only three line patch).

> 
> > Second: Any idea why I am not able to migrate the private container?
> > Are there any typical pitfalls?
> 
> The "resource cannot run anywhere" is nothing to do with the resource
> agent. It's the PE (Policy Engine) deciding that it is so. Likely you
> have either resource node failcounts that are too high, or "failed
> starts". Resources that have failed to start on a node are not eligible
> to be started again on that node (at least on the SLES 10 2.0.8
> version). I've heard this may change one day.
> To see failed starts, try crm_verify -VV
> To see failcounts, I usually grep the output of "cibadmin -Q" (much
> faster than issuing multiple crm_failcount commands...).
> 
> Yan
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
-- 
SUSE LINUX GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg
Phone:  +49 (0)69  - 2174-1923
FaxFFM: +49 (0)69  - 2174-1740
FaxDUS: +49 (0)211 - 5631-3769
e-mail: [EMAIL PROTECTED]

-------------------------------------

SUSE LINUX GmbH, GF: Volker Smid, HRB 21284 (AG Nürnberg)

-------------------------------------

PLEASE NOTE:  This e-mail may contain confidential and privileged
material for the sole use of the intended recipient.  Any review,
distribution or other use by anyone else is strictly prohibited.  If you
are not an intended recipient, please contact the sender and delete all
copies.  Thank you.

60d58
<               HN=$(echo $HOSTNAME|tr [:upper:] [:lower:])
62c60
<                       modify:"$1",node="$HN",type=private
---
>                       modify:"$1",node="$HOSTNAME",type=private
_______________________________________________
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