OpenSSI Logo SourceForge Logo

project
 home page
 sourceforge page
 mailing lists
 feature list
 demos
 screenshots
 Bruce's corner
 related links
 wiki
downloads
 notes
 1.2 stable
 1.9 development
 CVS
documentation
 1.2 stable
 1.9 development
 roadmap
 wiki
work items
 task list
 bug database
 feature requests
 process mgmt hooks
  hide sidebar
Installing and Using LTSP with OpenSSI

This document describes what has to be done for successfully running LTSP on 
an OpenSSI Cluster, such that the LTSP client connections are load-balanced 
across nodes in the cluster using HA-LVS. If the LTSP terminals need not run 
X Windows or you do not want XDMCP connection loadbalancing to happen in 
your OpenSSI cluster, then you can skip steps 2 and 4.

1. Install base Linux distribution and OpenSSI.

2. Follow README.X-windows and setup X to run on all nodes of the cluster.
   Note: Make sure that the /etc/X11/XF86Config has proper entries in the 
	 Screen, Monitor and Device sections to support all the nodes in the 
	 cluster. This is needed in order for the gdm/X to run on all nodes in 
	 the cluster.

3. Follow README.CVIP and setup a cluster virtual IP ("CVIP") address on 
   the cluster.

4. Run the following commands on the LVS director node:

	ipvsadm -A -u <cvip>:177 -s wlc
	ipvsadm -a -u <cvip>:177 -r <init node's IP address>:177 -g -w 1
	ipvsadm -a -u <cvip>:177 -r <second node's IP address>:177 -g -w 1
	ipvsadm -a -u <cvip>:177 -r <third node's IP address>:177 -g -w 1
	<continue for all nodes in the cluster>

   If you configured HA-LVS for failover, you also need to run these 
   commands on all backup director nodes.
   
   If somebody writes an initscript for automating this, please share it 
   with the rest of us on ssic-linux-devel@lists.sf.net.

5. Follow README.nfs-server and setup NFS server on your OpenSSI cluster.

6. Follow instructions in http://www.ltsp.org/ltsp-4.1.html
   and install and configure LTSP on the root node of OpenSSI cluster.

7. When the LTSP configuration program generates /etc/dhcpd.conf.sample, 
   move it to /etc/dhcpd.proto and open it for editing. Change the root-path 
   option to specify the CVIP IP address, rather than the local IP address 
   that LTSP configures by default. Otherwise, the clients will not be able 
   to do their NFS mounts. Also, do all the necessary changes to add a 
   dynamic IP address range and/or static IP addresses for particular clients. 

   Next, run `mkdhcpd.conf' (which combines /etc/dhcpd.proto with information 
   from /etc/clustertab to create /etc/dhcpd.conf). Finally, run `service 
   dhcpd restart'.

8. Change the SERVER assignment in /opt/ltsp/i386/etc/lts.conf to specify 
   the CVIP IP address, rather than the local IP address that LTSP 
   configures by default. Otherwise, LTSP clients will not be load 
   balanced among the server nodes.

9. On Fedora Core, when configuring LTSP, there's no need to start the nfs 
   service, since OpenSSI for Fedora Core instead uses the SSInfs service.

This page last updated on Thu Dec 15 17:17:43 2005 GMT
privacy and legal statement