Dejan Muhamedagic wrote:
> Luis Motta Campos wrote:
>> I had a large
>> log file in the past and the bug was "hidden" far away, and I needed to
>> truncate the log files
> 
> But you shouldn't need to do this. If the logs are large, it will
> take a while, but a log segment corresponding to the given time
> specification should be found. If it doesn't, please file a
> bugzilla.

Argh. I will try and reproduce the problem, then. Thanks, it's much
better when someone knows what the program was supposed to do in the
first time. :)

[snip!]
>> It toke me another check to realize that heartbeat's definition of
>> "hostname" is ambiguous: it may mean $(hostname --fqdn), or $(hostname
>> --short), or $(uname --nodename). Sometimes, it works with $(hostname
>> -s), and sometimes you really need $(hostname -f) to make it work.
> 
> The one which should be used is uname -n. At any rate, names in
> the hostlist in the stonith conf should match your node names.

Thanks, that's good to know.

>> I still have the warn and errors, and it won't go away even with
>> "crm_resource -C". I believe that this is connected to the fact that
>> there's no eligible candidate to run the STONITH resource for the node
>> we just STONITH'ed  (due to the recommended constraints).
> 
> Most probably.
> 
>> That causes
>> errors like
>>
>> crm_verify[24809]: 2008/11/25_13:54:57 ERROR: unpack_rsc_op: Remapping
>> db-sql1-shooter_start_0 (rc=1) on hostname.domainname to an ERROR
>> crm_verify[24809]: 2008/11/25_13:54:57 WARN: unpack_rsc_op: Processing
>> failed op db-sql1-shooter_start_0 on hostname.domainame: Error
>> crm_verify[24809]: 2008/11/25_13:54:57 WARN: unpack_rsc_op:
>> Compatability handling for failed op db-sql1-shooter_start_0 on
>> hostname.domainname
> 
> Now I understand that at this time there's only one node up.

Well, *now*, there's only one. :)

But I also got the errors when I added the stonith definitions, also.
And all nodes were up at that time. I will have another opportunity to
reproduce this problem soon, will let you know how it goes.

Cheers
-- 
Luis Motta Campos is a software engineer,
Perl Programmer, foodie and 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