My Oracle Support Banner

How to migrate replication set (A->B) to another replication set (C->D) with minimal downtime? (Doc ID 2140168.1)

Last updated on JULY 19, 2017

Applies to:

MySQL Server - Version 5.1 and later
Information in this document applies to any platform.

Goal

Sometimes there would be needed to migrate to the new server. For instance, to prepare lack of storage capacity and EOL of hardware.

Learn how can migrate from old replication group to the new replication group with minimum downtime ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Take a fresh backup snapshot on A.
 2. Setup the server C with 'log-slave-updates' , 'log-bin'
 3. Load backup snapshot to C,D
 4. Make a new replication set
 5. Check replication status and switch over.
 6. Change the application source regarding connection part in order to connect new replication set.
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.