[FreeNX-kNX] Load-balancing in FreeNX

Fabian Franz FabianFranz at gmx.de
Tue Aug 14 14:46:23 UTC 2007


> Hello All,

Hi,

> 
> How well does the load-balancing feature work now? 

As far as I know it works now for most.

> Is there some
> documentation on how to get that done other than just the comments in
> the node.conf file?

I don't think so:

I guess the easiest setup is to have one front node and several slave nodes and have the slave nodes only be accessible through the front node (i.e. no routing) like:

front node:

external 172.16.1.1
internal 192.168.1.1

slave nodes: 192.168.1.x

On the front node you setup LOAD_BALANCE_SERVERS="192.168.1.2 192.168.1.3" and so on ...

You set load balance algorithm to "random" for testing it first.

Later you can use the supplied script to do more sophistic load balancing based on number of users or load or ... by changing it back to "load".

For this you copy nxcheckload.sample to the directory, where also nxserver and the other scripts are and change it according to how you have it setup.

There are some examples in there.

Others have added a mysql database and other stuff to set it up ...

cu

Fabian



More information about the FreeNX-kNX mailing list