[K12OSN] Server load balancing, made easy

David Trask dtrask at vcs.u52.k12.me.us
Tue Mar 8 18:45:51 UTC 2005


Can you document this so we can all benefit from it?


"Support list for opensource software in schools." <k12osn at redhat.com> on
Tuesday, March 8, 2005 at 9:02 AM +0000 wrote:
>Jonathan,
>
>Responding to your rsync portion.
>
>I have a very gross setup with 5 LTSP servers spread around a 25 mile  
>area. We needed to provide a way of having users be able to log in at  
>any location and have access to their files, but access to the main  
>server where files would be located/backed up was via ISDN connections.  
>This meant that NFS was not really an option. So I updated  
>/etc/X11/gdm/PostSession/Default (get run at logout) to rsync files  
>back to a central server. And I also updated  
>/etc/X11/gdm/PostLogin/Default (run after a user is authenticated) to  
>rsync files to the LTSP box they are loging on to.
>
>To make this all work there are several things that need to be in  
>place. ssh needs to be set up so that both machines trust each other.  
>You need the correct syntax in your PostLogin and PostSession Default  
>files.
>
>In my case I also have my LSTP boxes authenticate against the main  
>server using NIS. This way I only have to keep users and passwords up  
>to date on a single server.
>
>I'm more than happy to share the files if you need them. Although I'm  
>sure I left out something. I spent several months getting this to work.  
>I made dozens of tweaks along the way.
>
>Lewis


David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask at vcs.u52.k12.me.us
(207)923-3100




More information about the K12OSN mailing list