Using Heartbeat w/no load balancer multiple IP's

Discussion in 'Server Operation' started by wxman, Sep 11, 2009.

  1. wxman

    wxman New Member

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

Share This Page