Load balance port not listening
Roman Gelfand <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <CAJbW+r=++u8HE47X=kF9c0sVZvy5r6Fh-hKnR09DK770y7=4aA@mail.gmail.com> |
I am attempting to setup smtp gateway server loadbalancing. Using
netstat, I am not seeing any listeners on port 25.
My config is...
global_defs {
lvs_id LVS_1
}
vrrp_instance VI_1 {
interface eth1
state MASTER
virtual_router_id 51
priority 101 # 101 on master, 100 on backup
advert_int 1
smtp_alert
authentication {
auth_type PASS
auth_pass pass
}
virtual_ipaddress {
192.168.0.249/24 brd 192.168.0.255 dev eth0
}
virtual_server 192.168.0.249 25 {
delay_loop 60
lb_algo rr
lb_kind DR
protocol TCP
persistence_timeout 360
real_server 192.168.0.245 25 {
weight 1
TCP_CHECK {
connect_timeout 3
connect_port 25
nb_get_retry 3
delay_before_retry 3
}
}
real_server 192.168.0.244 25 {
weight 1
TCP_CHECK {
connect_timeout 3
connect_port 25
nb_get_retry 3
delay_before_retry 3
}
}
}
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk