On 23/03/2013, at 9:09 AM, Thomas Glanzmann <[email protected]> wrote:

> Hello,
> I have an openais installation on centos which has logged failed
> actions, but the services appear to be 'started'. As I know 
> heartbeat/pacemaker
> if an action fails the service should not be started.

Not really.
In this case, it is the initial monitor (the one that tells pacemaker what 
state the service is in before we try to start anything) that is failing.  For 
the ones returning rc=1, it looks like something was wrong but the cluster was 
able to clean them up (by running stop) and start them again.

> I also have
> a system on Debian squeeze that stops the service when a monitor action
> for IPMI has failed. But I also remember that a few years back the
> ability was built in that allows to retry failed actions after a
> configurable time, but I never did that. From the out of crm_mon -i 1 -r
> I assume that the fence_ipmilan agents are running but that there are
> some failed actions. Can I clean them up the old way using
> 
> crm_resource -C -r fence-astore1 -H astorage2
> crm_resource -C -r fence-astore2 -H astorage1
> 
> or
> 
> crm resource cleanup all
> 
> ?

That should work.

> 
> The output of crm_mon is here:
> 
> http://pbot.rmdir.de/Qux4BaurFOUOYLfzqJNcfQ
> 
> The crm config is here:
> 
> http://thomas.glanzmann.de/tmp/crm_config.txt
> 
> DRBD config is here:
> 
> http://thomas.glanzmann.de/.www/tmp/drbd.txt
> 
> Also I would like to know some feedback on the config, I think the
> following configuration errors were made:
> 
>        - Stonith and quorum are disabled
> 
>        - Promote and colocation constraints for drbd resources and
>          fs-storage are missing
> 
>        - Peer outdater for drbd is missing and suicide is the wrong
>          approach for the task at hand.
> 
> Cheers,
>        Thomas
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_______________________________________________
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