Skip to content

Instantly share code, notes, and snippets.

View jshimko's full-sized avatar

Jeremy Shimko jshimko

  • independent
  • Connecticut, USA
  • 23:13 (UTC -04:00)
View GitHub Profile
#!/bin/bash
#
# Starts up a MongoDB replica set
#
# There is a lot of documentation about replica sets:
#
# http://docs.mongodb.org/manual/reference/replica-configuration/
# http://docs.mongodb.org/manual/administration/replica-sets/
#
# To read data from a SECONDARY, when in the client, use: