I need to know which machine is the current active node in an active(1)-passive(n) cluster.
Reading the docs I could come up with
cl_status rscstatus <node name>
which returns various values that are not that precise (all, transition, foreign, none, local). Is there any definite way to know which one is the master node?