I have my Adobe CQ5 servers in Linux environment (Redhat). I have to write a shell script to find out which node is acting as a Master presently in CQ5 Cluster environment. My CQ5 clustering environment includes 1 author acting as Master node and another as Slave node.
Please suggest me if it is possible to find out which is the Master node using shell script.