If you are using a SolrCloud, it's recommended to maintain an explicit zookeeper ensemble as well. Because zookeeper ensemble maintains the SolrCloud's current status of each node and each shard wise. This status is actually get reflected from the SolrCloud admin window.
- Go to the Admin window. Click on "Cloud".
- Then click on "Tree" to get a tree view of your SolrCloud architecture.
- Click
/clusterstate.json
to view the SolrCloud status.
This (clusterstate.json) json file holds the SolrCloud status information. Now if you are running an explicit zookeeper ensemble, following are the steps to get SolrCloud status.
- Go to the path "zookeeper/installation/directory/bin"
- Execute
./zkCli.sh -server ZK_IP:ZK_PORT
(E.g ./zkCli.sh -server localhost:2181) - Execute
get /clusterstate.json
You'll find the SolrCloud status.
Note : ZK_IP - The HOST IP where zoopeeper is running. ZK_PORT - Zookeeper's client port.