1

We currently have 3 MySQL Servers running;

  • the first which contains production data and is due to be retired

    mysqld Ver 5.5.28-0ubuntu0.12.04.2 for debian-linux-gnu on x86_64 ((Ubuntu))

    mysql> SHOW MASTER STATUS; Empty set (0.00 sec)

  • the second which contains out of date snapshot of production data and is to take over from the first.

    mysqld Ver 5.5.28-0ubuntu0.12.04.3-log for debian-linux-gnu on x86_64 ((Ubuntu))

    Master Status

  • the third which is already a slave of the second server.

    mysqld Ver 5.5.29-0ubuntu0.12.04.1 for debian-linux-gnu on x86_64 ((Ubuntu))

    mysql> SHOW MASTER STATUS; Empty set (0.01 sec)

My question is would I go about setting up the following?:

First Server (master) -> Second Server (slave) -> Third Server (slave)

Tutorial links welcome! I tried to Google, but I'm sure I've gotten the wrong keywords

Jharwood
  • 805
  • 2
  • 11
  • 19
  • How much data are we talking ? 2) How much downtime are you willing to accept? 3) Are all three DB servers running the same version of MySQL ?
  • – RolandoMySQLDBA Jan 31 '13 at 16:21
  • 50MB, server 1 can't go down for more than a minute, server 2/3 are expendable for now, No. – Jharwood Jan 31 '13 at 16:39
  • OK you said 50MB. Do you have binary logging enabled on the first server ??? – RolandoMySQLDBA Jan 31 '13 at 16:41
  • doesn't appear to have it running – Jharwood Jan 31 '13 at 16:43
  • Please run SHOW MASTER STATUS; on all three DB Servers and tell me what you see. – RolandoMySQLDBA Jan 31 '13 at 16:44
  • I have recently updated the snapshot on server 2 by request of the boss – Jharwood Jan 31 '13 at 16:44
  • I am sorry. Rather than grill you with questions on details, here is a post I made back on Aug 12, 2012 on how to setup Replication step-by-step : http://dba.stackexchange.com/a/23316/877 – RolandoMySQLDBA Jan 31 '13 at 16:47