[FreeNX-kNX] Manually starting a freenx session

Fabian Franz FabianFranz at gmx.de
Thu Sep 6 17:37:36 UTC 2007


Hi,

> I'm implementing a re-routing application using freenx as the server.
> Basically the idea is to have the client connecting to a
> server, authenticating there and giving him the parameters for the session
> it wants, that server will give him back a cookie and an IP:port address
> of another server in a server farm. This IP:port is discovered by
> balancing
> the load in the server farm. The server who gets the first connection of
> the
> client ( i call it frontserver ... or frontend server.. ) will create the
> actual session in the backend server for the client. The client would then
> only authenticate himself in the backend server with the cookie and
> user/pass and restore the session. This is made so that the frontserver
> has
> all the session administration responsabilities on him.

You just explained how loadbalancing currently works in FreeNX.

If you disable SSL (on client) or on server, you can even force the client to connect directly to the back nodes (using cookie as authentication).

Else the communciation will be encrypted until frontserver and redirected from there to the back nodes.

So what exactly in the FreeNX loadbalancing scheme (that you described in great detail, without knowing it) do you not like? ;-)

It even allows you to hook into your own loadbalancing scheme by supplying the right nxcheckload script in $PATH_BIN/ (where nxserver and nxnode and so on can be found).

cu

Fabian



More information about the FreeNX-kNX mailing list