Hi everyone,
Not specifically an SC question, but has anyone implemented mysql replication with a project? What I want to do is have a complete standby web app and DB, on a second server, in case the first has issues. I was thinking of doing an hourly sql dump and restore to the second one, but then started thinking that there was a mysql solution???
The second web app (file system on second webserver) should be fine as-is right? I mean, the SC connections used will not have to be altered, as the second web app wold see its own DB on the localhost machine, assuming I name it the same with teh same DB password?
At first, daily or hourly is fine, but eventually scaling up with parallel apps and servers, with replicated DBs would seem good.
What I want to avoid is , “the site is down” , and then have to do an restoring thing under pressure. Seems like a standby setup would only need me to repoint my domains inside my hosting service control panel. The I could go in and figure out what happened.
Second question: What types of routine test/repairing processes should I run on mysql, assuming my DB becomes quite large with lots of paying users ? I see things inside phpmyadmin, but are tose good to run, and are there other things I can run automatically?
Any tips are appreciated,
Jamie