Solr's Administration page (found by default at http://hostname:8983/solr/), provides a section with menu items for monitoring indexing and performance statistics, information about index distribution and replication, and information on all threads running in the JVM at the time. There is also a section where you can run queries, and an assistance area.
In addition, SolrCloud provides its own administration page (found by default at http://localhost:8983/solr/#/~cloud), as well as a few tools available via ZooKeeper's Command Line Utility (CLI). The CLI lets you upload configuration information to ZooKeeper, in the same two ways that were shown in the examples in Parameter Reference. It also provides a few other commands that let you link collection sets to collections, make ZooKeeper paths or clear them, and download configurations from ZooKeeper to the local filesystem.
Using The ZooKeeper CLI
ZooKeeper has a utility that lets you pass command line parameters:
zkcli.bat (for Windows environments) and
zkcli.sh (for Unix environments).
CLI Command to be executed:
ZooKeeper host address.
Display help text.
Run ZooKeeper internally by passing the Solr run port; only for clusters on one machine.
The short form parameter options may be specified with a single dash (eg:
The long form parameter options may be specified using either a single dash (eg:
-collection mycollection) or a double dash (eg:
ZooKeeper CLI Examples
Below are some examples of using the
Uploading a Configuration Directory
Put arbitrary data into a new ZK file
Put a local file into a new ZK file
Linking a Collection to a Configuration Set
Bootstrapping All the Configuration Directories in
There are scripts in
example/cloud-scripts that handle the classpath and class name for you if you are using Solr out of the box with Jetty. Commands then become: