>
> You need to set net.ipv4.ip_nonlocal_bind=1 to allow processes to bind to
> an IP address not currently on the host.


Hey guys,

 Yup! That's what I tried. And that's what worked. I have haproxy running
on both nodes. Thanks for your input!

Tim

On Thu, Apr 2, 2015 at 5:30 PM, Lukas Tribus <[email protected]> wrote:

> > Hey folks,
> >
> >   I'm setting up HAProxy and keepalived on 2 nodes today. And I'm able
> > to start HAProxy on the first node, but not on the 2nd node.
>
> If you bind to a virtual IP it will by default only work on if that
> virtual IP
> is currently active on that particular box, which is not what you want.
>
> Configuring the transparent keyword on the bind line of (both!) haproxy
> instances should fix that problem, by binding to a non-local IP.
>
>
> Lukas
>
>




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Reply via email to