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

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

Changes made after testing with 20 solr nodes

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