| | 22 | I have also built mysql 5.6 on ipp121 and turned on replication on that machine. |
| | 23 | |
| | 24 | I have also implemented a new strategy to have a backup copy to recover from catastrophic errors which are passed through the replication process (e.g., DROP TABLE...). It turns out that mysql 5.6 includes a replication option to delay the replication process. By issuing a command like |
| | 25 | |
| | 26 | CHANGE MASTER TO MASTER_DELAY = N; |
| | 27 | |
| | 28 | the replicant is made to lag the master by N seconds. |
| | 29 | |
| | 30 | For the moment, I have set the ipp121 copy to have a delay of 50,000 seconds. This seems to be working as this slave is currently at 50,000 seconds behind the master and holding. |
| | 31 | |
| | 32 | My plan, to be implemented next week, is to have two copies on some appropriate machines, one with a delay of 24 hours and a second with a delay of 1 week (or so, TBD). That will give us two timescales for disaster recovery. |
| | 33 | |
| | 34 | }}} |