Add zookeeper script
authorDennis Schafroth <dennis@indexdata.com>
Thu, 22 Aug 2013 10:59:57 +0000 (12:59 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 22 Aug 2013 10:59:57 +0000 (12:59 +0200)
scripts/zookeeper.sh [new file with mode: 0644]
zookeeper.sh [new file with mode: 0644]

diff --git a/scripts/zookeeper.sh b/scripts/zookeeper.sh
new file mode 100644 (file)
index 0000000..36ea6bb
--- /dev/null
@@ -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 (file)
index 0000000..36ea6bb
--- /dev/null
@@ -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