- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Upgrading from HP-UX 10.20 to 11.x
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 12:04 PM
11-08-2000 12:04 PM
I know there have been many threads on this in the past as I have read many of them but I was wondering if anyone who has done a successful upgrade has any kind of checklist put together on the steps taken.
I am looking to see if there is any step by step procedure for completing successfully such a task?
There are many steps which I imagine will be involved in this activity such as:-
1) Analysis of each of the Systems as well as Environment
2) Impact???
3) Method??? I have heard of two major ways of accomplishing this task. The first is to upgrade the current OS ( not sure what the steps are or what is involved but I have heard of individuals in the HP Forums having problems with this method ). The second is to do a Cold Install of HP-UX 11.x ( This I imagine would be a lot of work as well as you would have to re-install the apps and recover all the data ). It seems from what I've read in the Forum that the second method of a Cold install is the preferred method. What are your thoughts on this? Which method have you completed successfully in the past.
4) Planning???
5) Oracle & other major Applications on the box ( Omniback, Autosys, MirrorDisk.....)
6) Other Utilities
7) Patches for HP-UX 11???
8) Recovery???
9) Firmware Upgrade???
10) EMC issues???
Any help with some sort of logical procedure would be greatly appreciated...
Thanks
S Aldrich
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 12:21 PM
11-08-2000 12:21 PM
Re: Upgrading from HP-UX 10.20 to 11.x
I haven't met an HP-UX administrator yet that prefers the upgrade approach over the cold install. The way I do this is a follows:
1. Identify all root filesysems and files (like /etc/services, ntp.cont, etc.. that will need to be restored.
2. backup everything on the system
3. vgexport all non-root volume groups
4. Cold install the OS, and install any patches.
5. Configure the new OS - IP addresses, restore saved files like /etc/services, NTP,
resolv.conf, etc.
6. vgimport all non-root volume groups
Done.
The critical work here is identifying the root files and filesystems that need to be preserved from the root volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 12:35 PM
11-08-2000 12:35 PM
Re: Upgrading from HP-UX 10.20 to 11.x
I forgot something,
You will have to get new codewords for applications like mirror-ux, gpm, OJFS etc. and re-install these after the new OS is configured. Don't forget to save files in /sbin/init.d, and /etc/rc.config.d. I don't think I have left anything else out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 12:38 PM
11-08-2000 12:38 PM
Re: Upgrading from HP-UX 10.20 to 11.x
Once you do the cold install of HP-UX 11.x could you not restore almost all of the main components of the root filesysems and files (like /etc/services, /etc/hosts, /etc/fstab, /etc/lvmtab....etc). That way applications such as Omniback, Autosys, Oracle and so on will not fail...
Please let me know what you think...
Thanks,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 12:49 PM
11-08-2000 12:49 PM
Re: Upgrading from HP-UX 10.20 to 11.x
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 12:51 PM
11-08-2000 12:51 PM
Re: Upgrading from HP-UX 10.20 to 11.x
Once you do the cold install of HP-UX 11.x could
you not restore almost all of the main
components of the root filesysems and files (like
/etc/services, /etc/hosts, /etc/fstab,
/etc/lvmtab....etc). That way applications such as
Omniback, Autosys, Oracle and so on will not
fail...
Please let me know what you think...
Thanks,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 01:11 PM
11-08-2000 01:11 PM
Re: Upgrading from HP-UX 10.20 to 11.x
You cannot "restore" Omniback/oracle or any other application directly as is - you would have to install them with (but after installation you can restore any configurations that you may have saved.)
The filesystems are essentially the same but some files are placed differently eg. /etc/ftpusers (HPUX 10.20) /etc/ftpd/ftpusers (HPUX 11.0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2000 01:58 PM
11-08-2000 01:58 PM
Re: Upgrading from HP-UX 10.20 to 11.x
Two general comments:
1. As part of a good insurance policy, I would make an Ignite make_recovery tape of your system before you start your 10-to-11 transition.
2. Make sure you have the required minimum PDC revision and minimum firmware revision installed for your processor.
If you have the Diagnostic Support Tools installed, you can obtain the values by doing the following:
# ioscan -fn -C processor
# echo "sel path 32;info;wait;infolog"|cstm > /tmp/infolog
The above assumes that the hardware path of the processor in question was "32" as returned by ioscan.
Match the PDC and firmware values to the table found in chapter-2 of "Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0":
http://docs.hp.com/hpux/onlinedocs/B2355-90679/B2355-90679.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 05:56 AM
11-09-2000 05:56 AM
Re: Upgrading from HP-UX 10.20 to 11.x
Just a couple more questions after receiving your responses.
I know you mentioned that I would be able to restore most of the files that you have customized such as /etc/hosts /etc/services but not the volume group related files and not the device files because they may be enumerated different from 10.20.
What exactly do you mean by not the volume group related files and not the device files? Does that mean I would be able to restore /etc/fstab, /etc/mnttab...etc? Any further examples would be great....
You also mentioned that I cannot restore Omniback, Oracle and other applications. Does this mean that I would have to re-install them completely and then just restore all of the configuration data for them?
Also I have one last questions. You mentioned about checking both the PDC and firmware values and matching them with the table in the upgrade manual. After this is checked if I find that these need to be upgraded where can I find the latest upgrades? Do these then need to be upgraded before I begin the upgrade procedure to 11.x?
Thanks for all your help and responses....
Definitely seems like there will be a lot of planning before this is started...
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 06:06 AM
11-09-2000 06:06 AM
Re: Upgrading from HP-UX 10.20 to 11.x
With regard to the PDC, if you need updates, place a call to HP Support and request a local engineer to refresh your firmware. This will mean downtime, for you, but it doesn't take but a few minutes. This is something I like to have done about once a year to keep current. Good Luck.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 07:57 AM
11-09-2000 07:57 AM
Solutionthe lvm information would have to be rebuilt because upon installation, you would not have any volume groups created and will have to create them before you start carving logical volumes/filesystems out of it.
Yes, you will have to re-install Omniback, Oracle and other applications and load up the configuration files (which usually stay the same). The proper way to put software on a system is to install - this is because files may not all be stored in the same directory structure, and there may be internal databases (eg. software like omniback need to be installed with swinstall)
...and in some cases, the software for 11.0 is completely different from 10.20.
Yes there is a lot of planning involved but once you have it all nailed down, you will be glad you planned ahead!
I have just been through a couple of upgrades, and it was a lot of fun because I had planned ahead.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 08:25 AM
11-09-2000 08:25 AM
Re: Upgrading from HP-UX 10.20 to 11.x
I guess having to rebuilt the whole lvm structure is a good thing in a way especially if you want all of your filesystem sizes larger as well changing things like the type from hfs ( which is what was set up before I got here ) to vxfs.
Do you know anything about HP Predictive Support? We have it installed & configured right now under 10.20? Does that mean that this will have to be obtained for 11.x, installed & re-configured? Can you just back it up under 10.20 and restore it once 11.x is installed? If not, does anyone know where I obtain it from?
Thanks for everyone's help...
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 08:34 AM
11-09-2000 08:34 AM
Re: Upgrading from HP-UX 10.20 to 11.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 08:34 AM
11-09-2000 08:34 AM
Re: Upgrading from HP-UX 10.20 to 11.x
Predictive Support, Support Tools (stm), etc. can be found on the current Support Plus CD. You will need to swinstall using
/cdrom/DIAGNOSTICS/B.11.00
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 08:41 AM
11-09-2000 08:41 AM
Re: Upgrading from HP-UX 10.20 to 11.x
Secondly install all the latest Patches for the existing 10.X. Why i am telling this is, because my upgrade from 10.20 to 11.00 failed because of Patches. Upgarde failed while Kernel rebuild and system crashed. I had to go back to 10.20 and install all patches and start upgrade again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 09:37 AM
11-09-2000 09:37 AM
Re: Upgrading from HP-UX 10.20 to 11.x
this is my way to upgrade :
1. find out all your applications (swlist, ...) uns configuration files
2. reorganize your LVM and filesystem layout, move all your non HP-UX applications and data (if possible) outside vg00
3. check your hardware and firmware (CPU,PDC,Eisa cards in D-class,...)
4. check your applications for HP-UX 11.x (32/64bit?)
5. check your CDs/depot (install CD, application CDs, newest patchbundle, Diagnostics, non HP-UX applications)
6. write down some configuration data (network, timeserver,...)
7. save configuration files (fstab,passwd,group,network,rc.config.d,rc?.d/*,/etc/*.conf,crontab,...)
and make some listings (ioscan -fn, vgdisplay -v, printer, ...), save also your mountpoint and symbolic link infos for non vg00 filesystems and dirs
create mapfiles of VGs
8. make_recovery -A
9. save this files and output seperatly to DDS or over LAN
10. save remaining non HP-UX data and /home
11. full backup
12. save your HP-UX 10.x HD (or mirror disk)
... and start
1. shutdown
2. replace hardware (if nessesary)
3. firmware upgrade (if nessesary)
4. boot with install CD (vg00 layout, network, ...)
5. install application, patchbundle, diagnostics, ...
6. kernelparameter, new kernel
7. modify passwd and group
8. create your VG's
9. import your VG's (with mapfile)
10. create your mountpoints
11. modify fstab
12. mountall
13. create symbolic links
14. configure your system with saved files
15. restore /home and remaining vg00 data
... and i hope you don't need the backups and saved disk
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 09:38 AM
11-09-2000 09:38 AM
Re: Upgrading from HP-UX 10.20 to 11.x
this is my way to upgrade :
1. find out all your applications (swlist, ...) uns configuration files
2. reorganize your LVM and filesystem layout, move all your non HP-UX applications and data (if possible) outside vg00
3. check your hardware and firmware (CPU,PDC,Eisa cards in D-class,...)
4. check your applications for HP-UX 11.x (32/64bit?)
5. check your CDs/depot (install CD, application CDs, newest patchbundle, Diagnostics, non HP-UX applications)
6. write down some configuration data (network, timeserver,...)
7. save configuration files (fstab,passwd,group,network,rc.config.d,rc?.d/*,/etc/*.conf,crontab,...)
and make some listings (ioscan -fn, vgdisplay -v, printer, ...), save also your mountpoint and symbolic link infos for non vg00 filesystems and dirs
create mapfiles of VGs
8. make_recovery -A
9. save this files and output seperatly to DDS or over LAN
10. save remaining non HP-UX data and /home
11. full backup
12. save your HP-UX 10.x HD (or mirror disk)
... and start
1. shutdown
2. replace hardware (if nessesary)
3. firmware upgrade (if nessesary)
4. boot with install CD (vg00 layout, network, ...)
5. install application, patchbundle, diagnostics, ...
6. kernelparameter, new kernel
7. modify passwd and group
8. create your VG's
9. import your VG's (with mapfile)
10. create your mountpoints
11. modify fstab
12. mountall
13. create symbolic links
14. configure your system with saved files
15. restore /home and remaining vg00 data
... and i hope you don't need the backups and saved disk
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 09:38 AM
11-09-2000 09:38 AM
Re: Upgrading from HP-UX 10.20 to 11.x
this is my way to upgrade :
1. find out all your applications (swlist, ...) uns configuration files
2. reorganize your LVM and filesystem layout, move all your non HP-UX applications and data (if possible) outside vg00
3. check your hardware and firmware (CPU,PDC,Eisa cards in D-class,...)
4. check your applications for HP-UX 11.x (32/64bit?)
5. check your CDs/depot (install CD, application CDs, newest patchbundle, Diagnostics, non HP-UX applications)
6. write down some configuration data (network, timeserver,...)
7. save configuration files (fstab,passwd,group,network,rc.config.d,rc?.d/*,/etc/*.conf,crontab,...)
and make some listings (ioscan -fn, vgdisplay -v, printer, ...), save also your mountpoint and symbolic link infos for non vg00 filesystems and dirs
create mapfiles of VGs
8. make_recovery -A
9. save this files and output seperatly to DDS or over LAN
10. save remaining non HP-UX data and /home
11. full backup
12. save your HP-UX 10.x HD (or mirror disk)
... and start
1. shutdown
2. replace hardware (if nessesary)
3. firmware upgrade (if nessesary)
4. boot with install CD (vg00 layout, network, ...)
5. install application, patchbundle, diagnostics, ...
6. kernelparameter, new kernel
7. modify passwd and group
8. create your VG's
9. import your VG's (with mapfile)
10. create your mountpoints
11. modify fstab
12. mountall
13. create symbolic links
14. configure your system with saved files
15. restore /home and remaining vg00 data
... and i hope you don't need the backups and saved disk
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 09:39 AM
11-09-2000 09:39 AM
Re: Upgrading from HP-UX 10.20 to 11.x
this is my way to upgrade :
1. find out all your applications (swlist, ...) uns configuration files
2. reorganize your LVM and filesystem layout, move all your non HP-UX applications and data (if possible) outside vg00
3. check your hardware and firmware (CPU,PDC,Eisa cards in D-class,...)
4. check your applications for HP-UX 11.x (32/64bit?)
5. check your CDs/depot (install CD, application CDs, newest patchbundle, Diagnostics, non HP-UX applications)
6. write down some configuration data (network, timeserver,...)
7. save configuration files (fstab,passwd,group,network,rc.config.d,rc?.d/*,/etc/*.conf,crontab,...)
and make some listings (ioscan -fn, vgdisplay -v, printer, ...), save also your mountpoint and symbolic link infos for non vg00 filesystems and dirs
create mapfiles of VGs
8. make_recovery -A
9. save this files and output seperatly to DDS or over LAN
10. save remaining non HP-UX data and /home
11. full backup
12. save your HP-UX 10.x HD (or mirror disk)
... and start
1. shutdown
2. replace hardware (if nessesary)
3. firmware upgrade (if nessesary)
4. boot with install CD (vg00 layout, network, ...)
5. install application, patchbundle, diagnostics, ...
6. kernelparameter, new kernel
7. modify passwd and group
8. create your VG's
9. import your VG's (with mapfile)
10. create your mountpoints
11. modify fstab
12. mountall
13. create symbolic links
14. configure your system with saved files
15. restore /home and remaining vg00 data
... and i hope you don't need the backups and saved disk
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 09:40 AM
11-09-2000 09:40 AM
Re: Upgrading from HP-UX 10.20 to 11.x
this is my way to upgrade :
1. find out all your applications (swlist, ...) uns configuration files
2. reorganize your LVM and filesystem layout, move all your non HP-UX applications and data (if possible) outside vg00
3. check your hardware and firmware (CPU,PDC,Eisa cards in D-class,...)
4. check your applications for HP-UX 11.x (32/64bit?)
5. check your CDs/depot (install CD, application CDs, newest patchbundle, Diagnostics, non HP-UX applications)
6. write down some configuration data (network, timeserver,...)
7. save configuration files (fstab,passwd,group,network,rc.config.d,rc?.d/*,/etc/*.conf,crontab,...)
and make some listings (ioscan -fn, vgdisplay -v, printer, ...), save also your mountpoint and symbolic link infos for non vg00 filesystems and dirs
create mapfiles of VGs
8. make_recovery -A
9. save this files and output seperatly to DDS or over LAN
10. save remaining non HP-UX data and /home
11. full backup
12. save your HP-UX 10.x HD (or mirror disk)
... and start
1. shutdown
2. replace hardware (if nessesary)
3. firmware upgrade (if nessesary)
4. boot with install CD (vg00 layout, network, ...)
5. install application, patchbundle, diagnostics, ...
6. kernelparameter, new kernel
7. modify passwd and group
8. create your VG's
9. import your VG's (with mapfile)
10. create your mountpoints
11. modify fstab
12. mountall
13. create symbolic links
14. configure your system with saved files
15. restore /home and remaining vg00 data
... and i hope you don't need the backups and saved disk
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 01:13 PM
11-09-2000 01:13 PM
Re: Upgrading from HP-UX 10.20 to 11.x
There are just a few things I wanted to clarify with you...
1) What do you mean by reorganize your LVM and filesystem layout, and move all your non HP-UX applications and data (if possible) outside vg00? Why would you want to do this?
2) In step 7 you said to save all of the below configuration files
(fstab,passwd,group,network,rc.config.d,rc?.d/*,/etc/*.conf,crontab,...) and make some listings (ioscan -fn, vgdisplay -v, printer, ...), save also your mountpoint and symbolic link infos for non vg00 filesystems and dirs create mapfiles of VGs
Can you restore all of this information once you have upgraded to HP-UX 11.x? How do you save your mountpoint and symbolic link info for non vg00 filesystems? How do you create mapfiles of VGs?
3) What did you mean in step 12 when you said save your HP-UX 10.x HD (or mirror disk)?
4) What do you mean by import your VG's (with mapfile)?
5) How do you go about doing the following?
10. create your mountpoints
11. modify fstab
12. mountall
13. create symbolic links
14. configure your system with saved files
15. restore /home and remaining vg00 data
Please elaborate if you get a chance as I am not to familiar with how to go about working through those activities.
Thanks,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 03:44 AM
11-10-2000 03:44 AM
Re: Upgrading from HP-UX 10.20 to 11.x
i hope it is possible for me (and my vocabulary) to express me clearly ...
Often it is nessasary to minimize downtime and so i try to reduce data recovery time after cold install of HP-UX. I try to keep all non OS files outside vg00 or if isnt yet so i try to move this files (filesystems and directories) to other VGs. After cold install i import all non vg00-VG's and so all application and data to save recovery time.
Example : some of your data are /var/yourdata1 (only directory)
other in /yourdata2 (LV lvoldata2 in vg00 mountet on /yourdata2)
For yourdata2 create a LV in another VG (possibly LV lvdata1 in VG vgdata), create a FS in it, mount it (/newdata2 ?), copy from /yourdata2 to /newdata2, umount /yourdata2 and /newdata2, mount /dev/vgdata/lvdata2 to /yourdata2. May be the copy needs a downtime but often it is possibly before installation downtime.
For yourdata1 you need also space in another VG. Create a new dir or a new filesystem (in this case modify /etc/fstab) and copy the files. Change your config files to access the data in the new place or create a symbolic link.
And remind in a disaster it saves recovery time with this layout.
I never copy configuration files from old to new. I do a diff and edit the new files. You could have some trouble with old configuration files or loss some new features. Using vi needs only some minutes for this.
VG mapfile (Example : mapfile vgdata.map of VG vgdata) :
vgexport -p -m vgdata.map vgdata
i mean with HP-UX 10.x HD your old boot disk (or all your vg00 disks). Keep this disks during HP-UX 11.x installation unchanged and you are able to boot your system with old OS in case of new installation trouble. The best choice is to use the old mirror disks for this.
vgimport :
After installation import all your non vg00-VG's. Example VG vgdata :
mkdir /dev/vgdata
mknod c 64
chmod ... (see your old conf)
vgimport -m vgdata.map vgdata
mountpoints : After vgimport you have to mount the filesystems from importet VG's.
Our example above :
mkdir /vgdata
chown ..., chmod ...
modify fstab (use your saved HP-UX 10 fstab)
mount /yourdata2
this is nessasary for all filesystems
symbolic links : see yourdata1
configure the systems : your rc-Scripts, your changes in /etc/rc.config.d/*, your crontabs, your netconf (2. LAN-Interface, routing, ...), your changes in /etc/profile ...
/home and remaining vg00 data (dirs) :
Do any users work on your system with homedirs and data in vg00 ? Restore from backup ! Any notmoved (see above) vg00 dirs ? Restore !
Remember this is only my experience to make a good job, other people take other (may be better)ways ...
Good luck
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 05:47 AM
11-10-2000 05:47 AM
Re: Upgrading from HP-UX 10.20 to 11.x
dont forget to activate VG after vgimport :
vgchange -a y vgdata (or your_vg_name)
Ruediger