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
How big is the image? How big is your Dell image?
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/
First, create one G5 exactly the way you like it for every "grouping" of hardware (i.e. identical configurations). Second, boot knoppix ppc. Third, mount an nfs partition where you store the images. Forth, use the dd command to backup the harddrive device, e.g. dd if=/dev/sda of=/nfsmount/image bs=4k . To restore, use the dd command in reverse, e.g. dd if=/nfsmount/image of=/dev/sda bs=4k . Creating a different image for each configuration.
:)
Not the easiest, perhaps, but free and effective, and only limited by the speed of your network. It's linux, so feel free to customise a better solution.
He who laughs last is stuck in a time dilation bubble.
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/
net booting with an XServe
You could offer a linux/netbsd ppc kernel and root image from OS X's dchpd/tftpd, then push and pull images to/from nfs/cifs. You could also use your iPod (or another external), with a full rescue OS X install or netbsd/linux to do imaging.
Its quite useful to have a menu'd network bootstrap at the ready for this kind of stuff, or installing whatever OS, or a nfs rooted copper Gbit media boxes (oh my).
I haven't really spent time with NetRestore, but it just is an easy wrapper for Apple Software Restore. ASR can do block copies instead of file level copies but I don't know if NetRestore defaults to using that. 'man asr' might be useful, since you can really just skip the netrestore stuff once you know what is it wrapping.
Mac OS X Server includes a netinstall feature, though it really just netboots clients off an install image. I think there is supposed to be an 'unmanaged' install feature, though I haven't actually poked around with it. I expect since it uses Apple's Installer it might be slow too, since the installer definitely uses file level copies, and also requires everything you install be in the proper package format.
I would recommend poking around macosxlabs.org. They are probably the best info. source on the web for deploying OS X in Hi-Ed labs. They have info on radmind and other common imaging scenarios.
Hyperbole is the worst thing ever.
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.
I'd imagine Apple's Remote Destop would do the job, as well as give you a lot more, probably usefull admin tools to play around with. Although it's not free, $500 for 130 machinies isn't that much when it come's to probably pretty good reliability.
The above posters sound like good advice. If they don't work, you could try asking at a Mac store and see what they use. I'm not sure if or what they use, but their systems are always pretty clean. They must use something to reinstall their systems regularly.
_______
2B1ASK1
Try here. Kind of an interesting list of "what works and what doesn't" in an educational setting. Not a lot of details, but a lot of leads...
What!? Free PCs!?
Even Apple make one....boot all the G5s off it...GigE makes that easier.
-psy
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)
You can boot a CD, mount a network drive, and
dd a disk image over the hard drive. I recommend
a Knoppix PPC live cd.
-I like my women like I like my tea: green-
http://www.bombich.com/
We imaged 1500 Powerbooks in 4 days using an Xserve and NetRestore. The image was about 5 GB I believe and we averaged about 20 mins a machine with 25 going at once. There should be enough on the forums to get you started.
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 use this method at 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.
..Hick High school that does everything "multicast"....
Their whole network is BNC longhauls and 10bt to every computer. They thought hubs were "better" cause they were cheaper. They have 1 collision domain...and the network is real easy to "Snoop".
Quite sad....
and use a cron script to automate a system restore as often as you would like. It eliminates the network issues and only takes about 30 mins on a G5 with an decent size install.
Problem is there's no network install, only local disks. (Hence the subject line...)
AFAIR dd also duplicates the factory defects and the grown defects lists when used on whole drives - pretty bad behaviour for different hard disks...
Everything you need is already there:
http://www.apple.com/server/macosx/netboot.html
You should be able to get this to work on your gentoo live CDs. I'm not sure about it working in OSX:
http://www.emulab.net/software.php3
Even in whole disk mode, this thing is scorching. I've not seen anything commercial or free that touches it in terms of speed. The whole thing is multithreaded. I use it for restoring PCs on a test bench after regression testing. In fs-aware mode it'll restore a ~5Gb file system in a matter of about 4-5 minutes.
-Peter
. Penguins Surely Ca
Wait...I thought he was setting up a meth lab. Oops.
You didn't say if 200 minutes is per machine or for the whole shooting match; If it's for the whole school then 3.5 hours of work once per semester is no big deal, give it a rest. You'll waste more time tweaking it than you save doing it. If it's per machine then you're doing something seriously wrong.
I manage a lab of 30 machines, and we use NetRestore to wipe them on a weekly basis from a G4 XServe. The switch is only 100 Base-T, so we're bandwidth limited to about 5 or 6 machines at a time. Even so, imaging one machine takes about 10 minutes, and the whole lab is done in under an hour. If the switch had a GigE uplink for the XServe then the whole process would take twenty minutes.
Check out the numerous links that others have posted to macosxlabs.org and asr, and good luck with it.
--Paul
We think the closest thing to this is ZenWorks, which we have in the longterm plans of implementing when upgrading of our servers are done.
Sounds like you answered your own question.
Of course, ZenWorks ain't free, and it'll require training, and NDS tree rights will introduce political turf fights, and eventually some pointy-headed bean counter will object to the cost, but hey, welcome to life in IT.
1. create a netboot-image wich automatically copies the os with installed and configured radmind to the local HD
2. create a radmindloadsets
this way, radmind keeps your macs up-to-date which makes reinstallations nearly unnescessary. if a mac won't boot no more (and therefor radmind doesn't run) do a netboot.
I use it to manage my lab of 28 G5s. I have a Mac OS X Server set up to deliver a NetBoot image with NetRestore on it to the lab machines.
When I want to re-image a machine from scratch (as a side note, I haven't had to do this once in 2 years, Radmind and OS X do such a good job of keeping everything the way it should be), I just boot it while holding down the N key, NetRestore loads, I select the appropriate image, and there it goes.
A single machine takes about 10 minutes, and since the OS X Server also acts as a Workgroup Manager server, our departmental file server, and a WebDAV server for our students, I stick to 5 or 6 at a time to keep the load down. But a dedicated XServe G5 over gigabit should be able to push out an entire lab in one fell swoop.
There are also scripts that can take care of the ByHost preferences and even giving each machine a unique hostname, and you can set up NetRestore to restore & reboot automatically, so if you use ARD to boot the lab using NetBoot, it can be a completely hands-off system: get it started before you leave on Monday, have a lab ready to go when you come in Tuesday morning.
I'm sure someone already posted this, but you'll probably find everything you need to know here:
http://www.macosxlabs.org/
No offense to the slashdotters, but you'll probably find this link more useful than any of the posts here. It's chock full-o-goodness with people who make it happen in real-world situations rather than an unruly group of independent pundits.
Hope this helps!
.
I might know what I'm talkin' about, but then again, this is Slashdot...
Try the following:
/image
/image. Note dont do this twice in a row without adding flags to find to skip the image dir!
/image directory to /, mv back the /Users directory and reboot.
to set this up, start by making a hardlink copy on each computers's disk of the entrie disk:
su root
find / | cpio -dpl
this creates an (almost) no space occupying duplicate of your current disk in the subdirectory
Next when you want to push a new image simply mount the remote disk (without roosquash) and do a differential copy of the new image to the old image directory using rsyncX or rdiffbackup or psync or whatever.
finally on each remote machine when you are ready to actually do the update, mv the / directory to old_system, mv the
you dont actually double the disk space needed this way. the disk space only grows when you change files, the bulk of the rest that are unchanged live and single copies with hard links.
Some drink at the fountain of knowledge. Others just gargle.
I just did two labs and ~20 classrooms with netinstall; total of about 75 iMacs and eMacs. Worked like a charm. I set up one eMac just as I wanted, made an image and then rebooted the rest of them with netboot. Only problem was that I had to go to each machine to accept the license, and confirm that I wanted to wipe disk clean.
For fully automated restores, add Apple Remote Desktop to Netrestore in full automation mode. From one machine you select which ones you want to restore and set their startup disk to netboot the NetRestore image and restart the machines. NetRestore will image the machine, set the startup disk back to the hard drive and restart the machine. It can also name the machine if you want. DHCP makes configurations a little easier too.
One thing we've done is partitioned the hard drive into two partitions, a 15-20GB boot partition and the rest a temp. Students are told to save their iMovie projects and other things too large for their server account (which we limit to 300MB) onto this Temp drive. We can then re-image at will and not worry about trampling over any student files.
What, me worry?
switches are not all the same.
Try to get a good quality one that is non-blocking
you can also put additional ethernet cards in the server, and assign clients to each card (i think)
The OP is asking about MULTICAST network restore solutions (and I take it to mean IP multicast). NetRestore isn't. It's all unicast. We use it, but are also suffering from the "can't rebuild more than a few at a time" syndrome.
There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
That's LANDesk Management Suite 8:
1
http://www.landesk.com/products/product.php?pid=1
There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
The question is about IP MULTICAST cloning options! NetRestore, CCC, and asr are all UNICAST solutions.
Why do I even waste me time reading Slashdot comments....
You may want to look into a company called Altiris. (www.altiris.com) They are adding new Mac features to their already robust management toolset all the time. Even though they may not specifically mention mac imaging support I'm fairly sure I've heard of Mac users successfully using Altiris to image their machines. The company is definatly worth a look as their support for educational institutions got them where they are today.