[Ltsp-discuss] ltstp session dispatching problem: solved.

2010-10-01 Thread Thierry Dumont

Yesterday I asked on this list about a problem of load balancing with 
get_hosts.
We solved it.
Actually, the script ldm in /opt/ltsp/i386/usr/lib/ltsp/screen.d says:

# Server scalability.  If there exists a /usr/share/ltsp/get_hosts file, 
then
 if [ -x /usr/share/ltsp/get_hosts ]; then
 LDM_SERVER=$(/usr/share/ltsp/get_hosts)
# Loop though each of the hosts, and get their ldminfo

and there where  no get_hosts in /usr/share/ltsp/ (as seen from the client).
So, we put get_hosts there, and put a link in /opt/ltsp/i386/usr/lib/ltsp:
cd /opt/ltsp/i386/usr/lib/ltsp
ls -l
lrwxrwxrwx 1 root root   26 2010-10-01 10:48 get_hosts - 
../../share/ltsp/get_hosts
Then everything is ok.

But the documentation is false.

Yours
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


Re: [Ltsp-discuss] ltstp session dispatching problem: solved.

2010-10-01 Thread Vagrant Cascadian
On Fri, Oct 01, 2010 at 03:24:41PM +0200, Thierry Dumont wrote:
 Yesterday I asked on this list about a problem of load balancing with 
 get_hosts.
 We solved it.
 Actually, the script ldm in /opt/ltsp/i386/usr/lib/ltsp/screen.d says:
 
 # Server scalability.  If there exists a /usr/share/ltsp/get_hosts file, 
 then
  if [ -x /usr/share/ltsp/get_hosts ]; then
  LDM_SERVER=$(/usr/share/ltsp/get_hosts)
 # Loop though each of the hosts, and get their ldminfo
 
 and there where  no get_hosts in /usr/share/ltsp/ (as seen from the client).
 So, we put get_hosts there, and put a link in /opt/ltsp/i386/usr/lib/ltsp:
 cd /opt/ltsp/i386/usr/lib/ltsp
 ls -l
 lrwxrwxrwx 1 root root   26 2010-10-01 10:48 get_hosts - 
 ../../share/ltsp/get_hosts
 Then everything is ok.

the link shouldn't be necessary. it really should just go in
/opt/ltsp/i386/usr/share/ltsp.

 But the documentation is false.

indeed. fixed in bzr:

  http://bazaar.launchpad.net/~ltsp-docwriters/ltsp/ltsp-docs-trunk/revision/116

thanks!

live well,
  vagrant

--
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