LTSPFatClients

Differences between revisions 9 and 24 (spanning 15 versions)
Revision 9 as of 2006-06-21 14:40:08
Size: 4540
Editor: ALagny-109-1-10-249
Comment:
Revision 24 as of 2006-11-10 17:48:57
Size: 3075
Editor: 207
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; background-image: url('http://librarian.launchpad.net/1069968/edubuntu_emblem.png'); background-repeat: no-repeat; background-position: 98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;">'''Contents'''[[BR]][[TableOfContents]]||
Line 3: Line 2:

''Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.''
Line 6: Line 7:
 * '''Contributors''': JonathanCarter
 * '''Packages affected''': {{{ ltsp-server, ltsp-server-standalone, dhcp3-server }}}
 * '''Contributors''': JonathanCarter, OliverGrawert
 * '''Packages affected''': {{{ ltsp-server }}}
Line 13: Line 14:
''Ubuntu LTSP should provide a quick and effective method to install a diskless workstation that runs all applications locally from within the NFS exported chroot.'' ''Ubuntu LTSP should provide a quick and effective method to install a diskless workstation that runs all applications locally from within the NFS exported root.''
Line 17: Line 18:
LTSP cuts down on administration overhead, and has proven to be popular in education, and is becoming more popular in the commercial sector. LTSP does have limitations and complexities, for example, local devices (storage, peripherals, etc) are often complicated, and multimedia saturates network bandwidth quickly and becomes unusable. LTSP cuts down on administration overhead, and has proven to be popular in education, and is becoming more popular in the commercial sector.
Line 19: Line 20:
Diskless Fat Clients would allow an administrator to use powerful workstations as diskless machines, maintaining the benefits of easy administration, while eliminating the current limitations that exists with current thin client implementations. Diskless Fat Clients will allow an administrator to use powerful workstations as diskless machines, maintaining the benefits of easy administration.
Line 22: Line 23:
   * James is administarator in a school and wants to set up a multimedia lab on the P4 2Ghz/512MB machines he has lying around on the shelf. He installs ltsp-server on hus ubuntu server, runs "sudo ltsp-build-client --workstation" on it and immediately has a running setup of netbooted diskless workstations running.
Line 23: Line 26:
 * A school uses new computers as diskless machines. Using P4 machines with 256MB RAM is wasteful as pure thin clients, and adds limitations on performance and multimedia.
 * A scenario where you would want to easily migrate a Windows lab to dual boot to Ubuntu. Ubuntu could then be provided via LTSP, users could then simply boot locally for the legacy operating system.
 * A company wants to implement PoS systems that would communicate via serial ports to petrol pumps, credit card machines, etc that would not be supported under traditional LTSP.
 * A graphics studio using diskless machines for graphical intensive purposes.
 * A university which runs CPU intensive tasks on workstations.
 * A home user who wishes to do less admin on all his/her machines, and would like to have one central computer stored in a safe place and using the rest of the computers as workstations.
 * Mark has a thin client lab and got new powerful client hardware donated he uses to replace all the old powerless thin clients, he installs ubuntu-desktop and edubuntu-auth-client in his thin client chroot and is able to make use of the processing power of the clients.
Line 32: Line 30:
A successful implementation will provide a quick and easy method for administrators to deploy an Ubuntu fat client terminal server. This applies to all derivatives and Ubuntu based distributions.  * Provide netbooted diskless workstation support in LTSP
Line 34: Line 32:
== Design == == Design and Implementation ==
Line 36: Line 34:
 * Additional packages need to be installed in the current default Ubuntu LTSP chroot, which includes, but are not limited to: {{{ gdm, ubuntu-desktop }}}
 * User data should be stored on the server disk space, not in the LTSP chroot. This requires authentication with home directory mounting off the server, using LDAP, NIS, or an appropriate method of authentication.
 * Ideally, a user should be able to choose whether a client should boot as a thin, or fat client by specifying a tag in the {{{ lts.conf }}} file. A thin client and a fat client could share the same chroot, a thin client would just start up LDM (or a potentially new GDM with ssh tunnelling capability), while the fat client would start GDM and allow the user to log in to the LTSP chroot.

= Implementation =

Implementation requires some changes to the preseeds used for the chroot installation, as well as an automated authentication setup. Some changes will be required to the LTSP configuration scripts, in order to allow 'dual booting' between thin and fat clients.
A new plugin for ltsp-build-client will be created, very similar to the demo plugin outlined in the ["HowtoWriteLTSP5Plugins"] wikipage but instead of installing gdm and firefox to get a webkiosk system it will install ubuntu-desktop and edubuntu-auth-client.
Documentation needs to be written to point out that the diskless workstation setup will only work hand in hand with a network authentication service (/home needs to be mounted from a remote server, users need to be authenticated against a network authentication service)
Line 46: Line 39:
 * Additional scripts and code needed should be possible to integrate and be built on top of current LTSP initialisation scripts, re-using as much code as possible.
 * Some {{{ postinst }}} scripts might have to be written to allow the automatic setup of authentication.
To be placed in /usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/30-workstation
Line 49: Line 41:
== Outstanding issues == {{{
case "$MODE" in
    commandline)
        add_option "workstation" "`eval_gettext "a netbooted diskless workstation mode."`" "advanced" "false"
        ;;
    configure)
        if [ -n "$option_workstation_value" ]; then
            # set an environment variable we can pick up later
            WORKSTATION="True"
        fi
        ;;
    after-install)
        if [ -n "$WORKSTATION" ]; then
            LC_ALL=C chroot $ROOT apt-get $APT_GET_OPTS install ubuntu-desktop edubuntu-auth-client
Line 51: Line 56:
 * In earlier tests (breezy), GDM would crash if you start more than 10 clients simultaniously, I think this might be due to GDM trying to to write to the same file/socket at the same time (this will be properly logged upon further tests with Dapper and Edgy)

== BoF Agenda and discussion ==

=== BoF Agenda ===

 1. JonathanCarter - Quick introduction to specification
 2. Everyone - discuss roadblocks, suggestions and improvements.

=== Discussion ===

 * We will be available on the Ubuntu Teamspeak server, from 15:00 - 16:00 UTC. Discussion items will be added below.
            # make the necessary directories writeable to the booted client
            echo 'rw_dirs="$rw_dirs /var/lib/gdm"' >> $ROOT/etc/defaults/ltsp-client-setup
        fi
        ;;
esac
}}}

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Introduction

Summary

Ubuntu LTSP should provide a quick and effective method to install a diskless workstation that runs all applications locally from within the NFS exported root.

Rationale

LTSP cuts down on administration overhead, and has proven to be popular in education, and is becoming more popular in the commercial sector.

Diskless Fat Clients will allow an administrator to use powerful workstations as diskless machines, maintaining the benefits of easy administration.

Use Cases

  • James is administarator in a school and wants to set up a multimedia lab on the P4 2Ghz/512MB machines he has lying around on the shelf. He installs ltsp-server on hus ubuntu server, runs "sudo ltsp-build-client --workstation" on it and immediately has a running setup of netbooted diskless workstations running.
  • Mark has a thin client lab and got new powerful client hardware donated he uses to replace all the old powerless thin clients, he installs ubuntu-desktop and edubuntu-auth-client in his thin client chroot and is able to make use of the processing power of the clients.

Scope

  • Provide netbooted diskless workstation support in LTSP

Design and Implementation

A new plugin for ltsp-build-client will be created, very similar to the demo plugin outlined in the ["HowtoWriteLTSP5Plugins"] wikipage but instead of installing gdm and firefox to get a webkiosk system it will install ubuntu-desktop and edubuntu-auth-client. Documentation needs to be written to point out that the diskless workstation setup will only work hand in hand with a network authentication service (/home needs to be mounted from a remote server, users need to be authenticated against a network authentication service)

Code

To be placed in /usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/30-workstation

case "$MODE" in
    commandline)
        add_option "workstation" "`eval_gettext "a netbooted diskless workstation mode."`" "advanced" "false"
        ;;
    configure)
        if [ -n "$option_workstation_value" ]; then
            # set an environment variable we can pick up later
            WORKSTATION="True"
        fi
        ;;
    after-install)
        if [ -n "$WORKSTATION" ]; then
            LC_ALL=C chroot $ROOT apt-get $APT_GET_OPTS install ubuntu-desktop edubuntu-auth-client

            # make the necessary directories writeable to the booted client
            echo 'rw_dirs="$rw_dirs /var/lib/gdm"' >> $ROOT/etc/defaults/ltsp-client-setup
        fi
        ;;
esac

CategorySpec

LTSPFatClients (last edited 2008-08-06 16:37:24 by localhost)