Operating System - HP-UX
1838595 Members
4122 Online
110128 Solutions
New Discussion

upgrade from 11.23 to 11.31

 
Srimalik
Valued Contributor

upgrade from 11.23 to 11.31

I have never done a OS upgrade and
I am yet to read the docs and test to practically find out the answer.

We have a 11.23 installation and some third party packages installed on it, the packages are created on only for 11.23 and are not ment for 11.31.

What will happen to the packages when I upgrade this machine to 11.31...will they reamin installed on 11.31 as 11.23 binaries are supported on 11.31 or they will be removed and I have to install the 11.31 version of the packages in question?

Thanks
Sri
abandon all hope, ye who enter here..
13 REPLIES 13
Ramesh S
Esteemed Contributor

Re: upgrade from 11.23 to 11.31

Hi Srikrishnan

If the host is part of the cluster, then you need to go for rolling upgrade process.

Please go through the below link:

http://docs.hp.com/en/B3936-90122/B3936-90122.pdf

Go to Rolling Upgrade

Thanks & Regards

Ramesh

Dennis Handly
Acclaimed Contributor

Re: upgrade from 11.23 to 11.31

By packages are you talking about third party software products? Or Serviceguard?

If the former, if you use update-ux, the software would probably be left on the system.
You would have to talk to your third party to see if they would be supported on 11.31.
Srimalik
Valued Contributor

Re: upgrade from 11.23 to 11.31

Dennis,

will the packages remain on system even if the packages are not ment to be installed on 11.31.

I am not worried about support(I am the package creater and I am the only user, but have lost the depot and source code) I am concerned about the existence of binaries on the system after the upgrade.

I am sure that the binaries will work on 11.31 if they are left as it is during the upgrade.

If this will not happen I am afraid that I have to copy all the files and repackage them for 11.31.

Thanks
Sri


abandon all hope, ye who enter here..
Geoff Wild
Honored Contributor

Re: upgrade from 11.23 to 11.31

Yes - anything that is NON OS related will remain.

Whether it works or not is another thing.

Talk to your vendors - make sure their apps are supported on 11.31 and if yes, ask if there is anything you need to do when you upgrade the OS.


Example - for Oracle, you need to re-link the binaries.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Dennis Handly
Acclaimed Contributor

Re: upgrade from 11.23 to 11.31

>will the packages remain on system even if the packages are not meant to be installed on 11.31? I am not worried about support(I am the package creator

Did you include a specific OS version when you created it? If not, it should leave it.

>I am concerned about the existence of binaries on the system after the upgrade.

You should be more concerned that upgrade-ux will even work. (Look for other threads about this.)
Steven E. Protter
Exalted Contributor

Re: upgrade from 11.23 to 11.31

Shalom Sri,

Most third party application vendors do not support this upgrade methodology. You should check with support before proceeding.

Other items:
1) Do an Ignite make_tape_recovery or make_net_recovery before proceeding so you can restore the system to a start point.
2) Consider supported methdology including a cold 11.31 OS install followed by supported reinstallation of binaries and migration of data.
3) Take note that the success rate of upgrade-ux drops with the complexity of the system being upgraded.

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
Srimalik
Valued Contributor

Re: upgrade from 11.23 to 11.31

>Did you include a specific OS version when you created it? If not, it should leave it.

If you were talking about the os_version tag it is "*" in the INDEX file kept in /var/adm/sw/products/Exputils/

I will backup the files on another system and try an upgrade tomorrow. If they remain after the upgrade ..Its cool..else I will repackage and install again.

Thanks
Sri
abandon all hope, ye who enter here..
Dennis Handly
Acclaimed Contributor

Re: upgrade from 11.23 to 11.31

>If you were talking about the os_version tag it is "*"

Yes. So that wouldn't cause your SD products to be rejected.
Armin Kunaschik
Esteemed Contributor

Re: upgrade from 11.23 to 11.31

The last thing I saw in my environment:
update-ux works on standard installations but sometimes throws away your LVM configuration for SAN disks.

Be sure to keep every VG configuration files at a save place in case you need them later:
# vgexport -s -p -m -f volume_group
# ls -l /dev/*/group

Afterwards recreate the VG either in legacy or agile mode (see vgimport(1m) for new syntax!).

My 2 cents,
Armin
And now for something completely different...
Bill Hassell
Honored Contributor

Re: upgrade from 11.23 to 11.31

> have lost the depot and source code

The update process will leave the binaries alone as long as the installed software info in /var/adm/sw shows the package as compatible with 11.31. Otherwise, there is a possibility that everything in the package will be removed. To be safe, list the contents of the package:

swlist -l file YourPackageName

then copy all these files into a tar backup (maybe two copies if this is all there is) and also verify the tar backup with -tv option. Then after the update, check that the files are still there, and restore if necessary.

As far as binary compatibility, executables should be forward compatible to 11.31 as long as the code is fairly standard. In that case, all you can do is to try -- hopefully on a test machine.


Bill Hassell, sysadmin
Srimalik
Valued Contributor

Re: upgrade from 11.23 to 11.31

Thanks for your answers and advises, I try this on a test machine sometime this week and post the results.
abandon all hope, ye who enter here..
Srimalik
Valued Contributor

Re: upgrade from 11.23 to 11.31

The package was retained after the upgrade.
Thanks for the replies
abandon all hope, ye who enter here..
Srimalik
Valued Contributor

Re: upgrade from 11.23 to 11.31

Closing this thread.
See earlier replies for solution.
abandon all hope, ye who enter here..