5

keepalived doesn't listen on virtual IP

view full story
linux-howto

http://serverfault.com – I'm learning to use keepalived; for now within a single machine - just to make sure the forwarding works. I've started a mock webserver listening on 192.168.56.200:8080. It just replies with the hostname. $ curl http://192.168.56.200:8080/ controller-1 Now I've configured keepalived (/etc/keepalived/keepalived.conf): virtual_server 192.168.111.1 8082 { delay_loop 30 lb_algo rr lb_kind DR persistence_timeout 50 protocol TCP real_server 192.168.56.200 8080 { weight 1 TCP_CHECK { } } } vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 1 pri (HowTos)