Rate This Document
Findability
Accuracy
Completeness
Readability

Uploading the Configuration to the ZooKeeper Cluster

  1. Start the ZooKeeper cluster.
  2. Upload the file to Datanode1.
    1
    java -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
    
  3. 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
    

  4. Disconnect the connection.
    1
    quit