Medusa Project

2,611 views

Published on

Linux Terminal Server Project at San Francisco State University

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,611
On SlideShare
0
From Embeds
0
Number of Embeds
54
Actions
Shares
0
Downloads
57
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Medusa Project

  1. 1. Medusa Project Implementing LTSP at SF State University Sameer Verma, Ph.D. Bo Kim
  2. 2. Thank you! <ul><li>Bo Kim – taking up the challenge </li></ul><ul><li>Jack Tse and Don Strickler – loaning us a switch </li></ul><ul><li>Tony Chan and Karl Schackne (BUS computing) – for letting us use the lab. </li></ul><ul><li>Edubuntu team – making an excellent LTSP distro! </li></ul>
  3. 3. Overview <ul><li>Brief introduction to LTSP </li></ul><ul><li>Requirements for running LTSP </li></ul><ul><li>Advantages and disadvantages </li></ul><ul><li>Medusa - LTSP at SF State </li></ul><ul><li>Possible implementation scenarios </li></ul><ul><li>Informative links </li></ul>
  4. 4. What is LTSP? <ul><li>Linux Terminal Server Project </li></ul><ul><ul><li>Allows “thin” clients to connect to a Linux Terminal Server. </li></ul></ul><ul><ul><ul><li>All programs run on the server </li></ul></ul></ul><ul><ul><ul><li>Clients run a thin Linux base with network and X session capabilities. </li></ul></ul></ul><ul><li>LTSP allows for a single point of configuration and control </li></ul><ul><ul><li>Great for lab environments </li></ul></ul>
  5. 5. <ul><li>A “thin” client performs a Preboot Execution Environment (PXE) boot and retrieves an IP from the LTSP server via DHCP. </li></ul><ul><ul><li>dhcp server runs on the private network interface on the LTSP server </li></ul></ul>DHCP response PXE DHCP request How it works
  6. 6. How it works <ul><li>A small footprint Linux kernel is sent to the thin client computer via TFTP. </li></ul><ul><li>The client loads the Linux image and starts the X window system via secure shell (ssh) </li></ul><ul><ul><li>client images and server have ssh keys </li></ul></ul>X session forwarded over ssh DHCP response + TFTP Linux image
  7. 7. How it works <ul><li>All programs execute in a X session on the server, but are forwarded via ssh and displayed on the thin client. </li></ul><ul><li>Feedback from the user (keyboard & mouse) are sent back to the server over ssh as well. </li></ul>X session forwarded over ssh mouse+keyboard
  8. 8. What Does it Look Like? 192.168.0.0/24 eth1 eth0 firewall SFSU 130.212.14.0/24
  9. 9. Hardware Requirements <ul><li>Server </li></ul><ul><ul><li>CPU should be powerful enough to run multiple X sessions. </li></ul></ul><ul><ul><ul><li>Intel Xeon processor. </li></ul></ul></ul><ul><ul><ul><li>75-150MB of RAM per client. </li></ul></ul></ul><ul><ul><ul><li>2 Network Interface Cards </li></ul></ul></ul><ul><ul><ul><li>Private interface preferably gigabit </li></ul></ul></ul><ul><li>Clustering? </li></ul><ul><ul><li>Not sure if it is possible </li></ul></ul>
  10. 10. Hardware Requirements <ul><li>Client </li></ul><ul><ul><li>Minimum </li></ul></ul><ul><ul><ul><li>Pentium II with 48 MB RAM and a 2MB display card. </li></ul></ul></ul><ul><ul><li>Recommended </li></ul></ul><ul><ul><ul><li>Pentium II and above with 64MB RAM and 4MB display card. </li></ul></ul></ul><ul><ul><ul><li>Identical hardware preferred </li></ul></ul></ul>
  11. 11. Networking Requirements <ul><li>Network </li></ul><ul><ul><li>Avoid </li></ul></ul><ul><ul><ul><li>Hubs </li></ul></ul></ul><ul><ul><ul><li>10-BaseT cards </li></ul></ul></ul><ul><ul><li>Preferred: </li></ul></ul><ul><ul><ul><li>100 Mbps switch </li></ul></ul></ul><ul><ul><ul><li>100-BaseT cards </li></ul></ul></ul><ul><ul><li>Ideal: </li></ul></ul><ul><ul><ul><li>Gigabit switch. </li></ul></ul></ul><ul><ul><ul><li>100 Mbps switch with 1 Gbps uplink to the LTSP server. </li></ul></ul></ul>
  12. 12. Software Requirements <ul><li>A Linux distribution with or without LTSP included. </li></ul><ul><ul><li>LTSP (if not installed natively) </li></ul></ul><ul><ul><li>Most distros except Ubuntu and Debian do not have LTSP 5. </li></ul></ul><ul><ul><li>LTSP 5 is significantly different </li></ul></ul><ul><li>LTSP 5 builds thin-client environment off of the server environment. </li></ul>
  13. 13. Software Requirements <ul><li>Four services running on the LTSP server: </li></ul><ul><ul><li>DHCP for IP address leases </li></ul></ul><ul><ul><li>TFTP for initial netboot kernel </li></ul></ul><ul><ul><li>NFS for forwarding filesystems </li></ul></ul><ul><ul><li>SSH for all communication on the LAN </li></ul></ul><ul><li>Note: Ubuntu does not use XDMCP. It uses X forwarded over ssh instead </li></ul>
  14. 14. Advantages <ul><li>Diskless clients </li></ul><ul><li>Highly Centralized </li></ul><ul><ul><li>patches </li></ul></ul><ul><ul><li>firewalling </li></ul></ul><ul><li>Cost effective </li></ul><ul><ul><li>no licensing fees </li></ul></ul><ul><li>Customized profiles </li></ul><ul><ul><li>LDAP auth </li></ul></ul><ul><li>Change lab footprint as needs grow </li></ul><ul><li>Invest in powerful server </li></ul><ul><li>Need a fast network </li></ul><ul><li>Documentation is weak </li></ul><ul><ul><li>Many references to LTSP 4.x </li></ul></ul><ul><li>Sabayon seems broken in Ubuntu Feisty. </li></ul><ul><li>Time sensitive apps will not work well, especially multimedia </li></ul>Disadvantages
  15. 15. Medusa Project <ul><li>LTSP server </li></ul><ul><ul><li>Note: Single processor, but appears as two </li></ul></ul>
  16. 16. Medusa Project <ul><li>10/100 Mbps unmanaged switch </li></ul><ul><li>20 clients </li></ul><ul><ul><li>Dell Optiplex </li></ul></ul><ul><ul><li>Pentium 4 </li></ul></ul><ul><ul><li>256MB RAM </li></ul></ul><ul><ul><li>15 inch flat panel </li></ul></ul><ul><ul><li>Some have speakers </li></ul></ul>
  17. 17. Medusa Project <ul><li>Edubuntu – Ubuntu for Education </li></ul><ul><li>Additional software installed: </li></ul><ul><ul><li>Webmin </li></ul></ul><ul><ul><ul><li>Firewall/NAT </li></ul></ul></ul><ul><ul><li>Sabayon </li></ul></ul><ul><ul><ul><li>Customized user profiles and lockdown (built-in, via pessulus) tool. </li></ul></ul></ul><ul><ul><ul><li>Seems to be broken in Ubuntu Feisty </li></ul></ul></ul>
  18. 18. Medusa Project <ul><li>Captured CPU, RAM, Swap and NET behavior </li></ul><ul><ul><li>We looked at behavior with one and multiple users (1+8) on the LAN. </li></ul></ul><ul><ul><li>Note: We did not use a built-in screen capture program because it muddies the parameters. We used a video camera instead. </li></ul></ul>
  19. 19. Medusa Project CPU NET RAM SWAP All clients at login screen
  20. 20. Medusa Project CPU NET RAM SWAP One client starts Firefox
  21. 21. Medusa Project CPU NET RAM SWAP One client starts OOo
  22. 22. Medusa Project CPU NET RAM SWAP Multiple clients start OOo
  23. 23. Medusa Project CPU NET RAM SWAP First client starts video
  24. 24. Medusa Project CPU NET RAM SWAP Multiple clients start video
  25. 25. Medusa Project CPU NET RAM SWAP Multiple clients finish video
  26. 26. Medusa Project CPU NET RAM SWAP All clients logout
  27. 27. Services at the LTSP Lab <ul><li>Dual boot </li></ul><ul><ul><li>Windows XP localboot, Ubuntu Linux via LTSP. </li></ul></ul><ul><ul><li>Both environments get dhcp and firewalling via LTSP server. </li></ul></ul><ul><li>Note: Lab machines will be on a private network </li></ul><ul><ul><li>Administrator can maintain lab logs for accounting </li></ul></ul>
  28. 28. <ul><li>Services at LTSP lab </li></ul><ul><li>Internet access </li></ul><ul><li>Office Automation </li></ul><ul><ul><li>OpenOffice </li></ul></ul><ul><li>Graphics </li></ul><ul><ul><li>GIMP </li></ul></ul><ul><ul><li>Inkscape </li></ul></ul><ul><ul><li>Scribus </li></ul></ul><ul><li>Printing via network </li></ul>
  29. 29. Thin Client Manager
  30. 30. Webmin
  31. 31. Future use at SF State <ul><li>Domain Authentication </li></ul><ul><ul><li>Users will be able to use their SFSU accounts to logon via LDAP </li></ul></ul><ul><li>Traffic Shaping </li></ul><ul><ul><li>More efficient network load balancing that will be conducted on the LTSP server. </li></ul></ul><ul><li>Support Windows apps via Win4Lin or VMWare </li></ul><ul><li>Possible to boot PPC thin clients </li></ul>
  32. 32. Informative Links <ul><li>www.ltsp.org </li></ul><ul><li>http://en.wikipedia.org/wiki/LTSP </li></ul><ul><li>www.edubuntu.org </li></ul>
  33. 33. Demo time…..
  34. 34. Questions?

×