Created
March 14, 2013 15:03
-
-
Save motiooon/5162053 to your computer and use it in GitHub Desktop.
rs conf
This file contains hidden or 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
SECONDARY> rs.conf() | |
{ | |
"_id" : "rs0", | |
"version" : 5, | |
"members" : [ | |
{ | |
"_id" : 0, | |
"host" : "127.0.0.1:27017" | |
}, | |
{ | |
"_id" : 1, | |
"host" : "127.0.0.1:27018" | |
}, | |
{ | |
"_id" : 2, | |
"host" : "127.0.0.1:27019", | |
"priority" : 0 | |
}, | |
{ | |
"_id" : 3, | |
"host" : "127.0.0.1:27020" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment