LTSP 4.0 alpha1
|
|
Por yum
departamento Tras_la_pista_de_sinner , Sección Software Libre Puesto a las Fri Nov 15th, 2002 at 08:41:25 AM CET
|
|
Desde hace unos dias está en la calle la versión 4 de LTSP que incorpora pequeños retoques que nos haran la vida más comoda a los que lo usamos o hemos trasteado con él alguna vez. Se puede descargar aquí
|
Lo primero que llama la antención sobre esta versión es que los autores han preparado un "entorno de construcción" llamado LBE (LTSP Build Enviroment) que no es nada más que un paquete que aglutina todas las herramientas necesarias para compilar la versión 4. Como ellos dicen esta herramienta es opcional, pero facilitará la vida a más de uno:
Well, we don't really have to have it. You could (possibly) build LTSP on any Linux box that has the right versions of the compilers and linkers and libraries. And, as long as you always use the same machine to build all of your LTSP stuff, things should be fine.
Respecto a las novedades con las versiones anteriores, pues no hay muchas por lo menos a nivel externo (vamos de las que se ven a simple vista). Os hago un simple cortar en ingles (lo siento, estoy en el curro y no puedo dedicarle mucho tiempo a escribir la noticia):
Features of LTSP-4.0
- ltspcfg
We are drastically changing the way LTSP is installed. That is,
we are separating the "installing" of the LTSP tree from the "configuring"
of the services on the server.
This will make it easier to install LTSP on any version of any distro.
The actual installing is simply a matter of unpacking the tree in the
right place. Either from a tarball, and RPM, a DEB package or whatever.
The "configurating" can either be done manually, or by using a new
tool called ltspcfg.
This new utility has the logic built in to figure out how to enable
the various servers, such as DHCP, TFTP, NFS and XDMCP on the server.
And, if it can't figure out how to enable the service, it will tell you,
so that you can enable it manually.
Gone are the days of seeing the message
"Sorry This distro is not supported by LTSP"
The getltscfg is not finished yet, but is very close.
- Screen scripts
With previous versions of LTSP, the type of session to appear on
the workstation was dictated by the 'RUNLEVEL' parameter in the
lts.conf file. A runlevel of 5 would invoke a GUI interface. A
runlevel of 4 would invoke a Telnet session, and runlevel 3 was
for diagnostics mode. (Bash shell prompt).
Now, the type of session can be selected for each virtually tty.
That is, you could have 6 telnet sessions on vt1 - vt6. Or,
you could have a couple telnet sessions and a GUI session.
Or, with future add-ons, you could have things like local Rdesktop
sessions (yes, that's plural) or SSH sessions or local X Window
desktops. All of this is controlled by new parameters in the
lts.conf file.
Here's an example:
<pre> SCREEN_01 = telnet 192.168.254.254
SCREEN_02 = remote_x </pre>
One great thing about the screen scripts is that it is easy
to create new screen scripts without hacking any of the core
ltsp code. They just drop into the ${LTSP_ROOT}/etc/screen.d
directory and are then available to the lts.conf file.
- getltscfg has been rewritten
getltscfg is the program that reads the
lts.conf file. It has been rewritten using bison and flex.
This makes the parsing faster, and gives us greater flexibility
in the syntax. We now have a 'LIKE' keyword that will allow
sections to inherit the settings from other sections.
Here is an example where you have several HP Vectras and several
Dell Dimension PCs that you are using:
<pre>
[Vectra]
X_MOUSE_DEVICE = /dev/ttyS0
X_MOUSE_PROTOCOL = Microsoft
[Dimension]
X_MOUSE_DEVICE = /dev/psaux
X_MOUSE_PROTOCOL = IMPS/2
[ws001] LIKE = Vectra
[ws002] LIKE = Vectra
[ws003] LIKE = Vectra
[ws004] LIKE = Dimension
[ws005]
LIKE = Dimension
PRINTER_0_DEVICE = /dev/ttyS1
PRINTER_0_TYPE = S
[ws006] LIKE = Dimension </pre>
Notice that ws005 inherits from Dimension, but also includes
a local printer.
- Source code
Source code is now available for all of LTSP.
- LBE - The LTSP Build Environment
A complete build environment, allowing easier building
of local applications.
To Do list for LTSP-4.0
- When building the LTSP sources, many of the packages are producing MAN pages
and other extra things that simply aren't needed for LTSP. We need a way to
either NOT produce the docs, or delete them after the fact.
- For doing GUI X Windows sessions, the build_x4_cfg script has been written,
for XFree86 4.2.x, but we still need a build_x3_cfg script for building
config files for XFree86 3.3.6.
- Packaging. Currently, the LBE and LTSP Source code is only available
in tar packages. We need to build real RPMS, DEBS and we might as well
do Gentoo ebuild packages.
- More screen scripts. Currently we only have 'remote_x' and 'telnet'.
The 'remote_x' script is for launching the X server and connecting to
the LTSP server. The 'telnet' script is for launching telnet and
connecting to a server with a character mode session.
- The LTSP source package doesn't include the kernel sources yet. We need
to be able to build the initrd and the kernels using the same tools as
the rest of LTSP.
- Updated documentation.
- Probably a bunch more, but it's late, and i'm tired :)
Para terminar comentar a grandes rasgos la diferencia fundamentales entre ICA(citrix), RDP(microsoft) y LTSP:
RDP
Este protocolo apareció a partir del windows NT4 Terminal server. Se necesita, por lo tanto, una version de windows que soporte multiusuario. Se necesita un cliente para acceder a él y abre una sesion en el servidor. Solo da acceso a sesiones y todos los procesos se ejecutan en el servidor.
ICA
ICA es el nombre del protocolo de la casa CITRIX. Para ejecutarse necesitamos una citrix metaframe en el servidor y en el caso de un servidor windows, como en el caso anterior, que sea multiusuario. Basicamente tiene una manera similar de funcionar que RDP, pero con una diferencia fundamental. Ademas de publicar sesiones te permite acceder a aplicaciones, tiene una muy buena herramienta de administración y alguna ventaja más que no viene al caso. Además tanto RDP como ICA te mapean las unidades locales y tus impresoras (jejeje, ojala funcionase bien). Ambos protocolos soportan encriptación y estan comprimidos. ICA es inmensamente superior permitiendo incluso ver video.
LTSP
Empecemos con algo radical: LTSP no tiene nada que ver con ICA o RDP aunque puede darse un uso parecido.
El funcionamiento de LTSP es el siguiente: Un servidor DHCP o bootp te pasa un kernel de linux que ejecutas en tu maquina. Despues se usa la arquitectura cliente/servidor de Xfree para ejecutar la sesión en la maquina local. Además y lo más importante tal vez, tienes la posibilidad de ejecutar aplicaciones en local, es decir, el proceso corre en la maquina cliente y no en el servidor. Es muy configurable, es sencillisimo de usar y te permite el viejo sueño de los NetPC o los NC se convierta en realidad. Además no necesita discos duros ni soporte fisico, el sistema se carga en memoria y con NFS utilizamos el sistema de archivos.
LTSP es realmente una buena manera de aprovechar ordenadores antiguos, duraderos (un ordenador sin partes moviles es menos proclive a fallos), más "delicioso" de administrar, y está todo centralizado. Tiene la ventaja de poder ejecutar las aplicaciones mastodonticas en local (si, si, el openoffice y el mozilla nada de ejecutarlo desde el servidor y "cuajarnos" la maquina).
Vamos, que me dejo muchisimas cosas en el tintero comentando todo esto por encima, pero os podeis hacer una idea de lo que nos ofrece LTSP
|
|
|