LTSPFatClients

Differences between revisions 6 and 23 (spanning 17 versions)
Revision 6 as of 2006-06-21 14:14:28
Size: 2875
Editor: ALagny-109-1-10-249
Comment:
Revision 23 as of 2006-11-10 17:47:38
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 needs to be installed in the current default Ubuntu LTSP chroot, which includes, but are not limited to: {{{ gdm, ubuntu-desktop }}}

= 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)
Line 42: Line 39:
== Data preservation and migration == To be placed in /usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/30-workstation
Line 44: Line 41:
== Outstanding issues == {{{
case "$MODE" in
    commandline)
        add_option "workstation" "`eval_gettext "a netbootet 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 46: Line 56:
== BoF Agenda and discussion ==             # 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
}}}
Line 48: Line 63:
--

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 netbootet 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)