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 at http://localhost:8983/solr/#/~cloud), as well as a few tools available via a ZooKeeper Command Line Utility (CLI). The CLI scripts found in
server/scripts/cloud-scripts let 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
zkcli.sh (for Unix environments) and
zkcli.bat (for Windows environments) support the following command line options:
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
zkcli.sh CLI which assume you have already started the SolrCloud example (
bin/solr -e cloud -noprompt)
If you are on Windows machine, simply replace
zkcli.bat in these examples.
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
|Parameter Reference||SolrCloud Configuration and Parameters||SolrCloud with Legacy Configuration Files|