Le 30/09/2010 13:24, Eric Trezel a écrit : > Hello, > > Why don't you try ltsp-cluster ? : > > https://www.ltsp-cluster.org/ > > Bye > Eric Trezel >
Sure, but... The idea is that we only need some sort of very simple load balancing: have statistically the same number of users on each node. Actually, if the nodes are all equivalent a simple DNS trick can do the job. But we have 4 servers, 2 being stronger than the others, and we want some weight. My idea was to use the get_hosts trick, choosing the nodes at random with different weights for different nodes. The ltsp-cluster system is much more complicated; also, what sort of "load" is taken into account? here we have users who look at their screen for a long time, then make a LaTeX compilation, then use a text editor and so on... The cpu load for example, is not a good measure of what whe want to take account of. Yours t.d. > Le jeudi 30 septembre 2010 à 13:07 +0200, Thierry Dumont a écrit : >> Hello, >> >> We have a working installation of LTSP with a LTSP server (in charge of >> the thin clients). The thin clients connect on an other server. All this >> is working perfectly. >> >> Now we want to add a new server, and the clients must connect users to >> server one or two. >> >> I tried to implement the "load balancing" as described in the chapter >> "Session dispatching" of the documentation, starting with only 1 server. >> >> The lts.conf (/srv/tftp/ltsp/i386/lts.conf) file looks like this: >> [default] >> X_COLOR_DEPTH=16 >> LOCALDEV=True >> LOCALDEV_DENY_FLOPPY=True >> SOUND=True >> NBD_SWAP=False >> SYSLOG_HOST=server >> XKBLAYOUT=fr >> LDM_DEBUG=no >> X_CONF=/etc/X11/xorg.conf >> LDM_DIRECTX = True >> MY_SERVER_LIST="134.214.156.16" >> DNS_SERVER = 134.214.100.6 >> SEARCH_DOMAIN = univ-lyon1.fr >> ################ >> ... >> >> and the get_hosts script (/usr/opt/ltsp/i386/usr/lib/ltsp/get_hosts) is >> only: >> #!/bin/bash >> echo "134.214.156.16" >> >> protection is -rwxr-xr-x >> >> And, it does not work: >> -The connection banner appears, unchanged >> -I cannot connect (no answer from the server) >> >> Actually, concerning the script lts.conf, the working configuration >> (without "load balancing") is: >> [default] >> X_COLOR_DEPTH=16 >> LOCALDEV=True >> LOCALDEV_DENY_FLOPPY=True >> SOUND=True >> NBD_SWAP=False >> SYSLOG_HOST=server >> XKBLAYOUT=fr >> LDM_DEBUG=no >> X_CONF=/etc/X11/xorg.conf >> LDM_DIRECTX = True >> LDM_SERVER=134.214.156.16 >> DNS_SERVER = 134.214.100.6 >> SEARCH_DOMAIN = univ-lyon1.fr >> >> Any idea ? >> >> Thank you in advance >> t.d. >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _____________________________________________________________________ >> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: >> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss >> For additional LTSP help, try #ltsp channel on irc.freenode.net > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
