Frequently Asked Questions - SearchStax

The SearchStax® Frequently Asked Questions page includes the following approved question and answer about our Apache Solr Cloud services.

How can I view my Zookeeper configurations?

The first step in creating a new collection in a SearchStax Solr deployment is to upload the collection's config files to Zookeeper. Zookeeper, in turn, will distribute the files across the Solr instances in your cluster.

Since Zookeeper is not a part of Solr, you cannot view the uploaded config through the Solr Dashboard. How then can you view the configurations on Zookeeper?

See What else can I do with the zkcli script? for a list of the commands that you can send to Zookeeper. In particular, note this one:

> ./zkcli.sh -zkhost <zookeeper URL> -cmd list > output.txt

which dumps a listing of your configuration files to a local text file. The listing contains files from all of the Zookeeper configsets, so it can be verbose. That's why we channel it to a file. It can be especially useful when you need to list all of the configsets to see how many there are.

Also note:

> ./zkcli.sh -zkhost <zookeeper URL> -cmd downconfig -confdir <local-directory> -confname <config-name>

which copies a named configuration on Zookeeper to a local directory of your choice.

We love to answer questions!

Please contact the SearchStax Support Desk immediately if you have any question about Solr Cloud deployments.

Return to Frequently Asked Questions.