MySQL Failover
Posted: 16 May 2008 04:21 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  50
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 08:25 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
RankRank
Total Posts:  116
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 08:33 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10898
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

Most recent build notes - 20080808

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 10:33 AM
Total Registered Members: 60694 Total Logged-in Users: 46
Total Topics: 73124 Total Anonymous Users: 29
Total Replies: 394382 Total Guests: 569
Total Posts: 467506    
Members ( View Memberlist )