From 76d73113acd5a7f0ba06c550d55bf268141cc788 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 22 Aug 2013 12:59:57 +0200 Subject: [PATCH] Add zookeeper script --- scripts/zookeeper.sh | 8 ++++++++ zookeeper.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 scripts/zookeeper.sh create mode 100644 zookeeper.sh diff --git a/scripts/zookeeper.sh b/scripts/zookeeper.sh new file mode 100644 index 0000000..36ea6bb --- /dev/null +++ b/scripts/zookeeper.sh @@ -0,0 +1,8 @@ +cd example +java -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900 -DnumShards=2 -jar start.jar > solr.log & +cd ../example2 +java -Djetty.port=7574 -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900 -jar start.jar > solr.log & +cd ../exampleB +java -Djetty.port=8900 -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900 -jar start.jar > solr.log & +cd ../example2B +java -Djetty.port=7500 -DzkHost=localhost:9983,localhost:8574,localhost:9900 -jar start.jar > solr.log & \ No newline at end of file diff --git a/zookeeper.sh b/zookeeper.sh new file mode 100644 index 0000000..36ea6bb --- /dev/null +++ b/zookeeper.sh @@ -0,0 +1,8 @@ +cd example +java -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900 -DnumShards=2 -jar start.jar > solr.log & +cd ../example2 +java -Djetty.port=7574 -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900 -jar start.jar > solr.log & +cd ../exampleB +java -Djetty.port=8900 -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900 -jar start.jar > solr.log & +cd ../example2B +java -Djetty.port=7500 -DzkHost=localhost:9983,localhost:8574,localhost:9900 -jar start.jar > solr.log & \ No newline at end of file -- 1.7.10.4