SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
LTSP

Linux Terminal Server Project



                                 Raman.P
                                     DBA
             Railway Hospital,Ayanavaram,
                               Chennai 23

                    raamanp@yahoo.co.in
What is LTSP ?
The Linux Terminal Server Project

(LTSP) is a package added to Linux

that allows inexpensive thin client

 computers to be connected to a

server, spreading the power of the

    server to many desktops.
      This slide is from Jim, creator of ltsp
How does it all work ?




     This slide is from Jim, creator of ltsp
Workstation Boot Methods

●   Etherboot boot floppy from Rom-o-matic.net

●   Etherboot Bootrom

●   PXE

●   Wireless ltsp booting kernel from floppy


               This slide is from Jim, creator of ltsp
Boot Sequence
        Thin client                                          LTSP Server
1   Send DHCP request
                                                        Receive request, send reply    2
                                                        with IP addr and name of
    Send TFTP request for                               file to download
3   kernel
                                                        Receive request, starting
                                                        sending blocks of data         4
    Start executing kernel,
    initialize devices, run
5   /linuxrc, detect NIC, send
    DHCP request for more info                          Receive request, send reply,
                                                        including IP addr and root-    6
                                                        path for the NFS/NBD
    NFS/NBD mount                                       filesystem.
7   /opt/ltsp/i386 then do a
    Pivot root to make it the                           Grant the mount request,
    root filesystem                                     serve data via NFS/NBD
                                                                                       8
    Run rc.sysinit, then, launch
9   SSH connection to
                                                        Receive the ssh request,
    server,launch ldm -ltsp
    display manager                                     allow X via ssh.               10

                                This slide is from Jim, creator of ltsp
Installing LTSP 5
Installing LTSP 5
●   apt-get install ltsp-server
●   ltsp-build-client
●   Configure dhcp entries
Configuring the Server
There are several services that need to be
configured on the server.

They are:

●   DHCP
●   TFTP
●   NFS
●   XDMCP( non ldm )
dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0 {
  #range 192.168.1.20 192.168.1.250;
  option domain-name "example.com";
  option domain-name-servers 192.168.1.1;
  option broadcast-address 192.168.1.255;
  option routers 192.168.1.1;
  next-server 192.168.1.108;
  option subnet-mask 255.255.255.0;
  option root-path "/opt/ltsp/i386";
  if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
      filename "/ltsp/i386/pxelinux.0";
  } else {
      filename "/ltsp/i386/nbi.img";
  }
}
group {
     use-host-decl-names on;
     option log-servers 192.168.1.254;

host spare{
     hardware ethernet 00:11:11:5f:66:46;
     fixed-address 192.168.1.8;
     filename "/ltsp/i386/pxelinux.0";
     }
}
Tftp configuration
/etc/xinetd.d/tftp:
   service tftp
   {
       disable        =   no
       socket_type    =   dgram
       protocol       =   udp
       wait           =   yes
       user           =   root
       server         =   /usr/sbin/in.tftpd
       server_args    =   -s /tftpboot
   }



/etc/inetd.conf:
   tftp dgram udp wait nobody /usr/sbin/tcpd          /usr/sbin/in.tftpd -s /tftpboot

/etc/init.d/tftpd-hpa




                           This slide is from Jim, creator of ltsp
NFS configuration




/etc/exports:

/opt/ltsp/i386            192.168.0.0/255.255.255.0(ro,no_root_squash,sync)

/var/opt/ltsp/swapfiles   192.168.0.0/255.255.255.0(rw,no_root_squash,async)




                          This slide is from Jim, creator of ltsp
XDMCP configuration?
The display manager must be configured to accept remote connections

xdm-config:
   # DisplayManager.requestPort: 0

kdmrc:
   [Xdmcp]
   Enable=true
   #Port=177

gdm.conf:
   [xdmcp]
   Enable=true
   MaxSessions=100
   .
   .
   .
   [servers]
   0=/usr/bin/X11/X
                                 This slide is from Jim, creator of ltsp
Workstation Configuration
lts.conf

[Default]
    SERVER             =   192.168.0.254
    X_MOUSE_PROTOCOL   =   "IMPS/2"
    X_MOUSE_DEVICE     =   "/dev/psaux"
    SCREEN_01          =   startx

