Hi,
I'am a new user of LVS and have a basic questions for experts about
port listening on the director.
I test a WWW lvs with 3 servers.
lvs1 : 192.168.1.5
front1 : 192.168.1.6
front2 : 192.168.1.7
all servers are Debian Sarge Stable.
Here my ipvsadm output :
lvs1:~# ipvsadm
IP Virtual Server version 1.0.11 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP lvs1:www wlc
-> front2:www Masq 1 0 0
-> front1:www Masq 1 0 0
and here the lvs1 netstat output
lvs1:~# netstat -nta
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:113 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:666 0.0.0.0:*
LISTEN
tcp 0 48 192.168.1.5:22 192.168.1.2:50069
ESTABLISHED
So when I make a GET / on lvs1 I got an error : seems normal because
it does not listen WWW port.
Could anyone help me and show me my mistake ? What's the solution to
tell LVS1 listen on WWW port ?
Regards
Jeremie
|