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>