Operating System - HP-UX
1826190 Members
2407 Online
109691 Solutions
New Discussion

Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

 
Leon Shen
Frequent Advisor

Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

Hi All,

currently i have a customer planning to migrate d350 server running hpux10.2 to rp2470 running hpux11i. Since it is more than 1 level upgrade, are there any problems that I should be aware of before I start? Also, i have some queries regarding this:-

1) Any important system files need to backup such as /etc/...?

2) After new OS and patch installed, which system files eg /etc/group... need to copy to new server?

3) Currently on exiting server, customer backup their in-house apps and data to DDS-1 tape drive using DDS-2 tape. Is there any issue when restoring the apps and data to new server that attached to DDS-4 tape drive?

4) Currently UPS model Power Trust A2996A is connected to D350 server. Can this UPS support both D350 and rp2470? if not, can this UPS suppport rp2470 alone?

5) Currently the D350 is configure with a network printer? Any particular files and directories need to port over to the new server?

Thanks You Very Much and Have a Wonderful New Year.

Best Regards,
Leon


6 REPLIES 6
Thierry Poels_1
Honored Contributor

Re: Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

hi,

1) depends on your installation, but /etc is a good place to look for config files, but so is /etc/rc.config.d, /opt/ssh/etc and all other settings in /opt, ...

2) again depends on your installtion

3) should be OK, but sloooooowwww. Use DDS-2 for double speed.

4) I doubt that the UPS will cover both systems. You probably survive short power cuts but may not have enough time to shutdown both systems properly if power is not reestablished.
Second the D350 is an old system, how about the UPS? Has it been tested recently? Batteries age!

5) One network printer? Create it manually on the new server.
100 network printers? Search on hp.com for a script to migrate printers to another server.

best regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Matthew F. Carr
Occasional Advisor

Re: Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

Hi Leon. The first thing you should confirm is that the application currently running on the 10.20 system can run on the HPUX 11.i successfully. You may have problems otherwise. I hope the application people have support for their app as you could run into some funky problems.

Before you do anything, make sure you have at least one good ignite tape in case it really hits the fan.

If the server is trusted in 10.20, you may want to consider untrusting it as this will make your passwd and group migration alot easier. HP has a documented procedure for doing this in the ITRC.

I have found you will run into the fewest problems with a migration like this if you just stick to the basics. ie: copy as little as you possibly can. For instance, if your application is running on EMC disk or some external array and it can be safely separated from the OS level stuff, do it that way (mask the disks over to the new box or move the jamaica array or whatever it takes). Hopefully the application is in a separate VG and you can just move that stuff presuming they installed everything outside of vg00.

I didn't even think a DDS2 tape would work on a DDS drive first off (I know the reverse will work). As Theirry said, its going to be slow...can you NFS mount perhaps? Or do the LUN masking that I suggessted if possible.

Agree with Theirry about the printers. If you have special configurations for other languages or something, copy the appropriate file in /etc/lp/interface/model.orig/ after you set up the printer manually. Shutdown the spooler, delete /var/spool/lp/SCHEDLOCK and FIFO, then start up the lpsched again.

No idea about the UPS, sorry.

-Matt
Ted Buis
Honored Contributor

Re: Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

First, use the Software Transition Kit to check for issues. http://devresource.hp.com/drc/STK/index.jsp

Second, you need to check the quick specs for DDS-4 to make sure it can read DDS-1 tapes. I'm not sure if your DDS-1 drive can even uses DDS-2 tapes, but if it can, it will still only write DDS-1 format.
"This DDS-4 tape drive stores 40 GB of compressed data on a single cartridge at a rate of 21.6 GB/hr (assuming 2:1 data compression). It reads and writes DDS-4, DDS-3, and DDS-2 formats, with the added bonus of reading DDS-1 90m tapes as well"

The D350 needs 990VA for UPS sizing (8.6A @120VAC or 4.3A@208-240VAC).

The rp2470 needs 400VA at 440MHz or 600VA at 550MHz. (2.2A@200VAC), so regardless, you will need a larger UPS because the A2996A is only good for 1300VA.

Contact your HP rep for larger UPS, or use an A2997A (1800VA) if you have one.
Mom 6
Ted Buis
Honored Contributor

Re: Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

Actually, the information I gave was really for the rp2450, the rp2470 consumes slightly less power, but depends on whether it is 650 or 750MHz, with power consumption at 350 or 400 Watts respectively. (1.3A or 1.4A @200VAC) Still, it shows 600VA or UPS sizing.
Mom 6
Paul Torp
Regular Advisor

Re: Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

Take copy of all "/etc" (/rc.config.d/)
and especially /etc/ssh*,sendmail.cf, inetd.conf, inetd.sec, netdaemons, services ,netconf, hosts, passwd, group, fstab.. backup routines cronjobs for all users, resolv.conf, nsswitch.conf + Ntp-setup.

And for gods-sake... make a vgexport -p -v -s -m vgname.map vgname for ALL existing volumegroups. Store it away to another server on the network.

and copy it back when done.


Look at the other replies for printers and stuff.
-paul
"sendmail is kind of fun..."
Tony Drake_2
Frequent Advisor

Re: Urgent: Migrate hpux10.2 (32-bits) OS + data to hpux11i (64-bits)

I've done some of these types of migrations and the best advice I can offer is to do it slowly and carefully.

You mentioned "in house apps". If you have any custom compiled code (C, C++, etc) it will need to be recompiled on the new platform. Going from 10.2 to 11.11 is a huge difference, and some of the code may not recompile or may need to be rewritten. Some apps may not have versions for the new OS.

The second thing to watch for is interdependencies. We had an instance at one client I worked with where the application required oracle 7.x and would not work with anything higher, even if recompiled. Very likely that databases will need to be upgraded to later versions.

Now as far as copying over files, what I reccomend is doing them on a one by one basis, not on a directory by directory basis. The reason is that with only a few exceptions (like etc/passwd or /etc/group) the files aren't always backward compatible. I find it is better to start with the bare OS files, and edit them to make changes rather than copying older files.

Printer configuration can be done in SAM. just write down the printer info from the old server, then go to the new server and use SAM to configure a network printer. I don't reccomend copying printer config files between systems.

hope it helps.