> Thanks, I found your post to be very informative.
> Would you be able to post a small example of a config that
> has multiple
> Clusters and multiple Sites defined? I am going to have more
> than one site
> and each site might need a special "Cluster Group" defined
> just for it (as I
> tried to show in my example).
> I just wanted to get a feel for what the config looks likes.
> I am planning
> to install my own and do a test tomorrow.
Example config is included. I posted a number of examples for other
required files in the FAQ area. (They were originally from a nice fellow
named Juri who lurks on this list). Ldirectord should come with a good
starter.
*** NOTE OF CAUTION *** - I've found that the ldirectord.conf file is
_REALLY_ picky about whitespace. I mean REALLY REALLY picky. That's about
the one gotcha in it..
Good luck. Try 'em all and do what suits ya :)
<partial snip from /etc/ha.d/conf/ldirectord.conf>
# Ldirectord will connect to each real server once per second
# and request /index.html. If the data returned by the server
# does not contain the string "Test Message" then the
# test fails and the real server will be taken out of the available
# pool. The real server will be added back into the pool once the
# test succeeds. If all real servers are removed from the pool then
# localhost:80 is added to the pool as a fallback measure.
# Global Directives
checktimeout=3
# autoreload the conf file! yes/no?
autoreload=yes
checkinterval=10
#fallback=127.0.0.1:80
# maps.sidestep.com
virtual=64.211.248.13:80
real=64.211.248.135:80 gate 1
real=64.211.248.136:80 gate 1
service=http
request="index.html"
receive="SideStep"
scheduler=rr
persistent=10
protocol=tcp
# www.sidestep.com
virtual=64.211.248.15:80
real=64.211.248.135:80 gate 1
real=64.211.248.136:80 gate 1
service=http
request="index.html"
receive="SideStep"
scheduler=rr
persistent=10
protocol=tcp
|