MySQL Failover
Posted: 16 May 2008 04:21 AM   [ Ignore ]  
Summer Student
Total Posts:  7
Joined  2008-03-07

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:  107
Joined  2006-04-02

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
RankRankRankRankRankRank
Total Posts:  9923
Joined  2002-04-29

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
 
 
   
 
 
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: 58257 Total Logged-in Users: 40
Total Topics: 68360 Total Anonymous Users: 14
Total Replies: 368152 Total Guests: 431
Total Posts: 436512    
Members ( View Memberlist )