Operating System - HP-UX
1833786 Members
1987 Online
110063 Solutions
New Discussion

replicating a 10.20 server (I repeat 10.20)

 
SOLVED
Go to solution
Adam Noble
Super Advisor

replicating a 10.20 server (I repeat 10.20)

I would be grateful for any advice on this one. I have a 10.20 server that we need to migrate onto alternate hardware, for a very short period of time, due to resiliency issues.

The problem I have is the server is ancient and does not have LVM, therefore ignite is a no go. I intend to install from the 10.20 media and install neccesary software. I am aware of the standard excludes on the graph file but can I confirm that by excluding /var/adm/sw this will ensure that the new software installs are untouched.
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: replicating a 10.20 server (I repeat 10.20)

This is a tough one. First steps are easy, install 10.20 clean on new hardware, remake all non Vg00 VG'a and dump/reload your data onto the new server.

However, the problem comes from any apps installed which go into /opt or /usr or /var. Some 3rd party apps do. You cant just copy over all of /var, /opt, /usr from the old server to the new (patches/os software/libraries will be different from new hardware and new install cd). You need to identify if any apps are installed in these dirs and isolate their directory structures (eg. Netback uses /opt/openv), some apps may use a dir in /opt, another in /var and /etc so you need to be careful checking for each app. Once youve identified any and all their directory trees you can copy them over individually. Hopefully you wont have this problem an all apps are installed into a non Vg00 VG.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Adam Noble
Super Advisor

Re: replicating a 10.20 server (I repeat 10.20)

Thanks Stefan sounds like I need to take a close look at the data on the system.
John Palmer
Honored Contributor

Re: replicating a 10.20 server (I repeat 10.20)

What sort of hardware are we talking about? I'd be looking to clone the old onto the new server. The fact that it doesn't have LVM isn't really an issue.

Regards,
John
Adam Noble
Super Advisor

Re: replicating a 10.20 server (I repeat 10.20)

John it is an old B class workstation going to a J200 server, please don't laugh both out of support. Very short term measure. I assume you are suggesting simply restoring all data.
Pete Randall
Outstanding Contributor

Re: replicating a 10.20 server (I repeat 10.20)

Along Stefan's line of thinking:

I've done this several times in the past - installed clean, used backup tapes to restore any 3rd party apps no matter where they lived, copied over all my local configuration files (I've attached the script I use - you can use it for reference). It's not really all that difficult. You just need to make sure you identify *all* the things that need to be brought along from the old machine!


Pete

Pete
Bernhard Mueller
Honored Contributor

Re: replicating a 10.20 server (I repeat 10.20)

I think the problme is that you server uses a whole disk layout and you newer disks are larger. Or could you actually *totally exclude* LVM from HP-UX 10.20???

Assuming I am right there is a suggestion:

Use an ignite server to backup this machine (old_client).

Add another new_client with LVM disk layout.

For the old_client edit /var/opt/ignite/OLD_client/recovery/latest/system_cfg file to include a "Disk and Filesystems" section similar to what the system_cfg for new_client says (i.e. LVM layout and make sure it matches for lvol sizes/filesystem sizes, see bdf of old_client)

you may also want to change IP adress etc in this system_cfg

Copy this config for the machine you want to clone.

Recover (clone) with changed config (LVM layout instead of whole disk) and originally archived files!

Regards,
Bernhard