Skip to content
niwenhao edited this page Feb 5, 2016 · 9 revisions

構築法
全サーバ


  1. zookeeper構築
    1. config
      $ZK_HOME/conf/zoo.conf

      tickTime=2000
      initLimit=10
      syncLimit=5
      dataDir=/var/lib/zookeeper
      clientPort=2181
      server.1=172.17.0.2:2888:3888
      server.2=172.17.0.3:2888:3888
      server.3=172.17.0.4:2888:3888
      server.4=172.17.0.5:2888:3888

      サーバ識別には→/var/lib/zookeeper/myid
    2. start
      $ZK_HOME/bin/zkServer.sh start
  2. solr構築
    1. サーバ初期化準備
      /var/lib/solr_dir/solr/solr.xml
    2. startup
      $SOLR_HOME/bin/slor start -s /var/lib/solr_dir/solr -z localhost:2181
Clone this wiki locally