Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Operating Systems Software

Syncing Options for Computer Lab Machines? 60

sirfunk asks: "I'm going to begin helping out maintaining the computer labs around my university campus. I was wondering what solutions the Slashdot community had hints and tips for maintaining computer lab networks. We need a solution where we can keep a remote image on a server, and the computers will update to that on bootup. We also need them to be able to update, even if Windows is severely messed up (so if Windows dies, just reboot it). I know there's commercial solutions like Deep Freeze, but I was hoping someone knew of a creative Open Source alternative. I'd love if we could run these as dumb terminals with *nix, however that won't be an option for the general public. One Idea I had was to make the machines boot into a Linux partition that would rsync a FAT filesystem (the update) and then reboot to that FAT filesystem. The whole thing about getting it to boot into Linux first and then Windows next might be tricky. I would love to hear everyone's ideas on this topic. If you have any ideas that would run cross-platform (Mac/Windows) that would be great, too."
This discussion has been archived. No new comments can be posted.

Syncing Options for Computer Lab Machines?

Comments Filter:
  • Re-Imaging (Score:3, Informative)

    by NeonSpirit ( 530024 ) <mjhodge&gmail,com> on Tuesday October 28, 2003 @07:20AM (#7327038) Homepage
    If I understand the situation correctly then you want to re-image each machine on boot. I have looked at this and a complete XP Pro image on a Gb network takes anything from 20 - 45 mins. This is using a product called Altiris Deployment Server [altiris.com]which uses PXE under the covers. If this is acceptable then I'm sure you could do your own PXE solution with a Linux DHCP and TFTP server. You can download a free 30 day eval to see how it works and "clone" the procedure.

  • Altiris (Score:5, Informative)

    by MImeKillEr ( 445828 ) on Tuesday October 28, 2003 @08:03AM (#7327138) Homepage Journal
    When I worked in support (last gig was supporting internal classrooms) we used Altiris LabExpert. They've changed the name to Application Management [altiris.com], but this may be what you want. It's not open-source, but comparing this program's prices to the other similar ones on the market, we saved a TON of money (one vendor wanted nearly $150K for all the computers we were going to use this on. I think we spent $7K at each site for a total of $28K)

    It has a server and client modules. The clients sync with the server on reboot. If there are jobs in the queue, the server pushes the jobs, they're applied and rebooted.

    To create jobs, you make a baseline of an OS, install the application, and then run the baseline app again. The application examines the entire disk as well as the registry and notes changes. You build a package containing just the changes.

    You can even turn the packages into self-extracting .EXEs, burn to CD and deliver that way.

  • Don't Knock It (Score:5, Informative)

    by yancey ( 136972 ) on Tuesday October 28, 2003 @08:25AM (#7327194)

    It seems like you are pro-open-source, but don't dismiss the commercial products completely. Novell's ZENworks for Desktops (ZfD) product is quite simply amazing! It also happens to do exactly what you're talking about.

    Does it require Novell servers? No, it does not. You can read more from the ZENworks documentation [novell.com] at Novell's website. Read the ZENworks 4 docs. ZENworks 6 is a bundle of ZENworks 4 for Desktops and ZENworks for Servers and ZENworks for Handhelds.

    I once read about a university (I think in the UK) that managed 30,000 Windows desktops with only six people! Also, the largest companies on the planet tend to favor ZENworks for Desktops over SMS [ntbugtraq.com] for deploying patches.

    My computer support group uses ZfD to manage about 1,500 computers whose configurations vary widely from P2-400's to P4-3.06 Ghz boxes running anything from Win98 to WinXP. About 400 machines are in labs, but the rest are faculty or staff desktops. ZfD is extremely flexible. ZfD has an imaging solution, but is not limited to that.

    ZfD imaging boots up a Linux agent first, either from the hard disk or by booting it over the network from the ZfD server or from a bootable CD-ROM. This agent checks Novell eDirectory to see what it should do (store an image of this workstation on the server, install an image onto the workstation, or other tasks). Once the image has been transferred, the computer reboots into Windows. Each time the computer boots, ZfD will check to see if it should perform an imaging task; if not, then it just boots Windows. ZfD can also add software to the base image on-the-fly!

    Alternately, you can automate an install of Windows (just the base OS, with patches). Then install the ZfD agent and let it install all the other software for you. This solution is the ultimate in flexiblity, but requires you to have a pretty intimate knowledge of how Windows and ZENworks function, like what registry entries are dangerous to deploy to other workstations.

    A combination of imaging and software deployment is an excellent way to get a workstation installed quickly and have a large selection of software available. You can deploy a small image (Windows, ZfD agent) and allow the ZfD agent to install other software as needed by the users. For example, ZfD can put items on the Start menu and when the user clicks on that item for the first time, ZfD installs the software. Rarely does one need to reboot.

    ZENworks is probably the best solution available for managing large numbers of Windows desktops. It is powerful and flexible. Like many powerful tools, it is also a double-edged sword. It can easily deploy a patch and fix thousands of workstations, but if you deploy the wrong registry entry, you can just as easily break thousands of workstations. This is why you have to know Windows inside and out.

    Finally, Novell has really good discounts for education. If you don't already have it available to you, check into it.

  • Unison (Score:3, Informative)

    by jungd ( 223367 ) * on Tuesday October 28, 2003 @09:28AM (#7327452)

    Check out Unison [upenn.edu]. Not sure if it is exactly what you want, but it is a nice cross-platform filesystem sync tool I use.

  • by pbulteel73 ( 559845 ) on Tuesday October 28, 2003 @10:05AM (#7327672) Homepage
    You could always have a partition saved on the a 2nd hidden partition and recover from there. That would make it a LOT faster than trying to go through the network. The LG Internet fridge recovers it's win98 partition and resets itself by doing this. (No I don't have one - they're $8000.)

    I don't know what tools they use for this though, but dd should work. This is also how some companies use to have the recovery information for their desktops. If you used your rescue CD, it would revover from that hidden partition.

    Anyway, just a though...

    -P
  • by cloudmaster ( 10662 ) on Tuesday October 28, 2003 @10:11AM (#7327700) Homepage Journal
    You can install rsync for windows, which is easily done using cygwin. Write a little shell script (since you're pro *nix) and set it up to run on boot. That oughtta be fairly easy.

    When I was working computer labs, my preferred solution was linux + vmware, BTW. The machines ran linux (with everything mounted read-only - I'd netboot if I did it again), started up X, and then fired up a VMWare instance that ran full screen. The virtual disk image was on a remote machine (though it could just as easily be pushed to the client machines when it was updated), and was opened read-only on the clients. If anything happened, they'd just "restart", which just threw away any local changes that they'd made. It was great for the net admin classes, as we could give the users full control of the windows machine without worry of them actually screwing anything up. Also, you can update the install at any time by simply opening the disk image with "save changes" enabled. If you set the file system permissions so that normal users can't write to the image even if they do manage to change the vmware settings, you're pretty well set.

    Granted, it costs some money, but it works real well - if you don't need direct hardware access to devices not supported by the host OS. That's the VMWare solution's catch - not all hardware is perfectly supported by linux, and using Win32 as a host is rather pointless. :(
  • SystemImager v3.0.1 (Score:2, Informative)

    by bastion ( 444000 ) on Tuesday October 28, 2003 @11:50AM (#7328622)
    http://www.systemimager.org/

    SystemImager makes it easy to do automated installs (clones), software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines. You can even update from one Linux release version to another!

    It can also be used to ensure safe production deployments. By saving your current production image before updating to your new production image, you have a highly reliable contingency mechanism. If the new production enviroment is found to be flawed, simply roll-back to the last production image with a simple update command!

    Some typical environments include: Internet server farms, database server farms, high performance clusters, computer labs, and corporate desktop environments.

    You could... (in theory) clone your linux box with the windows partition intact, set your grub.conf to boot windows automatically postinstall. Whereby you update your 'gold image' and redeploy it with patches, etc. Rsync works on win32 but I'm not sure if daemon mode works, this could be alleviated by running a scheduler but alas you would have to script (not completely recommended for security purposes) the patches or software to run/install.

  • by PD ( 9577 ) * <slashdotlinux@pdrap.org> on Tuesday October 28, 2003 @12:17PM (#7328907) Homepage Journal
    Set up Lilo with two targets: Linux and Winders.

    Make Linux the default target to boot to.

    When you're inside of Linux, and you want to set it so it boots Windows for the next boot, and only the next boot, then you do a

    lilo -R windows ; shutdown -r now

    The next boot will be into Windows. The boot after that will be back into Linux.

    Seems like you could set things up very easily to do what you want.

  • by korpiq ( 8532 ) <-,&korpiq,iki,fi> on Tuesday October 28, 2003 @02:28PM (#7330343) Homepage
    I'd put something like this into a script (/etc/init.d/restore_windows):


    #!/usr/bin/bash

    lilo -R windows

    rsync $RSYNC_OPTS $SERVER:$IMAGES/$MACHINETYPE $WINDIR

    cd $WINDIR
    tar xzf $LOCALEXCEPTIONSFILE

    shutdown -r now



    Is that too simplistic? man lilo for the -R switch.
  • by JVert ( 578547 ) <corganbilly@hotmai[ ]om ['l.c' in gap]> on Tuesday October 28, 2003 @03:46PM (#7331272) Journal
    $350 for a thin client plus $200 for the RDP license (1 CAL and 1 RDP CAL). Plus they still modify files on the computer. Now it just takes one talented induhvidual person that can screw up the server.
  • Already did this. (Score:3, Informative)

    by transiit ( 33489 ) on Tuesday October 28, 2003 @04:20PM (#7331670) Homepage Journal
    I helped a guy out set up this exact FAT32 + rsync setup.

    We used Smart Boot Manager [sourceforge.net] and set up scheduled reboots.

    Works like a charm. Note that it not only cleans up the machines at the end of each day, it will also allow you to patch your master image and push that out to the network. (even a one-day lag is still faster than going from machine to machine patching or ghosting)

    Watch out for oddities such as the Daylight to Standard time switch, though.

    -transiit
  • pc-rdist (Score:2, Informative)

    by tangsc ( 161284 ) on Tuesday October 28, 2003 @10:40PM (#7334911)
    We did such a thing to manage 3 computer labs for the college of engineering at a large university. (They deployed it to a couple more labs after I graduated). We used a program called PCRdist. (http://www.pyzzo.com/). It is based off a unix app called rdist. It was great. We used it to manage the different desktops, deploy applications, etc.

    A reply to someones comment about work space. When you setup applications, just make sure their default save location is in such a directory (Also, use NTFS to enforce it). Now, you don't touch files from the directory unless files are XXX days or so.

FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms, and grows in every computer. -- A.J. Perlis

Working...