LTSP/Cluster
From openSUSE
|
The instructions here are for the basic load-balancing cluster ideal for clustering 2-5 servers. The clustering is supported out of box in openSUSE ltsp image, provided you have single authentication(LDAP) and shared /home(usually NFS) between cluster nodes. See LTSP/Cluster/Setup for how to go about doing that.
Basic LDAP authentication setup
Set up openLDAP server and client according to the guide here:
Set up one openLDAP server and all the other cluster nodes as LDAP clients.
NFS server and Client setup
Set up NFS server on the same PC as openLDAP server by installing nfs-kernel-server. Export '/home' folder by adding something like this in /etc/exports:
/home 10.0.0.0/255.255.255.0(rw,no_root_squash,async,no_subtree_check)
mount /home on all cluster nodes.
Installation and Configuration
Define the CLUSTER_NODES parameter in /etc/sysconfig/kiwi-ltsp as:
CLUSTER_NODES = "PRIMARY_SERVER_IP, SECONDARY_SERVER1_IP, SECONDARY_SERVER2_IP"
This shall automatically remove the LDM_SERVER parameter, if it is defined and add the IP addresses of the cluster nodes to /srv/tftpboot/KIWI/lts.conf as below:
MY_SERVER_LIST = "PRIMARY_SERVER_IP SECONDARY_SERVER1_IP SECONDARY_SERVER2_IP"
The ltsp client will auto-select the server to connect to based on the rating it receives, the rating is given according to the CPU load and memory usage on the servers
Categories: Education | Projects | LTSP | HOWTOs

