On Monday 10 January 2011 09:09:12 Todd Nine wrote: > Hi all, > I'm running haproxy on 3 nodes on amazon ec2. Unfortunately Amazon's ELB > doesn't meet our security requirements. One of our requirements is fast > automatic failover to standby nodes. It seems I can accomplish this via > the heartbeat package. I've created a chef recipe that correctly installs > and configures heartbeat. My configuration file is here. > > https://gist.github.com/7b37b9b2060842e3a364 > > Now, my next question. When a node becomes the DC, I need to execute a > script (probably ruby) that will make a call to EC2 and set the public > elastic ip to the DC node. I also cannot configure this interactively, I > need to be able to automate this with Chef. Can anyone point me to an > example of how to set this up? I read the doc for pacemaker, but it's not > clear to me how do something as simple as execute a script on the "New DC" > event and register it within the framework. > > Thanks, > Todd
Please read http://www.clusterlabs.org/ the follow up project of Linux-HA. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
