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: Tue, 29 Mar 2011 08:28:34 -0700 (PDT)
So I tried that and it's still not working. 

> # Global Directives
> checktimeout=10
> checkinterval=2
> #fallback=127.0.0.1:80
> autoreload=no
> logfile="/var/log/ldirectord.log"
> #logfile="local0"
> #quiescent=no
>
> # Virtual Server for HTTPS
> virtual=10.10.10.5:443
>        fallback=127.0.0.1:443
>        real=10.10.10.4:443 gate
          real=10.10.10.3:443 gate
>        service=https
>        request="test.html"
>        receive="Test Page"
>        scheduler=rr
>        persistent=300
>        protocol=tcp
> #    checktype=negotiate
>
> # Virtual Server for HTTP
> virtual=10.10.10.5:80
>        real=10.10.10.3:80 gate 
>        real=10.10.10.4:80 gate 
> #        fallback=127.0.0.1:80
>        service=http
>        request="test.html"
>        receive="Test Page"
>        scheduler=wlc
>        persistent=300
>        protocol=tcp
> #    checktype=negotiate



________________________________
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>