HomeClusterLabs Projects

High: mysql: improve replication support

Description

High: mysql: improve replication support

This patch modifies the behavior of the mysql RA in order to better
support replication. Upon promotion, the newly selected master stores
in the cib the information needed by the slaves to reconnect to the new
master, the binlog file and binlog position. The new mysql RA also
maintains, through the monitor call, a transient attribute that can be
used by the cluster configuration to control the behavior of reader
VIPs, basically moving them away if the slave is not in a sane state.
It is also possible to use specific IPs for replication by adding node
attributes.

Signed-off-by: Dejan Muhamedagic <dejan@suse.de>

Details

Provenance
Yves Trudeau <y.trudeau@videotron.ca>Authored on May 16 2012, 12:05 AM
Dejan Muhamedagic <dejan@suse.de>Committed on May 16 2012, 12:05 AM
Parents
rR015d84b11cb8: Merge pull request #90 from ikedaj/issue-filesystem
Branches
Unknown
Tags
Unknown

Event Timeline