Operating System - HP-UX
1834803 Members
2270 Online
110070 Solutions
New Discussion

Quickest way to repave a bunch of machines

 
SOLVED
Go to solution
Kevin M. Davisson
Occasional Advisor

Quickest way to repave a bunch of machines

My company is donating @30 C160, C200, & C240's to a college. Policy is to wipe all company info from the hard drives, so I'd like to repave them all with fresh bootable O/S (ready to prompt for language & network info - trying to be a nice guy). Machines are all in a pile & I don't want to take time to setup & boot them up individually to ignite - is there a quicker way to clone the disks? "dd" perhaps?
11 REPLIES 11
Patrick Wallek
Honored Contributor

Re: Quickest way to repave a bunch of machines

I can't think of anything that would be much quicker than an Ignite golden image.
Pete Randall
Outstanding Contributor

Re: Quickest way to repave a bunch of machines

With dd, you're going to end up with identical configurations: IP address, hostname, MAC address, that sort of thing. This could prove to be problematic for the recipient unless you correct each one.

Pete

Pete
Ken Hubnik_2
Honored Contributor

Re: Quickest way to repave a bunch of machines

I agree with Patrick I think igniting would be the quickest and cleanest way to clone.
Paul Sperry
Honored Contributor

Re: Quickest way to repave a bunch of machines

One word
Ignite
Kevin M. Davisson
Occasional Advisor

Re: Quickest way to repave a bunch of machines

Sorry I wasn't clear - no network to Ignite server and I'm not planning on hauling them all across campus. I've cold-installed the first with networking set to "ask at first boot". Is "dd still a bad way? Should I make a recovery tape and just keep swapping in disks and building from tape?
Ken Hubnik_2
Honored Contributor

Re: Quickest way to repave a bunch of machines

You have to use media to ignite.
Ian Dennison_1
Honored Contributor

Re: Quickest way to repave a bunch of machines

How IT-savvy are the college? Give them 1 working server, one Ignite tape and wave them on their way?

Alternatively if the disks are hot-swappable / easily removable,...

Power up 2 machines networked
Configure 1 as an Ignite Server, take a snapshot of the primary OS onto Disk.
Boot Machine 2 from a basic tape
Pull/push the ignite image to the Machine 2
Power down machine 2, swap hard drive, repeat 28 more times.

Don't you have operators that would like Ignite training?

Share and Enjoy! Ian
Building a dumber user
Patrick Wallek
Honored Contributor
Solution

Re: Quickest way to repave a bunch of machines

Do all the machines have a tape drive? If so you can make a make_tape_recovery tape or 2 and boot them from tape.

The problem with moving disks around between machines is that there is guarantee that the disk path is going to be the same on every machine. Thus, a boot disk created on machine A is not guaranteed to work on machine B.

If the machines don't have an internal tape drive do you have an external you could attach so you can boot from tape?
Kevin M. Davisson
Occasional Advisor

Re: Quickest way to repave a bunch of machines

Sounds like the most straightforward solution to guarantee the drives are wiped before leaving our site. I've got some external tape drives. I'll make_tape_recovery from the first, then attach to each machine in turn, boot, recover, and move on. Too bad I'm a one-man show here - even with two tape drives going this will take a while...
Laurie Gellatly
Honored Contributor

Re: Quickest way to repave a bunch of machines

Once you've made the tape (shouldn't take too
long) then its only a couple of minutes to
configure each machine and the rest of the
recovery can be left to happen while you do
other things. As you suggest, its easier to
do with a common portable tape if they
don't have common tape media.

...Laurie :{)
If you're not using OverTime, you're doing overtime!
Steven E. Protter
Exalted Contributor

Re: Quickest way to repave a bunch of machines

If you don't care about laying down an OS, you can pvcreate -f /dev/rdsk/c#t#d# all of the disks.

Deliver them with the latest media and let the college handle the install themselves.

Last current license probably comes with the systems and if the college wants to upgrade they can buy their own software support contract.

If the imperitive if delivering a bootable OS and no media, you can't do it my way, if you simply want to makes sure your data is gone the pvcreate and maybe a mediainit will do the job.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com