HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Using Heartbeat w/no load balancer multiple IP's (http://www.howtoforge.com/forums/showthread.php?t=39069)

wxman 11th September 2009 17:06

Using Heartbeat w/no load balancer multiple IP's
 
I've read so many how-to's about heartbeat and load balancers, but I can't find anything about multiple IP's on just heartbeat.
I'm using multiple public IP's pointing to local IP's on a Ubuntu server. Many of my sites have an SSL so I need separate IP's for those, and a shared one for the sites that don't need an SSL. I want to run heartbeat, but I can never get it to fail-over all the virtual IP addresses.
For example, my last try had a haresources of:
Code:

web1.domain.net 192.168.31.202 192.168.31.203 192.168.31.204 192.168.31.205 apache2
The 192.168.31.202 is the one for the shared sites with no SSL. Every time I've tested this, all it ends up doing is removing all but the .202 address. none of the others ever get added.
The only thing I can think of is that I used the .202 address for the primary server, and I set the backup server to initially use 192.168.31.212 as it's IP on eth0. I figured the when heartbeat failed over, it would set up a virtual IP for the .202 address on eth0:0. I would like to find a help or how-to that covers setting up heartbeat without a load balancer, and using multiple IP's.


All times are GMT +2. The time now is 11:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.