In an Active Active Master Master setup there is a special
procedure to do when recovering a down server.
Assumptions:
-
- Your application can handle 1 of the servers being
down.
- You?re a good DBA so you take hot backups at least once a
night.
- You never PURGE MASTER LOGS to a point where a backup can't
recover.
- I'm assuming that you already know how to set up a master
master config. If not comment and I will post how to, and things
to watch out for.
Recover from backup, lets assume your using ibbackup
%> ibbackup --apply-log --use-memory 2000
my.cnf.restore
my.cnf.restore contains the innodb definitions and the location
of the backup files.
Once restored INNODB will actually print out the last slave
position it was …