Changeset 31306 for other-projects/hathitrust/wcsa
- Timestamp:
- 2017-01-20T17:50:33+13:00 (7 years ago)
- Location:
- other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-mongodb-stop-routerservers.sh
r31303 r31306 1 1 #!/bin/bash 2 2 3 for h in $MONGODB_ CONFIG_HOSTS ; do3 for h in $MONGODB_ROUTER_HOSTS ; do 4 4 echo "*" 5 5 echo "* Stopping MongoDB Router Server on $h:$MONGODB_ROUTER_PORT" … … 7 7 ssh $h "mongo --host localhost --port $MONGODB_ROUTER_PORT -eval \"db.getSiblingDB('admin').shutdownServer()\"" 8 8 9 # ssh $h "mongod --dbdir $MONGODB_DBDIR/config-metadata --shutdown"10 11 9 echo "*****" 12 10 echo ""
Note:
See TracChangeset
for help on using the changeset viewer.