Slide 29
Slide 29 text
A breeze to configure
config = {
"_id" : "bg",
"members" : [
{ "_id" : 0, "host" : "$MONGO_SERVER_A:27017" },
{ "_id" : 1, "host" : "$MONGO_SERVER_B:27017" },
{ "_id" : 2, "host" : "$MONGO_ARBITER:27017",
"arbiterOnly": true }
]
}
rs.initiate(config);
Now configure a master-master in MySQL...