Hi guys, I have a bit of an esoteric question...
I have a simple replication setup with one master and two replication slaves. One slave replicates all databases EXCEPT for one (replicate-ignore-db), the other uses replicate-do-db to ONLY replicate the DB the first one does not. Both are in sync with the master.
I would like to move all replication to the "second" slave (the one that currently replicates only one DB), preferably without stopping the master. I thought I could stop both slaves, copy the DBs over and restart the slaves, but unless both slaves were stopped at the exact same spot in the binlogs I could lose data, right?
Is there a way to stop both slaves simultaneously (from the master maybe)? Is there another way to do this I'm missing?
Thanks in advance.
I have a simple replication setup with one master and two replication slaves. One slave replicates all databases EXCEPT for one (replicate-ignore-db), the other uses replicate-do-db to ONLY replicate the DB the first one does not. Both are in sync with the master.
I would like to move all replication to the "second" slave (the one that currently replicates only one DB), preferably without stopping the master. I thought I could stop both slaves, copy the DBs over and restart the slaves, but unless both slaves were stopped at the exact same spot in the binlogs I could lose data, right?
Is there a way to stop both slaves simultaneously (from the master maybe)? Is there another way to do this I'm missing?
Thanks in advance.