3.9. OCF_RUNNING_MASTER (8)

The resource was found to be running in the Master role. This applies only to stateful (Master/Slave) resources, and only to their monitor action.

Note that there is no specific exit code for "running in slave mode". This is because their is no functional distinction between a primitive resource running normally, and a stateful resource running as a slave. The monitor action of a stateful resource running normally in the Slave role should simply return OCF_SUCCESS.