Operating System - HP-UX
1834483 Members
3436 Online
110067 Solutions
New Discussion

Cloning a server with make_tape_recovery

 
SOLVED
Go to solution
Mark2010_1
Frequent Advisor

Cloning a server with make_tape_recovery

Hi,

I have a source K server running HPUX10.20 with vg00 as bellow:
/ => 500 Mb
/stand => 60 Mb
/opt => 600 Mb
/opt/oracle => 720 Mb
/tmp => 100 Mb
/var => 400 Mb

I would like to clone this configuration with make_tape_recovery to another K server destination that is running HPUX 11.0. in order to have the destination server running HPUX 10.20 with same partitions.

I am not very familiar with LVM commands, so any help is welcome.

Just one more detail, vg00 has 2 mirrored disks: c0t15d0 and c3t15d0.

Any help plz.
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Cloning a server with make_tape_recovery

Shalom,

Simply boot the target system from the console .

sea

bo

Choose not to interact.

There is a prompt that permits you to change configuration by hitting a key. Hit a key when prompted and make changes.

I question the long term wisdom of replacing a system running 11.00 which is 7 months beyond end of support with an OS that is 4 years past end of support.

SEP
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
John Payne_2
Honored Contributor

Re: Cloning a server with make_tape_recovery

Ignite knows nothing about mirroring. Once you get doen with the install, you will have to reimplement the mirror.

Assuming /dev/dsk/c3t15d0 is the disk you haven't used yet:

pvcreate -f -B /dev/rdsk/c3t15d0

vgextend /dev/vg00 /dev/dsk/c3t15d0

mkboot /dev/rdsk/c3t15d0

mkboot -a "hpux -lq" /dev/rdsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t15d0

lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t15d0
Spoon!!!!
Prasanth Vattoly
Frequent Advisor

Re: Cloning a server with make_tape_recovery

If you want to clone the server.


1. Take ignite backup make_tape_recovery command ( use â A option )
2. put the tape in you server in which you want to clone
3. boot the server from tape
search for tape device in pdc with SEA
boot from tape and recover the OS to new box

The tape it seif restore every thing. You not required to any thing with LVM commands .

HDDs for vg00 should be physically install in system so the shoud detect as c0t15d0 and c3t15d0.
prasanth.v.a
Mark2010_1
Frequent Advisor

Re: Cloning a server with make_tape_recovery

Hi,

So, the boot + restore will restore the file system on VG00

But what about mirrored disks: c0t15d0 and c3t15d0.

Do I need to mirror them ?

BR
Mark2010_1
Frequent Advisor

Re: Cloning a server with make_tape_recovery

Hi,

SEP, I agree with you but we have some old non-ported applications :-(.

I am more oriented app layer and trying to clone this machine for some upg.

the boot + restore will restore the file system on VG00

But what about mirrored disks: c0t15d0 and c3t15d0.

Do I need to mirror them or the make_tape_recovery will arrange it?

BR
Mark2010_1
Frequent Advisor

Re: Cloning a server with make_tape_recovery

Thanks Guys, I was miss-understanding.

I will create the vg00 on the clone with only one disk c0t15d0 and then follow John way to add the mirror c3t15d0

BR