I've done some tests and now I'm 100% sure that OCF script fully replaces `autoheal` mode of rabbitmq. `running_nodes` reported by `cluster_status` contains only nodes with which the given node is consistent with. So even without additional checking of `partitions` field OCF does just the right thing when it sees that node that it considers the master is missing in `running_nodes` list.
I've done some tests and now I'm 100% sure that OCF script fully replaces `autoheal` mode of rabbitmq. `running_nodes` reported by `cluster_status` contains only nodes with which the given node is consistent with. So even without additional checking of `partitions` field OCF does just the right thing when it sees that node that it considers the master is missing in `running_nodes` list.