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

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

Changes made after testing with 20 solr nodes

  • Property svn:executable set to *
File size: 256 bytes
Line 
1#!/bin/bash
2
3for solr_node in $SOLR_NODES ; do
4 solr_host=${solr_node%:*}
5 solr_port=${solr_node##*:}
6 echo "Starting solr cloud node on: $solr_host [port $solr_port]"
7 ssh $solr_host solr start -c -z $ZOOKEEPER_SERVER -h $solr_host -p $solr_port
8done
Note: See TracBrowser for help on using the repository browser.