Skip to content

Instantly share code, notes, and snippets.

@asicfr
Created June 25, 2014 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asicfr/207682eeca5a6ac836ea to your computer and use it in GitHub Desktop.
Save asicfr/207682eeca5a6ac836ea to your computer and use it in GitHub Desktop.
configS1 = {
"_id" : "s1",
"members" : [
{
"_id" : 1,
"host" : "localhost:37017"
},
{
"_id" : 2,
"host" : "localhost:37018"
},
{
"_id" : 3,
"host" : "localhost:37019"
}
]
};
rs.initiate(configS1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment