1822469 Members
2485 Online
109642 Solutions
New Discussion юеВ

OS clone

 
Robert Currey
Occasional Contributor

OS clone

Hi,

I have an HP j5000 machine with an external drive array (A3312A) running 11.0 (capacity 9.1gb). this machine also has an internal 9.1gb drive running 11i.

The external drives are becoming unstable, so I need to migrate that system to a new internal 36gb drive. I need to preserve the 11.0 environment since it has many man-hours of conifg already done (aCC patched up to use as our development platform, gnu tools, etc).

The new internal drive is recognized by the system, but I'm unsure of the best steps to clone the system from the 9.1 array into this new drive.

I'm not especially hpux savvy (general unix, yes), so any pointers someone can provide would be appreciated.

Thanks

Rob
I can tell you where to go today ...
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: OS clone

Hi Rob:

Start by downloading a current copy of 'Ignite':

http://www.software.hp.com/products/IUX/download.html

Create a recovery tape thusly:

# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

When ready, replace your 9GB drive with the 36GB drive and boot from the Ignite tape. Choose the "Advanced Installation" mode. This will allow you to resize your vg00 filesystems.

The 'make_tape_recovery' used to create the tape will have done a 'vgexport' in a preview mode so that when you boot from the recovery tape your non-vg00 volume groups will be (vg)imported. When done with the Ignite process you should have a fully functional clone of your original system.

Regards!

...JRF...

A. Clay Stephenson
Acclaimed Contributor

Re: OS clone

The best solution for you is to do a make_tape_recovery and use the tape to Ignite a new system on the 36GB disk. Ignite will preserve all of your environment and patches.
If it ain't broke, I can fix that.
Robert Currey
Occasional Contributor

Re: OS clone

Thanks all ...

I'm reading up on ignite at the moment ... One more question

Any forseen problems if I use make_net_recovery (I don't have a tape drive on this system).

Thanks

Rob
I can tell you where to go today ...
doug mielke
Respected Contributor

Re: OS clone

Just in case you're using Samba / CIFS.
Ignite/Make_recovery won't back these up. You'll need to unmount then first.
John Bolene
Honored Contributor

Re: OS clone

make_net_recovery requires space on the other machine and nfs access, it also must be on the same subnet as it will not cross a router unless you have setup an ignite helper system
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Alzhy
Honored Contributor

Re: OS clone

Hey Ignite Gurus..

Is network "igniting" supported on FDDI? I am inheriting a couple of N-Class that are on FDDI rings.. (same subnet I think...)
Hakuna Matata.
Robert Currey
Occasional Contributor

Re: OS clone

Hi all,

Thanks all to the pointer regarding Ignite, I've managed to get one HD migrated to another.

I think Ignite is extremely powerful, and am considering putting it to use in a regular fashion (monthly or weekly HD "backups"). Since I don't routinely have tape drives (and HD's are cheap enough nowadays), one suggestion I would have to the Ignite developers would be to add a "make_hd_recovery" script (it appears that make_tape_recovery is close, but fails if the device is a hd since it isn't "rewindable").

Just to give back, I've attached the steps I went through to make an install onto an HD (this is based from Customized_Install_Media_Paper.pdf).

I can tell you where to go today ...