source: other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/nema-solr-start-all.sh

Last change on this file was 31231, checked in by davidb, 7 years ago

Changes to allow SOLR to run on nodes in /hdfsd05/dbbridge/solr-ef

  • Property svn:executable set to *
File size: 341 bytes
Line 
1#!/bin/bash
2
3i=0
4
5for solr_node in $SOLR_NODES ; do
6 solr_host=${solr_node%:*}
7 solr_port=${solr_node##*:}
8
9# opt_s="-s /tmp/gc$i-solr-ef/solr"
10 opt_s="-s /tmp/gc$i-solr-ef"
11
12 echo "Starting solr cloud node on: $solr_host [port $solr_port]"
13 solr start -cloud -z $ZOOKEEPER_SERVER -h $solr_host -p $solr_port $opt_s
14
15 i=$((i+1))
16done
Note: See TracBrowser for help on using the repository browser.