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
3 years ago
|
rs.initiate(
|
||
|
{
|
||
|
"_id":"rep-set3",
|
||
|
"members":[
|
||
|
{
|
||
|
"_id":0,
|
||
|
"host":"primary3:27017"
|
||
|
},
|
||
|
{
|
||
|
"_id":1,
|
||
|
"host":"secondary3_1:27017"
|
||
|
},
|
||
|
{
|
||
|
"_id":2,
|
||
|
"host":"secondary3_2:27017"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
);
|