source:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/nema-solr-stop-all.sh@
31307
Last change on this file since 31307 was 31106, checked in by , 7 years ago | |
---|---|
|
|
File size: 199 bytes |
Rev | Line | |
---|---|---|
[31106] | 1 | #!/bin/bash |
2 | ||
3 | for solr_node in $SOLR_NODES ; do | |
4 | solr_host=${solr_node%:*} | |
5 | solr_port=${solr_node##*:} | |
6 | echo "Stopping Solr cloud node: $solr_host [port $solr_port]" | |
7 | solr stop -p $solr_port | |
8 | done |
Note:
See TracBrowser
for help on using the repository browser.