[Pacemaker] Virtual IP + Active/Active Services

Chris Masters rotis23 at yahoo.com
Wed Jan 26 10:55:20 EST 2011


Hi All,

Just upgrading from heartbeat 2.1 and mon!

We have the following setup:

 - Two machines that run mysql in a master-master setup via replication (now 
semi-sync in 5.5)
 - I need all apps to point to a virtual IP
 - I need both mysql instances to be monitored *only* - not started or stopped 
as this will break replication (traditionally we did with mon - it just shutdown 
heartbeat and flipped the virtual IP and did not mess with mysql)

I can setup a straight ocf:heartbeat:IPAddr and lsb:mysql group but this shuts 
down the passive mysql instance. I've tried using is-manged=false and using 
multi-state clones for the mysql but no luck.

All this is OK if you're using DRDB (and I've seen the howtos) but I can't seem 
to transpose that approach onto this setup.

Can someone tell me if this is possible and what configuration approach/design I 
should use? 


Thanks, rotis23


      




More information about the Pacemaker mailing list