root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-solr-stop-all.sh @ 31307

Revision 31103, 196 bytes (checked in by davidb, 3 years ago)

Changes made after testing with 20 solr nodes

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3for solr_node in $SOLR_NODES ; do
4  solr_host=${solr_node%:*}
5  solr_port=${solr_node##*:}
6  echo "Stopping Solr cloud node: $solr_host"
7  ssh $solr_host solr stop -p $solr_port
8done
Note: See TracBrowser for help on using the browser.