Multicast Imaging for Mac OS X?
ATomkins asks: "The school where I work has 128 new G5s which will be set up in a couple of labs. We want to completely re-image all G5s at least every semester. Ideally, we would want to use something like Ghost to push the image out to all the Macs at once; with Dell boxen, under similar circumstances, this takes about 20-30 minutes. Is there a viable alternative for OS X?"
"So far, among other things, we've tried NetInstall and ARD2, which preformed horribly, taking over 200 minutes using GigE. Our best solution has been Carbon Copy Cloner over FW800, but that costs a lot in terms of labour. UDPCast over a Gentoo LiveCD image (distributed via NetInstall) seemed promising, but is being troublesome.
Assuming block-level unicast isn't an option, does anyone have any ideas how we can make this more automated?"
Assuming block-level unicast isn't an option, does anyone have any ideas how we can make this more automated?"
Netrestore http://www.bombich.com
Radmind works fatastically. i use it to manage about 600 macs with different loadsets using the tls certificate feature. http://rsug.itd.umich.edu/software/radmind/
macosxlabs has articles and whatnot about this, i believe:
From the site:Welcome to the web site for the Higher Education Mac OS X Lab Deployment Initiative. Our goal is to simplify the task of installing and maintaining Mac OS X in a computer lab.
From the site:
g4u ("ghost for unix") is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP."
http://www.feyrer.de/g4u/
\m/
Have you tried using OS X Server and Net Install?
This document provides an overview of it, but doesn't really detail the procedure. Might at least point you in the right direction, however.
As far as I know and can tell, NetRestore isn't multicast imaging, guys. I've imaged thousands of machines with NetRestore, and while it's a wonderful wrapper for ASR and such, it's not what this guy is asking for.
/pain./
However, it would do his job just fine. If you've only 125 machines, and you're not pushing out more than one image, I bet you could do them all in a day or so by yourself. (A 2-gig image can be pushed to a new Mac in ten minutes or less, depending on its HD speed. If you do 24 at once--24 being a random switch port count I picked out of my head--you could do two to three sets in an hour, accounting for setup and breakdown time.) You're going to be limited by your network, mostly, as a single Xserve/NetRestore combo will tear through 20-40 machines at once, depending on image and client hardware (faster drives equals faster imaging).
Tips:
- Automate the shit out of it. NetRestore can run post-flight shell scripts and adjust computer/Rendezvous name on the way into the image process. You just gotta set it up.
- Gigabitgigabitgigabit. If you don't have a gigE uplink to the server, prepare for some
- Put your NetBoot image on one physical drive and your image(s) on another. Maximize those channels.
- Visit macosxlabs.org and read as much as you can before you start. They've been there, done it, and own the t-shirt factory.
NetRestore and NetRestore Helper are great tools, and should be just fine for 125 units.
Mikey-San
Karma: +Eleventy billion (mostly affected by watching Celebrity Jeopardy)
I use this method a high turn around, needed-it-yesterday rental house. Granted I only need to do about 10-15 systems at a time, but this non-automated way to 'Clone' Mac systems may be helpful.
Server:
- OS X 10.3 Server NetBooting 10.3 with Diskless option selected
- A network accessible shared folder.
Client:
Any Mac configured exactly the way you want it.
To make the Master image:
NetBoot your template machine and use Disk Utility to 'Make Image' of the host computers HD - Save image to your shared folder.
NetBoot your target system. Make accessible your disk image that you saved in your shared folder.
Use Disk Utility to format its hard drive.
Use Disk Utility to do a 'Restore' using the image as the 'Source' and the Mac HD as the target.
Wash, rinse, repeat.
Things to consider:
Machine specific components, processor speed differences, etc. Make new images for different processor class machines. (i.e., Dual 1 Gig has much different architecture than a Dual 1.25, but the 1.25 is very similar to the 1.42 (FW800 on both).
Safest bet is to make an image for each config/machine variation.
A 2 gig image takes me about 20 Minutes. Be mindful that system speed and disk configuration will greatly affect performance.
For more speed: RAID 0
For redundancy: RAID 1
For balance: RAID 5
Your network architecture also plays a vital role, especially when attempting simultaneous restores. Most all Macs come with GigE now. If your IT budget can swing it, I would highly recommend picking one up (a GigE switch that is).
Even if you use some of the other software recommendations, hard disk speed, network architecture and superfluous demand on the system will all play a big role the time it takes to complete.
There are many ways to stream line this process, however this is what I need and this is what I do. I am always looking for new ways to automate and make easier the restore process.
Already have Ghosting down to a science on the PC side of things.
----
It's live long and PROSPER, not THRIVE...
I administer a couple Mac labs at a university, and best I know, there is no multicast way to push it. I would think one could be written tho, in the way of ghost.
Every machine boots from a CD or, the net install boot system, then an application launch that then sycns up with a multicast system. Overall much the same way as ghost. Hmm... maybe a new programming project.
Everything you need is already there:
http://www.apple.com/server/macosx/netboot.html
Our mac image is 21 gigs compressed, or 28 gigs uncompressed.
The Dell image is 10-15 gigs, depending on the purpose of the lab.
And it was 200 minutes per machine. We had 1 Xserve serving the image to 1 dual 1.8GHz G5 over a gigabit switch and got a final time of 211:45