0 valutazioniIl 0% ha trovato utile questo documento (0 voti)
447 visualizzazioni5 pagine
LTSP is a collection of software that turns a normal GNU / Linux installation into a terminal server. It allows low-powered, low-cost thin-clients (or legacy hardware already in possession) to be used efficiently and effectively.
LTSP is a collection of software that turns a normal GNU / Linux installation into a terminal server. It allows low-powered, low-cost thin-clients (or legacy hardware already in possession) to be used efficiently and effectively.
Copyright:
Attribution Non-Commercial (BY-NC)
Formati disponibili
Scarica in formato PDF, TXT o leggi online su Scribd
LTSP is a collection of software that turns a normal GNU / Linux installation into a terminal server. It allows low-powered, low-cost thin-clients (or legacy hardware already in possession) to be used efficiently and effectively.
Copyright:
Attribution Non-Commercial (BY-NC)
Formati disponibili
Scarica in formato PDF, TXT o leggi online su Scribd
BE IT, NCIT BE ELX, NCIT +977-9841458173 +977-9849158004 rijal.it@gmail.com catchpramod@gmail.com
ABSTRACT Because the thin clients have a limited
This paper focuses on implementation of LTSP number of tasks to manage, the hardware (Linux Terminal Server Project) to make for the thin client can be small and cheap. complete use of old hardware to be used The thin clients themselves are basically efficiently and effectively. This paper focuses its maintenance free. They last longer implementation in GNU/ Linux. because they have no storage with moving parts like hard disks. If they break no data Keywords is lost since nothing is stored on the client LTSP, TFTP, ROM, PXE, X, chroot, DHCP, IP itself. Simply swap the client with another one and go back to work. If your thin General Terms client is stolen or put in the trash, no data LTSP, X-server, Thin Client ends up in the hands of unauthorized people. 1. INTRODUCTION One of the key technologies included in 2. WORKING most modern GNU/Linux operating systems is 2.1. How LTSP works the Linux Terminal Server Project (LTSP) LTSP is a collection of software that turns which allows us to boot many thin clients from a normal GNU/Linux installation into a a single server. For educational environments, terminal server. This allows low-powered, LTSP lowers hardware costs by enabling the low-cost thin-clients (or legacy hardware use of older or less powerful machines as thin already in possession) to be used as clients, as well as reduced administration terminals to the thin-client server. It overhead by having only to install and maintain requires only a PXE capable network the software on the server. Thin clients are interface, which many thin-clients and generally useful for 5 to 10 years, compared to PCs have built-in already. This means that 2 to 4 years for fat clients. When a workstation you need absolutely no physical storage fails, it can simply be replaced without data loss media (hard disk, compact-flash, etc.) for or re-installation of the operating system. your thin-client to boot to LTSP. Thin client computing has been around for a The process of booting a thin-client to long time in the UNIX world. Although the an LTSP server is as follows: implementation has evolved quite a bit, the • Thin-clients boot via a protocol concept has remained the same. called PXE (Pre-eXecution Environment) • The thin client only takes care of the basic • PXE requests an IP address from a functions like display, keyboard, mouse and local DHCP server sound. • The DHCP server passes • The server does the heavy weightlifting. All additional parameters to the thin- the applications run on the server, and they client and downloads a Linux file simply display on the thin client. system image via TFTP into a RAM disk on the client itself. • The thin-client then boots the departments deploying and administering downloaded GNU/Linux image, an increasing number of computers, it is detects hardware, and connects to difficult to find time to manage individual the LTSP server’s X session machines. LTSP thin client technology, (normally handled by LDM). makes deployment and maintenance • From here, all operations such as simple and easy. The server runs all authenticating your username and applications and contains all the data. All password, launching applications, the regular maintenance (software and viewing websites are actually updates, administration) takes place on the handled on the LTSP server rather server. A single server is all that is needed than the thin-client. The LTSP to set up, manage and administrate an server transfers all graphical entire network. information to the thin-client over the network. This allows very low 3.3 It’s Green powered thin-clients to utilize the With the ongoing debate about climate power of the server for all change, questions are finally being asked operations. It also allows for large and answered in the fields of IT, education client deployments with reduced and thin client technology in general. A overall resource utilization, as recent study compared the energy and 50thin-clients all running the resource consumption of a regular PC and popular OpenOffice suite under Thin Client setups. different sessions generally only You can find that study here: require enough RAM for a single http://it.umsicht.fraunhofer.de/TCecology/ instance of OpenOffice (excluding -index_en.html per-user configuration which is They found that thin clients use half the minimal). energy of traditional workstations, which not only helps on the cost savings (calculate that a 40 terminal thin client lab 3. BENEFITS will save approximately $500-$800 per 3.1 Secure year), but is ecologically effective in Security has become a key challenge for avoiding electronic waste and high carbon administrators and LTSP both recognizes and emissions. Thin client production, handles this quite well. Often schools lack the assembly and logistics costs far less and specialized IT staff or time to lock and clean up requires less energy than traditional PC computers. Operating systems with LTSP manufacturing. The recycling of old included, being GNU/Linux based operating machinery also helps the environment, systems, enjoy the security advantages of its making LTSP a green solution to the Unix-like and open source heritages. This environmental and power saving issues translates into higher quality code, and spyware many IT managers face today. and viruses are of minimal concern. In addition, it has a strict, proactive security policy which 3.4 Cost effective means that many common problems, such as With ever-increasing demands on school open ports or misconfigured software, never budgets, expensive technology is often make it into the released product. Finally, LTSP last on the list. LTSP can help you offer based systems are true multi-user operating what your students increasingly require systems, making it easy to allow users to from computer technology, without complete their tasks without having a level of breaking the bank. GNU/Linux is and access that could compromise the system. always will be free to acquire, use and 3.2 Maintenance modify, including the underlying LTSP With administrators and especially school IT structure that holds it all together. Need to set up another machine? Or another • Will my existing machines work as 100? Just install them! With GNU/Linux you’ll terminals or, what should I buy to use have no more expensive OS upgrades and as a terminal? licenses, and having specialized programs on • How big a server do I need? only some computers will become a thing of the past. Chances are, hardware that you already LTSP can also help you save hardware costs, by have is more than sufficient for terminals. allowing you to redeploy older machines as thin One of the great advantages of an LTSP clients using LTSP technology. Server is that you can set up a high quality lab of terminals for your students to use, by 3.5 Well supported leveraging the machines you already have. LTSP support is available from both the LTSP As for servers, usually, it’s very easy to turn community. Many of the authors of the software any high-end single user desktop machine included in LTSP, including the respective into a terminal server capable of handling developers of the various LTSP GNU/Linux many thin clients. We’ll present some implementations themselves, can be contacted guidelines that should help in making the directly via mailing lists and IRC channels. most of your resources. There are many forms of support available, There are four key areas to look at: including mailing lists, Wiki websites, IRC • Server channels, and bug trackers. There are also • Thin client special support groups for using LTSP and • Network GNU/Linux. • Boot method The official IRC support channel is found on freenode.org at #ltsp 4.1 Server The official LTSP mailing list is found here: An LTSP thin client network is quite https://lists.sourceforge.net/lists/listinfo/ltsp- scalable; a moderately powerful machine discuss can serve several thin clients, and if you need to add more thin clients, you can either expand the capabilities of the existing 3.6 Built for education, government and server, or, simply add more servers. business Server sizing in an LTSP network is more LTSP based distros (Ubuntu, SuSe, Nepalinux, art than science. Ask any LTSP etc.) come with translations for many languages administrator how big a server you need to and localization features that allow people from use, and you’ll likely be told "It depends". all over the world to enjoy their computing How big a server you need does depend experience. Accessibility features strive to largely on what it is you’re planning on provide a pleasant, high-quality computing doing with your thin client network. Here experience to disabled users. Most distributions are some common guidelines that should fit have software and applications that runs at most "average" cases. school or work. The LTSP server software allows administrators, IT managers and teachers 4.1.1 Memory to create a low cost computer lab so that users A GNU/Linux based operating system can have access to the opportunities that makes efficient use of memory. The usual GNU/Linux and the Internet can provide. formula that’s used for adding memory to a thin client server is: 256 + (192 * users) MB So, if your target is to have a server with 20 4.HARDWARE REQUIREMENTS terminals, you’ll need: A person setting up a LTSP thin client 256 + (192 * 20) = 256 + 3840 = 4096 MB environment for the first time typically So four Gigabytes of memory is a fair asks two questions: estimate for the server. Making sure you’ve got enough memory is the single most 4.2.1 Older hardware important thing you can do to help the There are several things to consider when performance of an LTSP thin client server. trying re-using existing hardware. If you do not have enough memory in your • CPU server, you’ll find your server will have to • Network use the hard drive as an overflow "virtual" • Thin Client Ram memory. Hard drives are much slower than • Video Card memory, so you’ll find things getting very slow if this happens. If you intend to make 4.2.2 CPU heavy use of graphics work in your For using the default, secure mode of LTSP, curriculum, you may want to add even you’ll need to have a slightly faster CPU. more, perhaps doubling the previous Any 533 MHz or better CPU should provide estimate. acceptable performance. If you have slower clients, in the range of 233 MHz to 533 4.1.2 Processors MHz, you may be able to use them, if How fast a processor you need is entirely you’re willing to reduce the security of your dependent on what programs you plan to use. thin client network. Interactive games require a bit more than say, a word processor. If you plan to use Java and 4.2.3 Network Flash plug-ins in your web browser, these can A thin client boots over the network, using a consume a lot of processing power. For a small program called a network boot loader. "mixed" model, i.e. some people playing This network boot loader is sometimes TuxMath, a few people browsing the web, and a located on the card itself, or, for older cards few people typing in OpenOffice.org, a 2GHz without one, the user can provide one on a or better processor should be able to adequately floppy or CD Rom which can be used to handle 20 people with some minor delays. A boot the thin client. 3GHz processor would be better. The common network boot loaders which For larger networks, moving to an SMP can be used are: (Symmetric Multi Processing), or multiple CPU PXE: This one is the most common, and server may be advantageous. If you plan to many network cards and motherboards with handle 30 or more clients, a newer dual-core built-in network cards support this. If you Xenon server or dual-core Opteron will provide have one of these, you’ll be able to boot good results. without any problems. gPXE: The gPXE boot loader is a Free 4.1.3 Disks implementation of the PXE boot loader. It is It’s advisable to use some form of RAID in the the successor to Etherboot, and is terminal servers. Besides saving your data when maintained by the Etherboot project. a single disk fails, it improves the performance You can find out more information at: (especially read performance, which is the most http://etherboot.org , and floppy and ROM common type of file access). For people on a images may be downloaded from: budget, setting up software RAID 1, with 2 http://rom-o-matic.net SATA disks with NCQ (Native Command Yaboot: For Macintosh PowerPC machines Queuing) will provide good results. (iMac’s and later), you can use the built in Yaboot network boot. 4.2 Thin clients 4.2.4 Thin Client Ram A lot of LTSP deployments are in classroom The bare minimum for a thin client to work environments, and usually, in these situations, is about 48MB, but it will be slow, so it is the primary goal is to re-use existing hardware recommended to install at least 128MB that the school already owns. However, Ram, with 256MB Ram if you can spare it. specifically designed thin clients can be used. This will really help speed up thin clients. 4.2.5 Video Card disk and it will act like a bootrom. Typically, any video card that uses the PCI bus CD-ROM: A bootable CD-ROM can be and has 32 MB or more of memory should loaded either with a Linux kernel, or an make a reasonable client. Etherboot image. USB Memory device: Just like a CD- 4.3 Network ROM, Floppy disk and Hard disk, you can If you have more then 20 users, it is use a USB Memory device to boot an recommended to use Gigabit Ethernet Etherboot module. connected to a gigabit port on a switch for your LTSP servers if you plan to have a lot of 5. LTSP IN NEPAL graphically intensive programs running. For a developing country like Nepal this Although normal usage ranges from 0.5 to technology can help to minimize the digital 2mbit, clients can peak quite high (70mbit), divide. The computers which are old and especially when watching multimedia content. not used in city areas can be reused to For office or business computing, with only provide computer education in rural areas. moderate graphics usage, 100 Megabit Since the cost of deploying a LTSP lab is networks should be fine. very low, most of the schools can have this technology. A good example of this kind of 4.4 Boot method project can be establishment of LTSP based Getting the thin client to boot over the network e-library in some schools in rural parts of can be accomplished in a variety of ways: Nepal. • Boot ROM • Local media Currently FOSS Nepal along with Help Nepal Network (HeNN) is involved in 4.4.1 Boot ROM implementation of LTSP e-library in rural Depending on your network card, it may parts of Nepal. Some of the instances are already contain a boot ROM, or you may be successful implementation in Myagdi, able to use an EPROM programmer to create Dang, Bhaktapur and Banepa. your own. Check the hardware documentation for the network card in your thin client for 6. CONCLUSION details. From this paper it is clear that LTSP is a very viable yet efficient option for large and 4.4.2 Local media small scale purposes. It comprises a fusion If your network card in the thin client doesn’t of security feature of Linux as well as the have a boot ROM built in, and you don’t have principle of e-learning through e-library. access to an EPROM burner, have no fear! Chances are, that old machine has a floppy This will be always a good option because drive, or CD-ROM in it. If so, then you can use we use Free and Open Source software. local media to boot the thin client. Floppy disk: Booting Etherboot from a floppy 7. ACKNOWLEDGEMENT is an excellent way of booting an LTSP thin We would like to thank everybody involved client that doesn’t have a boot ROM. Etherboot directly or indirectly for this paper, is loaded in the boot sector of the floppy. The especially Mr. Saroj Shakya for his support. boot code will be executed, the network card will be initialized, and the kernel will be loaded 8. REFERENCES from the network server. a. www.ltsp.org Hard disk: The hard disk can be used with b. www.google.com LILO or GRUB, to load the Linux kernel c. www.wikipedia.org and initrd. You can also load the d. http://etherboot.org Etherboot bootrom image from the hard e. http://it.umsicht.fraunhofer.de