Add zookeeper script
[lui-solr.git] / scripts / zookeeper.sh
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