[ws001]
    PRINTER_0_DEVICE   = "/dev/lp0"
    PRINTER_0_TYPE     = "P"

[ws002]
    USE_NFS_SWAP       = Y
    SWAPFILE_SIZE      = 64m
    SCREEN_01          = shell

[ws003]
    XSERVER            = ati
    X_MODE_0           = 1600x1200


                                     This slide is from Jim, creator of ltsp
Troubleshooting
●   ltspcfg
●   netstat -anp
●   showmount -e
●   /var/log/messages
●   SCREEN_01 = shell
●   rpcinfo -p localhost
●   tcpdump & Ethereal
Our Experience
●   Total Nodes: 47
●   Average active users 15-18
●   2 LTSP server P4-1.5,2 GB RAM
●   Network: Assorted 100MB to Gigabyte
    Switch on cat5/cat6 utp cable
Our Experience
●   Clients use WindowMaker as window
    manager
●   Single application users do not have
    window manager
●   Custom application on Perl/Tk
●   Only few use OpenOffice,Browser
●   Local Printing
Advantages - Clients
●   Booting time
    –   under 30 secs on pxe clients Celeron/p3s
    –   40-50 secs on P1/P2s
●   Custom print program prints on local
    printer, with choice to select printer.
●   Roaming: Users can login anywhere in
    the hospital
Advantage - Sysadmin
●   Single point of software maintenance
●   Clients are plug and play system i.e in
    case of problem simply replace box, no
    need to install anything.
●   Central monitoring of activity
●   Database server and LTSP server on
    single switch increasing throughput
    and reliability.
Cost advantage
●   Saves money
    –   Lower cpu
    –   No HDD
    –   No FDD/CD-ROM
●   Longer Lifetime.
    –   Today's server – tomorrow's node
●   Saves environment
    –   Reduces e-waste
More Info
●   www.LTSP.org

●   ltsp_discuss mailing list

●   IRC   (#ltsp on irc.freenode.net)

●   www.k12ltsp.org

●   www.SkoleLinux.org

●   etherboot.sourceforge.net

●   www.rom-o-matic.net

●   www.tldp.org/HOWTO/Diskless-HOWTO.html

Más contenido relacionado

La actualidad más candente

Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS ServerSreenatha Reddy K R
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba serverVeeral Bhateja
 
Oracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restartOracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restartAshwin Pawar
 
Presentation on samba server & apache server
Presentation on samba server & apache serverPresentation on samba server & apache server
Presentation on samba server & apache serverManoz Kumar
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)Raghu nath
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)udamale
 
Perfect Linux Desktop - OpenSuSE 12.2
Perfect Linux Desktop - OpenSuSE 12.2Perfect Linux Desktop - OpenSuSE 12.2
Perfect Linux Desktop - OpenSuSE 12.2Davor Guttierrez
 
Secure your IT infrastructure with GNU/Linux
Secure your IT infrastructure  with GNU/LinuxSecure your IT infrastructure  with GNU/Linux
Secure your IT infrastructure with GNU/LinuxBud Siddhisena
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)abdullah roomi
 
A Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage SystemsA Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage SystemsDong Ye
 
Include os @ flossuk 2018
Include os @ flossuk 2018Include os @ flossuk 2018
Include os @ flossuk 2018Per Buer
 
Ftp configuration in rhel7
Ftp configuration in rhel7Ftp configuration in rhel7
Ftp configuration in rhel7Balamurugan M
 

La actualidad más candente (20)

Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS Server
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba server
 
Oracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restartOracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restart
 
Presentation on samba server & apache server
Presentation on samba server & apache serverPresentation on samba server & apache server
Presentation on samba server & apache server
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
 
SnapDiff
SnapDiffSnapDiff
SnapDiff
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 
Samba server
Samba serverSamba server
Samba server
 
Samba
SambaSamba
Samba
 
Optimizing Linux Servers
Optimizing Linux ServersOptimizing Linux Servers
Optimizing Linux Servers
 
Perfect Linux Desktop - OpenSuSE 12.2
Perfect Linux Desktop - OpenSuSE 12.2Perfect Linux Desktop - OpenSuSE 12.2
Perfect Linux Desktop - OpenSuSE 12.2
 
Secure your IT infrastructure with GNU/Linux
Secure your IT infrastructure  with GNU/LinuxSecure your IT infrastructure  with GNU/Linux
Secure your IT infrastructure with GNU/Linux
 
Dhcp
DhcpDhcp
Dhcp
 
Samba
SambaSamba
Samba
 
Nf Sp4
Nf Sp4Nf Sp4
Nf Sp4
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)
 
A Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage SystemsA Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage Systems
 
Cobbler, Func and Puppet: Tools for Large Scale Environments
Cobbler, Func and Puppet: Tools for Large Scale EnvironmentsCobbler, Func and Puppet: Tools for Large Scale Environments
Cobbler, Func and Puppet: Tools for Large Scale Environments
 
Include os @ flossuk 2018
Include os @ flossuk 2018Include os @ flossuk 2018
Include os @ flossuk 2018
 
Ftp configuration in rhel7
Ftp configuration in rhel7Ftp configuration in rhel7
Ftp configuration in rhel7
 

Similar a LTSP: Linux Terminal Server Project

High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting Aleksey Korzun
 
Ubuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectUbuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectSameer Verma
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...OpenStack Korea Community
 
Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Hajime Tazaki
 
Linux internet server security and configuration tutorial
Linux internet server security and configuration tutorialLinux internet server security and configuration tutorial
Linux internet server security and configuration tutorialannik147
 
Free radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleFree radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleChanaka Lasantha
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-adminbadamisri
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-adminbadamisri
 
Linux networking
Linux networkingLinux networking
Linux networkingsanakiyan
 
Linux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guideLinux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guidejasembo
 
FreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 serverFreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 serverTomaz Muraus
 
Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)Andriy Berestovskyy
 
Meeting 9 nfs network file system
Meeting 9   nfs network file systemMeeting 9   nfs network file system
Meeting 9 nfs network file systemSyaiful Ahdan
 
The New Systems Performance
The New Systems PerformanceThe New Systems Performance
The New Systems PerformanceBrendan Gregg
 

Similar a LTSP: Linux Terminal Server Project (20)

High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting
 
Linux Network Stack
Linux Network StackLinux Network Stack
Linux Network Stack
 
Ubuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectUbuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server Project
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
 
Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)
 
Linux internet server security and configuration tutorial
Linux internet server security and configuration tutorialLinux internet server security and configuration tutorial
Linux internet server security and configuration tutorial
 
Free radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleFree radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmaple
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux Conf Admin
Linux Conf AdminLinux Conf Admin
Linux Conf Admin
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux networking
Linux networkingLinux networking
Linux networking
 
Linux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guideLinux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guide
 
linux
linuxlinux
linux
 
Using linux as_a_router
Using linux as_a_routerUsing linux as_a_router
Using linux as_a_router
 
LSA2 - 02 Namespaces
LSA2 - 02  NamespacesLSA2 - 02  Namespaces
LSA2 - 02 Namespaces
 
FreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 serverFreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 server
 
Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)
 
Meeting 9 nfs network file system
Meeting 9   nfs network file systemMeeting 9   nfs network file system
Meeting 9 nfs network file system
 
The New Systems Performance
The New Systems PerformanceThe New Systems Performance
The New Systems Performance
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 

Más de Kanchilug

Kanchilug Boot camp
Kanchilug Boot campKanchilug Boot camp
Kanchilug Boot campKanchilug
 
Gnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 finalGnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 finalKanchilug
 
Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0Kanchilug
 
ubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilugubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilugKanchilug
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1Kanchilug
 
Linux Commands - 3
Linux Commands - 3Linux Commands - 3
Linux Commands - 3Kanchilug
 
SFD '09 Article in Tamil
SFD '09 Article in TamilSFD '09 Article in Tamil
SFD '09 Article in TamilKanchilug
 
More Depth Commands In Linux - By Vishnu
More Depth Commands In Linux - By VishnuMore Depth Commands In Linux - By Vishnu
More Depth Commands In Linux - By VishnuKanchilug
 
OpenOffice-SpreadSheet
OpenOffice-SpreadSheetOpenOffice-SpreadSheet
OpenOffice-SpreadSheetKanchilug
 
Sub Version Intro
Sub Version IntroSub Version Intro
Sub Version IntroKanchilug
 
open source intro
open source introopen source intro
open source introKanchilug
 
How to Install Ubuntu as Dual
How to  Install Ubuntu as DualHow to  Install Ubuntu as Dual
How to Install Ubuntu as DualKanchilug
 
PHP an intro -1
PHP an intro -1PHP an intro -1
PHP an intro -1Kanchilug
 
Kanchi Lug Pam-let
Kanchi Lug Pam-letKanchi Lug Pam-let
Kanchi Lug Pam-letKanchilug
 
An Intro To Television
An Intro To Television An Intro To Television
An Intro To Television Kanchilug
 
How To Use Open Office WordProcessor
How To Use Open Office WordProcessorHow To Use Open Office WordProcessor
How To Use Open Office WordProcessorKanchilug
 
Basic Commands 1 By Thanigai
Basic Commands  1 By ThanigaiBasic Commands  1 By Thanigai
Basic Commands 1 By ThanigaiKanchilug
 
Radio An Intro
Radio An IntroRadio An Intro
Radio An IntroKanchilug
 

Más de Kanchilug (20)

Perl intro
Perl introPerl intro
Perl intro
 
Kanchilug Boot camp
Kanchilug Boot campKanchilug Boot camp
Kanchilug Boot camp
 
Perl Basics
Perl BasicsPerl Basics
Perl Basics
 
Gnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 finalGnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 final
 
Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0
 
ubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilugubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilug
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Linux Commands - 3
Linux Commands - 3Linux Commands - 3
Linux Commands - 3
 
SFD '09 Article in Tamil
SFD '09 Article in TamilSFD '09 Article in Tamil
SFD '09 Article in Tamil
 
More Depth Commands In Linux - By Vishnu
More Depth Commands In Linux - By VishnuMore Depth Commands In Linux - By Vishnu
More Depth Commands In Linux - By Vishnu
 
OpenOffice-SpreadSheet
OpenOffice-SpreadSheetOpenOffice-SpreadSheet
OpenOffice-SpreadSheet
 
Sub Version Intro
Sub Version IntroSub Version Intro
Sub Version Intro
 
open source intro
open source introopen source intro
open source intro
 
How to Install Ubuntu as Dual
How to  Install Ubuntu as DualHow to  Install Ubuntu as Dual
How to Install Ubuntu as Dual
 
PHP an intro -1
PHP an intro -1PHP an intro -1
PHP an intro -1
 
Kanchi Lug Pam-let
Kanchi Lug Pam-letKanchi Lug Pam-let
Kanchi Lug Pam-let
 
An Intro To Television
An Intro To Television An Intro To Television
An Intro To Television
 
How To Use Open Office WordProcessor
How To Use Open Office WordProcessorHow To Use Open Office WordProcessor
How To Use Open Office WordProcessor
 
Basic Commands 1 By Thanigai
Basic Commands  1 By ThanigaiBasic Commands  1 By Thanigai
Basic Commands 1 By Thanigai
 
Radio An Intro
Radio An IntroRadio An Intro
Radio An Intro
 

LTSP: Linux Terminal Server Project

  • 1. LTSP Linux Terminal Server Project Raman.P DBA Railway Hospital,Ayanavaram, Chennai 23 raamanp@yahoo.co.in
  • 2. What is LTSP ? The Linux Terminal Server Project (LTSP) is a package added to Linux that allows inexpensive thin client computers to be connected to a server, spreading the power of the server to many desktops. This slide is from Jim, creator of ltsp
  • 3. How does it all work ? This slide is from Jim, creator of ltsp
  • 4. Workstation Boot Methods ● Etherboot boot floppy from Rom-o-matic.net ● Etherboot Bootrom ● PXE ● Wireless ltsp booting kernel from floppy This slide is from Jim, creator of ltsp
  • 5. Boot Sequence Thin client LTSP Server 1 Send DHCP request Receive request, send reply 2 with IP addr and name of Send TFTP request for file to download 3 kernel Receive request, starting sending blocks of data 4 Start executing kernel, initialize devices, run 5 /linuxrc, detect NIC, send DHCP request for more info Receive request, send reply, including IP addr and root- 6 path for the NFS/NBD NFS/NBD mount filesystem. 7 /opt/ltsp/i386 then do a Pivot root to make it the Grant the mount request, root filesystem serve data via NFS/NBD 8 Run rc.sysinit, then, launch 9 SSH connection to Receive the ssh request, server,launch ldm -ltsp display manager allow X via ssh. 10 This slide is from Jim, creator of ltsp
  • 7. Installing LTSP 5 ● apt-get install ltsp-server ● ltsp-build-client ● Configure dhcp entries
  • 8. Configuring the Server There are several services that need to be configured on the server. They are: ● DHCP ● TFTP ● NFS ● XDMCP( non ldm )
  • 9. dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 { #range 192.168.1.20 192.168.1.250; option domain-name "example.com"; option domain-name-servers 192.168.1.1; option broadcast-address 192.168.1.255; option routers 192.168.1.1; next-server 192.168.1.108; option subnet-mask 255.255.255.0; option root-path "/opt/ltsp/i386"; if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" { filename "/ltsp/i386/pxelinux.0"; } else { filename "/ltsp/i386/nbi.img"; } } group { use-host-decl-names on; option log-servers 192.168.1.254; host spare{ hardware ethernet 00:11:11:5f:66:46; fixed-address 192.168.1.8; filename "/ltsp/i386/pxelinux.0"; } }
  • 10. Tftp configuration /etc/xinetd.d/tftp: service tftp { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot } /etc/inetd.conf: tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot /etc/init.d/tftpd-hpa This slide is from Jim, creator of ltsp
  • 11. NFS configuration /etc/exports: /opt/ltsp/i386 192.168.0.0/255.255.255.0(ro,no_root_squash,sync) /var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async) This slide is from Jim, creator of ltsp
  • 12. XDMCP configuration? The display manager must be configured to accept remote connections xdm-config: # DisplayManager.requestPort: 0 kdmrc: [Xdmcp] Enable=true #Port=177 gdm.conf: [xdmcp] Enable=true MaxSessions=100 . . . [servers] 0=/usr/bin/X11/X This slide is from Jim, creator of ltsp
  • 13. Workstation Configuration lts.conf [Default] SERVER = 192.168.0.254 X_MOUSE_PROTOCOL = "IMPS/2" X_MOUSE_DEVICE = "/dev/psaux" SCREEN_01 = startx [ws001] PRINTER_0_DEVICE = "/dev/lp0" PRINTER_0_TYPE = "P" [ws002] USE_NFS_SWAP = Y SWAPFILE_SIZE = 64m SCREEN_01 = shell [ws003] XSERVER = ati X_MODE_0 = 1600x1200 This slide is from Jim, creator of ltsp
  • 14. Troubleshooting ● ltspcfg ● netstat -anp ● showmount -e ● /var/log/messages ● SCREEN_01 = shell ● rpcinfo -p localhost ● tcpdump & Ethereal
  • 15. Our Experience ● Total Nodes: 47 ● Average active users 15-18 ● 2 LTSP server P4-1.5,2 GB RAM ● Network: Assorted 100MB to Gigabyte Switch on cat5/cat6 utp cable
  • 16. Our Experience ● Clients use WindowMaker as window manager ● Single application users do not have window manager ● Custom application on Perl/Tk ● Only few use OpenOffice,Browser ● Local Printing
  • 17. Advantages - Clients ● Booting time – under 30 secs on pxe clients Celeron/p3s – 40-50 secs on P1/P2s ● Custom print program prints on local printer, with choice to select printer. ● Roaming: Users can login anywhere in the hospital
  • 18. Advantage - Sysadmin ● Single point of software maintenance ● Clients are plug and play system i.e in case of problem simply replace box, no need to install anything. ● Central monitoring of activity ● Database server and LTSP server on single switch increasing throughput and reliability.
  • 19. Cost advantage ● Saves money – Lower cpu – No HDD – No FDD/CD-ROM ● Longer Lifetime. – Today's server – tomorrow's node ● Saves environment – Reduces e-waste
  • 20. More Info ● www.LTSP.org ● ltsp_discuss mailing list ● IRC (#ltsp on irc.freenode.net) ● www.k12ltsp.org ● www.SkoleLinux.org ● etherboot.sourceforge.net ● www.rom-o-matic.net ● www.tldp.org/HOWTO/Diskless-HOWTO.html