[FreeNX-kNX] Load Balancer

Marcin Owsiany marcin at owsiany.pl
Thu Sep 21 17:30:20 UTC 2006


On Wed, Sep 20, 2006 at 10:10:45PM -0500, Carl Caum wrote:
> Hello all, I would like to know if this is possible.  I have a Debian server 
> at my university without X11 installed and that students can't ssh in to.  I 
> have 13 linux desktops with Ubuntu installed.  I would like to setup freenx 
> on the server and all the desktops.  But I want the Debian server to only act 
> as a load balancer for the desktops.  As I understand it, I can allow the 
> user nx to be able to ssh into the Debian server.  Then configure freenx to 
> use PAM authentication to authenticate the students.  But I need freenx to 
> not attempt to load a session from the server but redirect to the Ubuntu 
> machine with the lowest load.  Can this be done?

Yes, the code has support for this, but you need to enable an
undocumented variable in the config, whose name I don't remember at the
moment :-) as well as set a list of node hostnames and a load-balancing
algorithms (the two latter are documented). Search the nxserver code for
load balancing, you'll see the variable value being checked - it's all
capitals and underscores and contains the string LOAD_BALANCE i think.

Marcin
-- 
Marcin Owsiany <marcin at owsiany.pl>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown



More information about the FreeNX-kNX mailing list