|
This page is specific to Ubuntu versions 9.10, 10.04 |
If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.
LTSP-Cluster
When there is a need for hundreds or thousands thin clients, you need a ltsp-cluster. Read more about ltsp-cluster:
In this guide we install very basic, but working ltsp-cluster for testing and studying purpose. We use here "A setup with internet connection" from wiring howto:
https://help.ubuntu.com/community/UbuntuLTSP/LTSPWiring
We need two x86_64/amd64 servers. First one is root server for all thin clients. Second one is application server for all thin clients in this guide. In the real world you need more than one application server, of course. And one server for home files (NFS) and one server for managing all the users (openLDAP). But as we said – this is very basic ltsp-cluster, just something to get familiar and start with.
Here is Stéphane Graber's excellent guide:
https://www.ltsp-cluster.org/documentation/howto/openvz-setup
We have named two server this way.
Ltsp-root01 – 192.168.1.101 | Ltsp-appserv01 – 192.168.1.102
Both servers need to know each others.
cat /etc/hosts 127.0.0.1 localhost 192.168.1.101 ltsp-root01 192.168.1.102 ltsp-appserv01 [--]
For the installation we need two CD's.
For the root server we need "64-bit PC (AMD64) server install CD". http://releases.ubuntu.com/9.10/
For the application server we need “64-bit PC (AMD64) alternate install CD". http://releases.ubuntu.com/9.10/
Note: somehow the last section disappeared. It has been restored.
Remove these ads by
Signing UpStep 1: Root Server for LTSP-Cluster
Root Server for LTSP-Cluster
We use "64-bit PC (AMD64) server install CD" to install root server. Do not install anything extra – just SSH server. After that make all updates and upgrades.
sudo apt-get update sudo apt-get dist-upgrade
uname -a Linux ltsp-root01 2.6.31-12-server #40-Ubuntu SMP Wed Oct 7 05:13:39 UTC 2009 x86_64 GNU/Linux
Install ltsp- and dhcp3-servers
Install ltsp- and dhcp3-servers in root server.
sudo apt-get install ltsp-server dhcp3-server
Modify dhcp3.conf for your network. Here we use this one. Note: File is not in /etc/ltsp directory!
sudo nano /etc/dhcp3/dhcpd.conf
# /etc/dhcp3/dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
option domain-name "ubuntu-ltsp5";
option domain-name-servers 192.168.1.1;
option routers 192.168.1.1;
range 192.168.1.200 192.168.1.250;
next-server 192.168.1.101;
filename "/ltsp/i386/pxelinux.0";
}
Restart dhcp3-server.
sudo /etc/init.d/dhcp3-server restart
Build chroot
Thin clients need 32-bit chroot. Build that one this way in root server.
sudo ltsp-build-client --arch i386 --ltsp-cluster --prompt-rootpass
When asked for ltsp-cluster settings answer as follow. Remember change “Server name” if needed.
Configuration of LTSP-Cluster NOTE: booleans must be answered as uppercase Y or N Server name: 192.168.1.101 Port (default: 80): 80 Use SSL [y/N]: N Enable hardware inventory [Y/n]: Y Request timeout (default: 2): 2
Root user passwd for chroot will be asked, too.
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
Your answered setup is in this file: /opt/ltsp/i386/etc/ltsp/getltscfg-cluster.conf
SERVER=192.168.1.101 PORT=80 ENABLE_SSL=N INVENTORY=Y TIMEOUT=2
Computothought (author)
says:
Jun 2, 2011. 10:28 PMReply

















Not Nice


















Visit Our Store »
Go Pro Today »



