On 2008-11-20, Dejan Muhamedagic <[email protected]> wrote: > > I guess that this could be better handled by a multi-state > (master-slave) resource. For which you'd need an appropriate OCF > RA. Basically, what you already have could be combined in a > single RA, with two extra operations (actions): promote (slave to > master) and demote (vice versa). Your configuration would also be > simpler.
Or even simpler if you do a master-master circular replication. Then all you need to do is failover the ip-address. http://capttofu.livejournal.com/1752.html gives simple instructions for setting up a "multimaster"-replicating mysql, and with a single failover ip-address as contact point for these two masters, it looks like a quite safe setup. -jf _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
