Switching roles
To get a taste of the power of Tungsten Replicator, we will show
how to switch roles. This is a controlled operation (as opposed
to fail-over), where we can decide when to switch and which nodes
are involved.
In our topology, host1 is the master, and we have three slaves.
We can either ask for a switch and let the script select the
first available slave, or tell the script which slave should be
promoted. The script will show us the steps needed to perform the
operation.
IMPORTANT! Please note that this operation is not risk free.
Tungsten replicator is a simple replication system, not a
complete management tool like Continuent Tungsten. WIth the replicator, you must
make sure that the applications have stopped writing to the
master before starting the switch, and then you should address
the application to the new master when the …
[Read more]