Operating System - HP-UX
1833704 Members
2960 Online
110062 Solutions
New Discussion

Re: Upgrading From 10.20 to 11.00

 
IRI Unix Support Team
Occasional Contributor

Upgrading From 10.20 to 11.00

I am tyring upgrade the OS from 10.20 to 11.00 (model d370), it goes through installing about 23 filesets and try to do a kernal build and it fails with this error:

******************************
Compiling /stand/build/conf.c...
cpp: "/usr/conf/space.h.d/../h/../h/../h/../h/mp.h", line 20: error 4036: Can't open include file '../h/netstatistic.h'.
cpp: "/usr/conf/space.h.d/core-hpux.h", line 26: error 4036: Can't open include file '../h/crashconf.h'.
cpp: "/usr/conf/space.h.d/core-hpux.h", line 435: error 4036: Can't open include file '../h/mod_obj.h'.
cpp: "/usr/conf/space.h.d/../h/map.h", line 48: warning 2001: Redefinition of macro NSYSMAP.
cpp: "/usr/conf/space.h.d/core-hpux.h", line 758: warning 2001: Redefinition of macro NCSIZE.
cpp: "/stand/build/conf.c", line 27: error 4036: Can't open include file '/usr/conf/h/mod_conf.h'.
cpp: "/stand/build/conf.c", line 28: error 4036: Can't open include file '/usr/conf/h/mod_k.h'.
*** Error exit code 1

Stop.
make failure.
ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild
the kernel, has failed. Because kernel-related filesets were
installed, this command must be executed by "swinstall",
without failures, before the load can continue. Check the
above output for details about the failure.
NOTE: The Install Phase has suspended. Check the above output

************************************


Any idea how I can reslove this?
14 REPLIES 14
Helen French
Honored Contributor

Re: Upgrading From 10.20 to 11.00

I would suggest you to do a cold install instead of ann upgrade. This will help you a lot and will save lot of your time. You can keep a snapshot of all your configurations and export the data VGs. Once installed, you can import them back and configure again.
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: Upgrading From 10.20 to 11.00

Shiju is absolutely right, the 10.20 to 11.0 upgrade process was a bear. You'll have much better luck doing a cold install, vgimporting your non vg00 volume groups, and restoring and necessary vg00 files.

Pete

Pete
IRI Unix Support Team
Occasional Contributor

Re: Upgrading From 10.20 to 11.00

This server is a NIS host and print server, plus it has lot of custom buit apps that has hooks got knows where in vg00. So I am trying to upgrade stright to 11.00 or 11i so that I won't lose anything.
Thomas J. Harrold
Trusted Contributor

Re: Upgrading From 10.20 to 11.00

Can you build a kernel prior to the upgrade?
Be careful, IRI, you could spend more time troubleshooting problems with the upgrade procedure than you would if you just did the cold install, and ported your applications.

Besides, it's a good idea to have a handle on where your apps reside. Consider putting any custom code in a separate directory. (rather than in /usr/local/bin, for example)

-tjh
I learn something new everyday. (usually because I break something new everyday)
Jeff Schussele
Honored Contributor

Re: Upgrading From 10.20 to 11.00

Well, if you've got a couple of days to waste & you can afford the downtime, then by all means upgrade.

I know of absolutely noone who's been able to complete a 10.2 -> 11 upgrade w/o multiple errors. About the shortest I've heard it being done from start to finish was 1 - 1/2 days of solid work.

Make 2 make_recovery tapes, vgexport all non-vg00 VGs & store them on another server, create NIS file backups on another host and use those resources to pull the data & config back after a cold install.

We use an in-house script that pulls all the important & relevant info off a system & then tar/gzip it to be stored on another system & then pulled back to reapply after the install.

Using this method we can start in the AM & have it right back where we want it before COB that day.

But it's your system & your call.

Good Luck,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
John J Read
Frequent Advisor

Re: Upgrading From 10.20 to 11.00

Good old sls/slsb, eh? Sorry everyone, inside joke. I used to have the sad pleasure of administering these clunkers.

