[K12OSN] Server load balancing, made easy

Andy Rabagliati andyr at wizzy.com
Tue Mar 8 17:03:23 UTC 2005


On Tue, 08 Mar 2005, info wrote:

> This was my approach Two years Back , It may help for current setup's also.
> If you use Broadcast method it will give the least loaded server , with
> option 4 specified under , it will show less loaded server first.  
> 
> The Steps to do for Multiple X -Server Connectivity from One Workstation.
> 
> 1) Using rc.local file create start_ws1 scripts file which is identical
> to start_ws but with following change
>  echo "/usr/X11R6/bin/XF86_SVGA :1 vt4  -indirect {XDM_SERVER}
>  This will show list of  Multiple X-server in the Network.
> 
> 2) Add following line to inittab file of /opt/ltsp/i386/etc
>     3:5:respawn:/tmp/start_ws1
> 
> 3) change section of rc.local for start_ws scripts also.
>  echo "/usr/X11R6/bin/XF86_SVGA  -indirect {XDM_SERVER}
> 
> 4) Update GDM with gdm-2.2.4.2-1.i386
>     change the following line in gdm.conf under /etc/X11/gdm
>     Displaysperhost=2   under XDMCP section.
> 
> This will give user option of Multiple X-server as well as with
> ctr+alt+F4 he will be able to connect to another X server.

This is the approach I use, with NFS-mounted home directories.

It still gives a single point of failure, the NFS server, though.

A good RAID setup on the NFS server should alleviate those problems
though.

Cheers,   Andy!




More information about the K12OSN mailing list