-2

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.

Has QUIT--Anony-Mousse
  • 76,138
  • 12
  • 138
  • 194
Komal Arora
  • 303
  • 1
  • 3
  • 15

1 Answers1

0

try looking at the ClusterAware Interface?

especially ClusterAware.bindRepository(java.lang.String, java.lang.String, boolean)

Create a servlet that your shell script can curl...

IT Gumby
  • 1,067
  • 8
  • 11