Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0081baf667
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (47 sloc) 1.011 kb
---
# Convention:
# key: value
# key: y (true)
# key: n (false)
# key: ~ (null)
# key: [ list1, list2 ]
servers:
192.168.0.3: # Hostnames could be used instead.
version: 5.0.45-log
writefor: clusterB
readfor: clusterB
active: y
warm: y # Should have cache-warming run on it.
192.168.0.4:
version: 5.1.48-percona
writefor: ~
readfor: [ "clusterA", "clusterB" ]
active: y
delay: 1h # Slave should be delayed by one hour
192.168.0.5:
version: 5.0.84-log
writefor: clusterA
readfor: clusterA
active: y
192.168.0.6:
version: 5.0.84-log
writefor: clusterB
readfor: ~
active: y
clusters:
clusterA:
active: y
servers: [ "192.168.0.3", "192.168.0.4", "192.168.0.5" ]
schemas: clusterA_schema
primary: 192.168.0.5
failover: ~
clusterB:
active: n
servers:
- 192.168.0.3
- 192.168.0.4
- 192.168.0.5
- 192.168.0.6
schemas: fast_prod
primary: 192.168.0.6
failover: 192.168.0.3
Jump to Line
Something went wrong with that request. Please try again.