|
On 13/06/13 05:29, Robinson, Eric
wrote:
For what it's worth, we run MySQL+InnoDB on DRBD and use Heartbeat+Pacemaker for failover between nodes at different sites. This supports our Moodle VLE which is an important part of our course provision. As yet we have had no problems. We also use mysqldump to back up databases. To quote from Wikipedia: " InnoDB recovers from a crash or other unexpected shutdown by replaying its logs" These logs, by nature of the fact they're on a DRBD device, will be identical on both nodes, so if, say, node-A fails, node-B can assume Primary role for the DRBD device and mysql can start up, replaying its logs to may sure the data is up-to-date. I think whoever told you mysql would not start properly was possibly referring to what would happen if you simply copied all the files (with, for instance, rsync) whilst the database was active. -- Paul Walsh Head of Unix/Linux Systems Services, Corporate ICT, Birmingham City University, City North Campus, Perry Barr, BIRMINGHAM B42 2SU, UK Tel: +44 (0)121 331 5708 Fax: +44 (0)121 356 2875 Mobile: +44 (0)7974 150 421 |
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
