-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Replication
ideawu edited this page May 2, 2013
·
22 revisions
Master Config:
server:
ip: 127.0.0.1
port: 8888
replication:
Slave Config:
server:
ip: 127.0.0.1
port: 8889
replication:
slaveof:
ip: 127.0.0.1
port: 8888
Master Config:
server:
ip: 127.0.0.1
port: 8888
replication:
slaveof:
type: mirror
ip: 127.0.0.1
port: 8889
Master2 Config:
server:
ip: 127.0.0.1
port: 8889
replication:
slaveof:
type: mirror
ip: 127.0.0.1
port: 8888
Slave Config:
server:
ip: 127.0.0.1
port: 8890
replication:
slaveof:
ip: 127.0.0.1
# or 8889
port: 8888