1

We'd like to have two MySQL cluster groups, and at the same time have replication set up between them. Is that possible?

RolandoMySQLDBA
185k34 gold badges327 silver badges541 bronze badges
asked Dec 8, 2014 at 23:05
0

1 Answer 1

2

Here are two possible setups you could try

TOPOLOGY #1

  • Data Center #1 with two(2) DB Servers (DB1, DB2)
  • Data Center #2 with two(2) DB Servers (DB3, DB4)
  • Setup DRBD with Each Data Center
  • Setup MySQL Replication Between the DRBD Primaries
  • Setup DBVIP (Linux Heartbeat/ Pacemaker / ucarp)

What this setup provides

  • Synchronous Disk-Level Replication Within Each Data Center
  • Asynchronous Replication Between Data Centers

TOPOLOGY #2

  • Data Center #1
  • Data Center #2
  • MySQL Circular Replication
    • DB3 used as Master to DB6
    • DB3 used as Slave to DB6
    • Use Semisync Replication Between Master and Slave

What this setup provides

  • Virtually Synchronous Replication Within Each Data Center
  • Asynchronous Replication Between Data Centers

I have discussed setups like this before

GIVE IT A TRY !!!

answered Dec 9, 2014 at 3:45

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.