You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
323 B
20 lines
323 B
5 years ago
|
rs.initiate(
|
||
|
{
|
||
|
"_id":"rep-set2",
|
||
|
"members":[
|
||
|
{
|
||
|
"_id":0,
|
||
|
"host":"primary2:27017"
|
||
|
},
|
||
|
{
|
||
|
"_id":1,
|
||
|
"host":"secondary2_1:27017"
|
||
|
},
|
||
|
{
|
||
|
"_id":2,
|
||
|
"host":"secondary2_2:27017"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
);
|