LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Https not working with ldirectord only http working

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Https not working with ldirectord only http working
From: Sal Lvs <sal_lvs@xxxxxxxxx>
Date: Fri, 1 Apr 2011 08:19:33 -0700 (PDT)
This is what I'm getting in the tcpdump on the server serving 443: 

[root@vml-ftpdmz01 ~]# tcpdump port 443
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
11:17:27.818635 IP vml-ftpdmz01.duhs.duke.edu.https > 
bubacomp.dhe.duke.edu.44674: S 323601691:323601691(0) ack 776269380 win 5792 
<mss 1460,sackOK,timestamp 1472476639 1472452447>
11:17:27.818771 IP bubacomp.dhe.duke.edu.44674 > 
vml-ftpdmz01.duhs.duke.edu.https: . ack 1 win 5792 <mss 1460,sackOK,timestamp 
1472476639 1472452447>
11:17:40.655726 IP bubacomp.dhe.duke.edu.44674 > 
vml-ftpdmz01.duhs.duke.edu.https: F 1:1(0) ack 1 win 5840 <nop,nop,timestamp 
1460384 1472463300>
11:17:40.655868 IP vml-ftpdmz01.duhs.duke.edu.https > 
bubacomp.dhe.duke.edu.44674: . ack 1 win 5792 <nop,nop,timestamp 1472489476 
1472476639>

[root@vml-pgplb ~]# ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  152.16.195.204:443 rr persistent 300 mask 255.255.255.0
  -> 152.16.195.187:443           Route   0      0          0         
TCP  152.16.195.204:80 rr persistent 600
  -> 152.16.195.85:80             Route   1      0          0      






________________________________
From: Graeme Fowler <graeme@xxxxxxxxxxx>
To: LinuxVirtualServer.org users mailing list. 
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tue, March 29, 2011 4:59:04 AM
Subject: Re: [lvs-users] Https not working with ldirectord only http working

On Mon, 2011-03-28 at 15:00 -0700, Sal Lvs wrote:
> I already tried both, and still not working. 

I just looked back at your config, which appears (to me) to be invalid.

You should have both realservers in the same virtual definition, not
separately. Here's a very basic example:

# Virtual Server for HTTPS
virtual=10.10.10.5:443
        real=10.10.10.3:443 gate 1
        real=10.10.10.4:443 gate
        service=https
        request="/test.html"
        receive="Test Page"
        scheduler=rr

Try that and see.

Graeme


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>