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

Last change on this file since 31106 was 31106, checked in by davidb, 6 years ago

Scripts to help run an rsync'd copy of gslistcluster1 /tmp/gcX-solr-shard files

  • Property svn:executable set to *
File size: 309 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
11 echo "Starting solr cloud node on: $solr_host [port $solr_port]"
12 solr start -cloud -z $ZOOKEEPER_SERVER -h $solr_host -p $solr_port $opt_s
13
14 i=$((i+1))
15done
Note: See TracBrowser for help on using the repository browser.