MySQL Failover
Posted: 16 May 2008 03:21 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  81
Joined  03-07-2008

I want to setup 2 MySql instances with failover.

I am thinking about doing this with both instances of the RDBMS pointing to a shared drive (a SAN).  One instance will be active, and one will be passive, by having one RDBMS instance started and one stopped.

If the active RDBMS failed we would then like to automatically stop that instance, and start the other RDBMS which would now point to the same mount point on the SAN, we should now have failover without the cost/ complication of replication.

The MySql RDBMS’s would run on HP-UX, and with HP ServiceGuard controlling the shutdown/ startup of MySql scripts in the event of failures. There would be a floating IP address that pointed to a subnet with both RDBMS’s on it, HP ServiceGuard would then ensure that whichever RDBMS was active was where the floating IP address was ultimately pointing to.

I would also welcome comments on the sanity of this strategy. Or alternative strategies using a SAN”

Profile
 
 
Posted: 16 May 2008 07:25 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
RankRank
Total Posts:  131
Joined  04-02-2006

Your best bet might be to read the second edition of the book
“High Performance MySQL”, which is due out in June. ISBN is 0596101716.

RAID could give you synchronized copies on two (or more) drives.
Otherwise, if you need synchronization, you maybe need real-time replication..?

Why do you want to failover to an out-of date copy of your database?

Profile
 
 
Posted: 16 May 2008 07:33 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

Welcome to the ExpressionEngine forums, Michael. This is more of a HowTo question, so I’m going to move it there.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 31
Total Topics: 82017 Total Anonymous Users: 14
Total Replies: 440827 Total Guests: 168
Total Posts: 522844    
Members ( View Memberlist )