Created
April 21, 2011 22:59
-
-
Save rauchg/935664 to your computer and use it in GitHub Desktop.
MongoDB replica set initialization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> rs.initiate({_id: "lbdevset", members: [{_id: 0, host: "HOST:28017"}, {_id: 1, host: "HOST:28018"}] }) | |
> rs.addArb("HOST:28019") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment