S
S
Sergey Pikalev2014-04-24 14:49:56
Load balancing
Sergey Pikalev, 2014-04-24 14:49:56

Keepalived cascade, why doesn't telnet pass between them?

Situation:
client ==80==> keepalived1 ==80==> keepalived2 ==80==> nginx
Telnet goes from keepalived2 to nginx.
Not with keepalived1 anymore.
Not from the client, of course.
Help, plz, figure out what could be the plug.
keepalived1 config:

virtual_server 1.1.1.1 80 {
    delay_loop 2
    lb_algo lc
    lb_kind NAT
    persistence_timeout 50
    protocol TCP
    real_server 192.168.3.11 80 {
        weight 1
        TCP_CHECK {
            connect_port 80
            connect_timeout 3
            nb_get_retry 3
            delay_before_retry 2
        }
    }
}

keepalived2 config:
virtual_server 192.168.3.11 80 {
    delay_loop 2
    lb_algo lc
    lb_kind NAT
    persistence_timeout 50
    protocol TCP
    real_server 2.2.2.2 80 {
        weight 1
        TCP_CHECK {
            connect_port 80
            connect_timeout 3
            nb_get_retry 3
            delay_before_retry 2
        }
    }
}

Tell me where to dig, what to watch? All gone already.
If the situation is not clear, I can throw off additional information.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question