Uploading the Configuration to the ZooKeeper Cluster
- Start the ZooKeeper cluster.
- Upload the file to Datanode1.
1java -classpath .:/usr/local/solrCloud/tomcat/webapps/solr/WEB-INF/lib/* org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost agent1:2181,agent2:2181,agent3:2181 -confdir /usr/local/solrCloud/solrConfig/ -confname solrconfig
- Check whether the configuration is successfully uploaded to ZooKeeper.
1 2 3
cd /usr/local/zookeeper/bin ./zkCli.sh -server agent1:2181 ls /configs/solrconfig

- Disconnect the connection.
1quit
Parent topic: Deploying Solr