[FreeNX-kNX] Load Balancing Patch

Arrouan arrouan at octogone.biz
Thu Mar 9 15:51:29 UTC 2006


There is a patch for full working load balancing with FreeNX
But it s clearly not the best way because i disabled the encryption
between (at least) frontal and node(s).
If someone have a better way to do it, it will be very helpful.
As the other patch, i use my freenx dir and subversion revision 190.

Arrouan wrote:

>So i just reproduce a bug for Load Balancing with FreeNX.
>If you use load balancing on loopback (127.0.0.1) it work without any
>problem, but it s not very interesting.
>If you use load balacing on another ip (for example i use my local ip
>192.168.0.XX) then the load balancing failed because the nxagent on the
>node wait for connection from 127.0.0.1 and it come from the load
>balancing frontal. I find a way to fix it but it s not very clean for
>the moment (i hardcore the frontal ip on all node for that you just need
>to modify nxnode and change accept=$userip to accept=ip_of_your_frontal).
>I work on a patch to have a cleaner solution.
>
>If anyone have other idea.
>Remember to use only SSL connection with Load Balancing
>
>Arrouan wrote:
>
>  
>
>>Hi,
>>
>>I made this patch for FreeNX 0.5.0, i just port it to revision 190 of
>>FreeNX Subversion.
>>I had 2 algorithm (a RoundRobin and a Load).
>>Join with the mail the patch and the script who calculate the load on node
>>How to use Load algorithm will be out soon (need to translate it to
>>english).
>>I test this version only on my desktop computer, but the version on
>>FreeNX 0.5.0 work on a 5nodes cluster.
>> 
>>
>>    
>>
>
>_______________________________________________
>FreeNX-kNX mailing list
>FreeNX-kNX at kde.org
>https://mail.kde.org/mailman/listinfo/freenx-knx
>  
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freenx_loadbalacing_v2.patch
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20060309/bbf1ef7f/attachment.ksh>


More information about the FreeNX-kNX mailing list