我要评分
获取效率
正确性
完整性
易理解

Synchronizing the Configuration to Other Nodes

  1. Copy solrCloud to the /usr/local directory of agent2 and agent3.
    1
    2
    scp -r /usr/local/solrCloud root@agent2:/usr/local
    scp -r /usr/local/solrCloud root@agent3:/usr/local
    
  2. Optional: Log in to the agent2 and agent3 nodes and create soft links for Solr and Tomcat.

    You can skip this step because the Solr and Tomcat directories become the actual directories in SCP.

    1
    2
    3
    4
    cd /usr/local/solrCloud
    rm -rf solr tomcat
    ln -s solr-6.2.0 solr
    ln -s apache-tomcat-8.5.28 tomcat