redis replication fixes - way to determine master host
crm status
last line of output gives name of resource
, resource agent
and on which node
started.
this is how we determine active host
information taken from:
- Cluster resource - Pacemaker docs
- output from
crm_mon -1 -X
(output in xml type).