I have one load balancer and two real servers. Http service works fine for the
setup. But it fails for https
Below is the setup and situation I encounter.
Setup
--------
VIP 10.0.58.136
Director 10.0.58.231
Real Server1 10.0.58.232
Real Server2 10.0.58.230
1. When HTTPS request are made through the VIP and ipvsadm -L -c -n is
executed, below is found.
TCP 00:01 CLOSE 10.0.58.93:1828 10.0.58.136:443 10.0.58.230:443
TCP 00:05 CLOSE 10.0.58.93:1840 10.0.58.136:443 10.0.58.230:443
TCP 00:04 CLOSE 10.0.58.93:1833 10.0.58.136:443 10.0.58.232:443
TCP 00:05 CLOSE 10.0.58.93:1838 10.0.58.136:443 10.0.58.230:443
TCP 00:03 CLOSE 10.0.58.93:1829 10.0.58.136:443 10.0.58.232:443
TCP 00:04 CLOSE 10.0.58.93:1834 10.0.58.136:443 10.0.58.230:443
TCP 00:05 CLOSE 10.0.58.93:1837 10.0.58.136:443 10.0.58.232:443
TCP 00:04 CLOSE 10.0.58.93:1835 10.0.58.136:443 10.0.58.232:443
TCP 00:04 CLOSE 10.0.58.93:1832 10.0.58.136:443 10.0.58.230:443
TCP 01:20 FIN_WAIT 10.0.58.93:1822 10.0.58.136:80 10.0.58.232:80
TCP 00:04 CLOSE 10.0.58.93:1831 10.0.58.136:443 10.0.58.232:443
TCP 00:03 CLOSE 10.0.58.93:1830 10.0.58.136:443 10.0.58.230:443
TCP 00:05 CLOSE 10.0.58.93:1836 10.0.58.136:443 10.0.58.230:443
TCP 00:05 CLOSE 10.0.58.93:1839 10.0.58.136:443 10.0.58.232:443
2. When HTTPS request are made through the VIP, the tcpdump executed of both
the real servers do not have any traffic.
3. ARP has been proved to run properly.
4. The ldirector runs properly on https test page too. Status Code 200 --> OK
is returned
5. Https configuration
virtual=10.0.58.136:443
real=10.0.58.230:443 gate
real=10.0.58.232:443 gate
fallback=127.0.0.1:443
service=https
scheduler=rr
request="test.htm"
receive="abc"
scheduler=rr
#persistent=600
netmask=255.255.255.255
protocol=tcp
Could you help to figure out the possible cause of https problem, and how to
solve it
Let me know if u need any further information
Many thx in advance
|