Jason Edgecombe wrote:
I'm currently using the splaytime option to spread out the load on my
server, but I'm wondering how many clients a cfengine server can
accomodate. When would we need to set up multiple servers and how should
we go about that?
I have started to use three servers on both my sites when I found that
300 clients just was a bit too much. (My cfengine servers do other
things as well, not just cfengine.) I'm using quite a simple random
fileserver = ( masterserver.buf.fr )
masterfiles = ( /vol/cfengine/masters )
fileserver = ( slaveserver_1.buf.fr )
masterfiles = ( /DATA/cfengine-2/masters )
fileserver = ( slaveserver_2.buf.fr )
masterfiles = ( /srv/cfengine/masters )
As you can see, calling cfagent by hand always goes on the master
server; different servers can export their configuration from different
The slave servers themselves copy the configuration from the master
server, using a simple recursive copy with purge=true, once an hour.
That way, up to two hours can pass after a config file push until all
machines have caught up.
I'm sure there are other ways to to load balancing.
Alexander Jolk * BUF Compagnie * [email protected]
Tel +33-1 42 68 18 28 * Fax +33-1 42 68 18 29