LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Keepalived: sorry_server on directors?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Keepalived: sorry_server on directors?
From: "Easytrans Systems (Laurie Baker)" <lvs@xxxxxxxxxxxxx>
Date: Mon, 6 Sep 2004 19:01:33 +0100
Simon Young said:
"I'm sure I read a section in the docs about configuring a director as a
realserver, but I just can't seem to find it."

Take a look at Horms's
http://www.ultramonkey.org/2.0.1/topologies/hc-ha-lb-eg.html

More specifically:
http://www.ultramonkey.org/2.0.1/topologies/config/hc-ha-lb/non-fwmark/linux
_director/ldirectord.cf
for one example .... a snippet below .... "SEE FALLBACK" ... just be sure
that your director has a webserver up and running and listening on port 80
in this example ...

# Virtual Server for HTTP
virtual=192.168.6.240:80
        fallback=127.0.0.1:80
        real=192.168.6.4:80 gate
        real=192.168.6.5:80 gate
        real=192.168.6.6:80 gate
        service=http
        request="index.html"
        receive="Test Page"
        scheduler=rr
        #persistent=600
        protocol=tcp
        checktype=negotiate

Good Luck,
Laurie Baker

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