root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-mongodb-start-configservers.sh @ 31302

Revision 31302, 228 bytes (checked in by davidb, 3 years ago)

Initial commit of scripts, after some testing, and subsequent changes to the monogodb setup file

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3for 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 &"
6done
Note: See TracBrowser for help on using the browser.