Changeset 31303
- Timestamp:
- 2017-01-19T18:07:02+13:00 (7 years ago)
- Location:
- other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-mongodb-start-configservers.sh
r31302 r31303 2 2 3 3 for h in $MONGODB_CONFIG_HOSTS ; do 4 echo "* Starting MongoDB Config Server on $h: 27019"5 ssh $h "mongod --configsvr --dbpath \"$MONGODB_DBDIR/config-metadata\" --port 27019> mongodb-output-$h-config.log &"4 echo "* Starting MongoDB Config Server on $h:$MONGODB_CONFIG_PORT" 5 ssh $h "mongod --configsvr --dbpath \"$MONGODB_DBDIR/config-metadata\" --port $MONGODB_CONFIG_PORT > mongodb-output-$h-config.log &" 6 6 done -
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-mongodb-stop-configservers.sh
r31302 r31303 3 3 for h in $MONGODB_CONFIG_HOSTS ; do 4 4 echo "*" 5 echo "* Stopping MongoDB Config Server on $h: 27019"5 echo "* Stopping MongoDB Config Server on $h:$MONGODB_CONFIG_PORT" 6 6 echo "*" 7 ssh $h "mongo --host localhost --port 27019-eval \"db.getSiblingDB('admin').shutdownServer()\""7 ssh $h "mongo --host localhost --port $MONGODB_CONFIG_PORT -eval \"db.getSiblingDB('admin').shutdownServer()\"" 8 8 echo "*****" 9 9 echo "" -
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SETUP.bash
r31299 r31303 53 53 source SETUP/setup-solr.bash 54 54 55 export MONGODB_CONFIG_HOSTS="gc0 gc1 gc2" 56 export MONGODB_CONFIG_PORT="27019" 57 export MONGODB_ROUTER_HOSTS="gc3 gc4 gc5" 58 export MONGODB_ROUTER_PORT="27017" 59 export MONGODB_SHARD_HOSTS="gc6 gc7" 55 60 source SETUP/setup-mongodb.bash 56 61
Note:
See TracChangeset
for help on using the changeset viewer.