Professional Documents
Culture Documents
By Hector Gonzalez
LTSP
LTSP stands for Linux Terminal Server Project. LTSP is an package for Linux that allows you to connect lots of low-powered thin client terminals to a Linux server. Applications typically run on the server, and accept input and display their output on the thin client display. Software and documentation is provided in www.ltsp.org Last version released LTSP-4.2
LTSP concept
What is needed?
A powerful server. A few low-power clients. PCs or workstations. Network equipment. The server software (the client software is contained in the server) The server is running his own operating system (Fedora, for example).
Save time
You do not need to configure each workstation, only the boot configuration, because all the configuration is in the server. If you have a PC, you have to set up updates, firewalls, install new applications ...
Open source
LTSP provides documentation, you can learn about Linux configuration and networking while you are implementing LTSP.
Linux environment
Not everybody knows how to work in a Linux environment. Less friendly environment than windows.
RAM
4GB of RAM, 50 workstations.
Processors
Pentium 4, 2.4 GHZ, 50 workstations.
Ethernet NIC
Linux compatibility.
Client hardware
Low-powered computers.
Low processor capabilities, low RAM, low hard disk or even without hard disk. A 90MHz Pentium with 16MB RAM is a good one. It is possible to start a computer without hard disk.
Workstations.
LTSP.org provides a list of tested workstations [see].
Workstation example
LTSP Term 140 200 MHz processor 64 MB ram 1280x1024 at 16 bit colour video resolution Requires LTSP v4.1 Boots via PXE Price $224.95
Other solutions
Traditional Windows PC
PCs are too expensive. Expensive to maintain. 35 workstations would require at least 1 full-time system administrator. License management problems. Proprietary solution depending on vendor. Future software upgrades mean upgrading ALL desktops. Based on Microsoft Windows Proprietary solution depending on vendor Expensive Per-User licensing Lower initial cost than option the options above Too much hardware at each desktop. No need for the Hard drive, CDRom or Floppy. Expensive to maintain. A workstation failure would result in downtime for the user.
25000
20000
15000
10000
Workstation
$1,750 *Pentium I or II
Installation
There are three phases to building an LTSP server: Installing the LTSP utilities Installing the LTSP client packages Configuring the services needed by LTSP
FTP proxy.
The same than before.
Interface selection
Select the current NIC
DHCP
It will create a default dhcpd.conf file and run the service.
TFTP
Enable the service
Portmapper
Used by RPC services, such as NFS
XDMCP
Allow graphical logins in the client. Enable it.
/etc/hosts
For the name/IP address mapping.
/opt/ltsp/i386/etc/lts.conf
Specific configuration of the workstation.
The explanation of how to edit /etc/dhcpd.conf and /etc/hosts goes beyond this paper.
[Default] SERVER = 192.168.0.254 XSERVER = auto X_MOUSE_PROTOCOL = "PS/2" X_MOUSE_DEVICE = "/dev/psaux" X_MOUSE_RESOLUTION = 400 X_MOUSE_BUTTONS = 3 USE_XFS =N LOCAL_APPS =N RUNLEVEL =5
Booting workstations
Set up the workstations to boot up.
Hard disk CD Floppy disk Network Interface Card
Technologies
PXE [Pre-boot eXecution Environment] Etherboot
Booting technologies
PXE [Pre-boot eXecution Environment]
Allows you to boot a computer without hard disk or floppy disk or CD. It boots from network.
You need a NIC.
It is a feature available in most NICs. You have to enable PXE in the BIOS setup This is the process:
Send DHCP requests. Get IP. Get the boot file.
Motivation
The idea of processing all the tasks in the servers is a new concept. It can be used in a lot of environments, for example in cyber-cafes, universities, virtual kiosks, terminal access... You can do it at home by yourself. It does not necessarily requires a lot of money. It is a Linux technology. Nowadays a lot of companies, governments are moving to Linux. I have seen this before but I did not know the technology underlying.
Future works
Problems configuring the DHCP service in Fedora. Install WINE or any other Windows emulator to provide Windows applications use. Find a source with the hardware required in the server according to the applications running/number of clients. Escalate the number of servers.
Problems
I downloaded the DHCP service from ftp://download.fedora.redhat.com/pub/fedora/linux/ core/updates/2/SRPMS/dhcp-3.0.1rc14-1.src.rpm I installed it and could have the service installed and enabled, but not running. I tried to start the service manually with service dhcpd start, but I got error message. Actually I got [failed]. I tried uninstalling and downloading packages, but the result was the same. I used sample configuration files, with the real parameters of the network, but it did not work.
Problems 2
I checked online several times and I did not find any explanation to the problem. I installed the LTSP and DHCP server in other computer without the Linux configuration done in the labs and I got the same problems. I had into account the fact of the server had 2 NIC cards and maybe it could create conflicts ?, but I did not find any relevant. I do not know what is the problem. I considered the idea of installing another distribution, but I did not for reasons of time.
Problems 3
In that point I gave up with the DHCP configuration. The ROM for booting the remote computers was online in www.rom-o-matic.net , but without the DHCP service enabled, the client did not work.
Conclusion
Remote execution of process is an interesting concept with a lot of applications in the real life. You can save money in hardware and in licenses. Linux configuration can be tough but documentation is provided by www.ltsp.org. Other solutions are either inefficient or more expensive. The the LTSP software provides an administrator tool for installing/monitoring the software. Computers without hard disk can be booted from a server using either PXE or Etherboot.
Resources
www.ltsp.org www.disklessworkstations.com www.Rom-O-Matic.net www.google.com Linux Toys 2