[Pacemaker] using crm_resource -C when the affected node is down

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Fri Feb 6 11:42:15 UTC 2009


Lars Marowsky-Bree wrote:
> On 2009-02-06T11:59:37, "Raoul Bhatia [IPAX]" <r.bhatia at ipax.at> wrote:
> 
>>> "using crm_resource -C when the affected node is down"
>>>
>>> thats not a safe thing to be doing.
>> so either crm_mon should not show the error or there should be another
>> way to "remove" this error from the cib.
>>
>> otherwise, errors will remain in the cib even if the affected host
>> has a permanent failure.
> 
> Uhm, but the kind of errors which crm_resource -C would clean up are
> only relevant for that specific node - which is down. So why does it
> matter?

right - but i currently have 53 lines of output (crm_mon -1|wc -l) if
everything is operating normal. imagine more errors showing up. this
does not contribute to a better overview.

> Further, the status section for the node is cleared anyway once it is
> fenced, no?

maybe - i cannot tell as i rebootet via:
> /etc/init.d/heartbeat stop && reboot -fn

resulting in:
> Node: wc01 (31de4ab3-2d05-476e-8f9a-627ad6cd94ca): online
> Node: wc02 (f36760d8-d84a-46b2-b452-4c8cac8b3396): OFFLINE

so actually, this is a regular stop, right?

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list