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
|