You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
166 B
JavaScript
7 lines
166 B
JavaScript
11 years ago
|
config_rs1 = {
|
||
|
_id : "rs1",
|
||
|
members : [ { _id:0, host:"localhost:27010", priority:1 }, { _id:1, host:"localhost:27017" } ]
|
||
|
};
|
||
|
rs.initiate(config_rs1);
|
||
|
|