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:
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.