Operating System - HP-UX
1847902 Members
3928 Online
104021 Solutions
New Discussion

Re: Clonning an HP K server

 
Mark2010_1
Frequent Advisor

Clonning an HP K server

Hello,

We have a K server with disks HP Jamaica. This server is running some applications and Oracle DB and X25 links

We need to clone this server for some reasons and would be happy to have from you:

- Any advise
- Any help or tips
- Best scenario

I have a lack on how to clone the VG from the first server to second one.

Kind Regards
10 REPLIES 10
Luk Vandenbussche
Honored Contributor

Re: Clonning an HP K server

Take an ignite backup to a tape.

Restore the ignite tape on the other server

http://www.docs.hp.com/en/IUX/index.html
Mark2010_1
Frequent Advisor

Re: Clonning an HP K server

Hi Luk,

Thanks for the answer, But what about:

- The system structure: volume groups, partitions, file systems etc ?

- What about applications + Database + software ?

BR
Luk Vandenbussche
Honored Contributor

Re: Clonning an HP K server

Mark,

You create an ignite tape from only the vg00.
The other filesystems (other volumegroups) must be backupped and restore via another tool (fe fbackup)
Mark2010_1
Frequent Advisor

Re: Clonning an HP K server

Hi Luk,

I agree with, I need an ignite for vg00 and a tar/fbckup for the rest.

But Do I need to create manually the volume groups (for exemple vgdb, vgdata, vg00 etc..) on the second server or is this done by the restore itself ?

I have another question, is there a link to check compatibility matrix for HP K server in terms of hardware: CPU ?, Disks ? Disks Aray ?, LAN ? X25 cards ? etc. cause I am re-using some spare HW we have here.

BR
Steven E. Protter
Exalted Contributor

Re: Clonning an HP K server

Shalom,

If you want a clean copy of the oracle database, the database must be down, e.g. a clean, cold backup.

Ignite is good at the system but has no ability to back up open databases.

Best scenario is make_tape_recovery to tape, boot the clone system off tape and rebuild it with a new hostname and ip address.


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
Mark2010_1
Frequent Advisor

Re: Clonning an HP K server

Hi SEP,

but make_tape_recovery is just for ignite i.e vg00.

What about the other VG: vgdb, vgdata etc.

BR
DCE
Honored Contributor

Re: Clonning an HP K server



Mark,

You will have to manually recreate the VG structure on the non vg00 disks.

We do this this all the time at DR tests. The steps are:
1. Ignite the new server to restore vg00
2. Create the vg01, vg02, ... LVM structure (including logical volumes)
3. restore the data from tape
Fabian Briseño
Esteemed Contributor

Re: Clonning an HP K server

Do an ignite backup of vg00

for oracle and other apps you would need to create vg's and lvols nad back them up with fbackp or dataprotector and then restore them.


Knowledge is power.
Mark2010_1
Frequent Advisor

Re: Clonning an HP K server

Hi DCE,

Thanks for the feedback. My you help on the steps to Create the vg01, vg02, ... LVM structure (including logical volumes).

The OS is HP 10.20

Thanks in advance
DCE
Honored Contributor

Re: Clonning an HP K server



If you are unfamiliar with the following commands to create VG's and LV's
pvcreate
vgcreate
vgextend
lvcreate
lvextend

You can get info on them via their man pages

Also ( I know that some in this forum look down at it) you can use SAM to create them. It is menu driven, and walks you through all of the necessary steps