Here's an idea: Install clean 11i, then restore via Netbackup( without overwriting existing files ) onto vg00. That may get your print definitions and the custom apps. Not sure if they will function but the files will be there. I would try that on an isolated test box. Make an ignite and recover onto it, then restore the original servers data on top. Worth a try if you have a spare D box.
Martin Johnson
Honored Contributor

Re: Upgrading From 10.20 to 11.00

I have done 4 upgrades from 10.20 to 11.0. None of them was successful the first time. In fact, I started the first one on a Labor Day weekend (first weekend in September) and did not complete the last one until the end of the following January!

When the upgrade was successful, it took 26 to 28 hours to complete!

The biggest problem I had was about 8 hours into the upgrade, the system disk became unbootable. The system had to be recovered from backup.

The problem was that although I had the patches installed on 10.20 to fix the problem and I installed the 11.0 versions to fix the problem, an install of Mirroring installs a new version of LVM, which does not contain the needed patches. The solution was to reinstall all the LVM patches, immediately after installing Mirroring.

I strongly advise to do a cold install and migrate your apps. It will be far less painful and time consuming.

HTH
Marty
Michael Steele_2
Honored Contributor

Re: Upgrading From 10.20 to 11.00

I also hated the 10.20 to 11.00 upgrade. For after attempting and upgrade on both D and K class servers and after failing twice on each I performed a cold install and saved myself an unbelievable amount of time and grief. The cold install took a fraction of the amount of time I wasted on the upgrades, and certainly was ALOT LESS UN-NERVING. Watching all of those errors go by during the upgrade is very un-settling.
Support Fatherhood - Stop Family Law

Re: Upgrading From 10.20 to 11.00

SRI Unix Support Team,

looks like you have valid reasons for choosing the upgrade over the cold install. Upgrades can be successful but requires some detail planning. I strongly suggest using some type of data collection tool, to put all your important system information into a one easy to read package, like this one it's free and easy to use http://cfg2html.port5.com/index.html. I also strongly suggest you check out the installation and update guide at www.docs.hp.com, http://www.docs.hp.com/hpux/onlinedocs/5187-1843/5187-1843.html

As for your kernel rebuild error, verify that you can rebuild the kernel before attempting the upgrade; also check for PHKL-16499 this patch causes kernel build failure. If PHKL_16499 is present then you can either remove it or install PHKL_18506 or a superceding patch from HP's IT Resource Center. Refer to the installation guide at www.docs.hp.com for information.

Keep in mind that HP offers upgrade assistance, for more information on these and more services place call with the Response Center at 1-800-633-3600 or contact Remote Engineer Services directly at 1-888-376-4737.


Good luck,

Everett
Jon Finley
Honored Contributor

Re: Upgrading From 10.20 to 11.00

I seem to remember that HP recommended that the SD-UX tools be updated, then all installed patched be removed prior to upgrading from 10.20 to 11.00.

http://docs.hp.com/hpux/pdf/B2355-90153.pdf

I've done successful upgrades, but it sure was a LOT easier to do a cold install.

Jon
"Do or do not. There is no try!" - Yoda
Jon Finley
Honored Contributor

Re: Upgrading From 10.20 to 11.00

This was the other article I remember reading that assisted with upgrading:

http://docs.hp.com/hpux/pdf/B3782-90785.pdf

Jon
"Do or do not. There is no try!" - Yoda
Bill Hassell
Honored Contributor

Re: Upgrading From 10.20 to 11.00

 


Bill Hassell, sysadmin
Herbert Lindberg_1
New Member

Re: Upgrading From 10.20 to 11.00

Dude, give up. it is a futile effort. I would let it fail, and then blame Carlos.
TwoProc
Honored Contributor

Re: Upgrading From 10.20 to 11.00

I'm with the guys that recommend a cold install. Easiest (and safest) way is to get a whole 'nother disk and install your new OS to there, then boot from your new disk. You can then vgimport all of the disks that you vgexported from the old root system. What I did was to use vgexport -p (psuedo mode). This allowed me to leave the volume groups attached to both root disks of either flavor. It takes a little time, but this is really do-able within a day or so. Allocate more time at the end to patch up the OS.
We are the people our parents warned us about --Jimmy Buffett