Product SiteDocumentation Site

B.3. How are OCF Return Codes Interpreted?

The first thing the cluster does is to check the return code against the expected result. If the result does not match the expected value, then the operation is considered to have failed, and recovery action is initiated.
There are three types of failure recovery:

Table B.3. Types of recovery performed by the cluster

Type Description Action Taken by the Cluster
A transient error occurred
Restart the resource or move it to a new location
A non-transient error that may be specific to the current node occurred
Move the resource elsewhere and prevent it from being retried on the current node
A non-transient error that will be common to all cluster nodes (e.g. a bad configuration was specified)
Stop the resource and prevent it from being started on any cluster node