cleanup failed actions in SuSE HA Cluster

In a Pacemaker cluster, failed actions can occur when a resource fails to start, stop, or perform any other action. To clear failed actions in a CRM cluster, you can use the following command:

crm resource cleanup

This command will clear all failed actions from the cluster. If you want to clear failed actions for a specific resource, you can use the following command:

crm resource cleanup <resource_name>

This command will clear all failed actions for the specified resource.

Another option is to use.

crm_resource --clear-failcount -r <resource>

This command will reset the failcount of the failed resource, which is used by Pacemaker to determine when to stop trying to start a resource and mark it as failed.

It’s important to note that clearing failed actions can cause the cluster to try to start or stop a resource again, which can lead to further failures. You should therefore only clear failed actions after you have resolved the underlying issue that caused the failure.

Leave a Reply

Your email address will not be published. Required fields are marked *