Forum Moderators: open
Anyone have any advice on a solution or solution provider to accomplish this?
Thanks a lot!
-dave
After our web server had a hard drive failure over the weekend we have decided we need to go fully redundant.
For drive redundancy why not just use RAID with hot spares? That way whenever a drive goes it just fails over with no effect on performance. Even if two drives were to go down it would still work.
When setting up two database servers, you should use replication between the two MySQL instances. In simple configurations, one is assigned the task of master, the other one slave. For easiest replication, you should make sure that updates and inserts in the database are only performed at the master. If the changes occur simultaneously in the master and slave database, inconsistencies may occur which can cause database integrity problems. One such problem is with auto_increment fields. If an insert takes place in the same tables on both databases, both MySQL instances will assign the same auto_increment value to the new record, although the records are different. See the MySQL manual for the auto_increment_increment, and auto_increment_offset system variables for a solution with a multi-master setup.
And there is much more that can fail in a computer than just the drives.
I recommend first determining how much revenue/profit you stand to lose if you site is down for 525.6 minutes a year (99.9% uptime) and compare it to how much you will have to spend to make everything redundant.
Depending on your business, load balanced web servers coupled with a well configured, raid enabled regularly maintained db server is probably a good balance of cost/reliability.
ALSO, DON'T FORGET BACKUP. SET BACKUP ONCE. REVIEW IT MONTHLY!