Hi Tommaso,
On Nov 30, 2010, at 7:41am, Tommaso Teofili wrote:
Hi all,
in a replication environment if the host where the master is running
goes
down for some reason, is there a way to communicate to the slaves to
point
to a different (backup) master without manually changing
configuration (and
restarting the slaves or their cores)?
Basically I'd like to be able to change the replication master
dinamically
inside the slaves.
Do you have any idea of how this could be achieved?
One common approach is to use VIP (virtual IP) support provided by
load balancers.
Your slaves are configured to use a VIP to talk to the master, so that
it's easy to dynamically change which master they use, via updates to
the load balancer config.
-- Ken
--------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c w e b m i n i n g