Operating System - HP-UX
1832924 Members
2866 Online
110048 Solutions
New Discussion

Re: what will clean install of OS affect?

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

what will clean install of OS affect?

I have read many peoples suggestions in these forums, that upgrading from 10.2 to 11.0 would be best done as a clean install of 11 rather than an upgrade. If I do this, what happens to my volume groups etc? Will I have to reload all my Oracle data? How should I prepare the system for this?

10 REPLIES 10
James R. Ferguson
Acclaimed Contributor

Re: what will clean install of OS affect?

Dave:

You can vgexport and vgimport (see man pages for each) your volume group infomation so that you don't have to backup and reload data. I would advise, however, that like in any upgrade, you do a full backup as an insurance policy!

...JRF...
Andy Monks
Honored Contributor

Re: what will clean install of OS affect?

Firstly, start will at least 1 full backup!.

After the install the things that you'll need to do are :-

load the latest patch bundle.

vgimport all your data volume groups (the data is still on them) (good idea to do a vgexport -p -m before the install and copy these files some where where you can get them them quickly.

then it's just a case of setting up the users/printers and applications. you'll probably be installing a new version or you application anyway so that isn't a problem.

There's probably a few more things too. if you know what you've changed from the O/S point of view it's easy. If not, it could take a little while to ensure everything is ok.
Dave Wherry
Esteemed Contributor

Re: what will clean install of OS affect?

The cold install wipes out everything that was on your Opersting System drives. you need to save any localization you have done to the system like /etc/passwd, hosts, any entries in services, your printers.... You need to either save it and restore it or recreate it.
As for you Oracle data. Provided this is all on other, non OS disks, in another volume group, you can vgexport the volume group before beginning the install. When the install is complete vgimport those volume groups back in and your data is there just as it was.
Lasse Knudsen
Esteemed Contributor

Re: what will clean install of OS affect?

The volume group containing the OS is toast when you reinstall. If your Oracle data is on a different volume group, I would use vgexport/vgimport in order to save the Oracle data - keep your tounge straight when installing though.

With HP-UX 11.00 you have the possibility of running JFS 3.3 which should have some performance improvement over the version running on 10.20.
In a world without fences - who needs Gates ?
James R. Ferguson
Acclaimed Contributor
Solution

Re: what will clean install of OS affect?

Dave:

Oh, and for additional insurance, I would make an Ignite make_recovery tape of your 10.20 system before doing anything!!! Then, backup your non-root volume groups, do the vgexport, do the OS install, do the vgimport, and then do your required localizations/customizations.

...JRF...
John Palmer
Honored Contributor

Re: what will clean install of OS affect?

Dave,

As discussed in previous threads, if you can free up a disk say by unmirroring your current root disk then you can install 11 on that. This gives you dual boot capability and makes it easy to back out - just reboot from your normal 10.20 disk.

Regards,
John
John Palmer
Honored Contributor

Re: what will clean install of OS affect?

Further to my previous reply, having booted 11, you can vgimport your old 10.20 vg00 and mount the filesystems. This allows for easy examination and copying of any files that you may need to have in the 11 setup.
Murray Jones
Advisor

Re: what will clean install of OS affect?

David,

Be careful to fully plan you're upgrade - don't rely on swapping between manuals, as you'll quickly get confused.

Have a look at the 9911 ACE Install guide, and the README document for information, the basic Installing and Updating to 11.0 manual does not include some important information. Make sure you back up configuration information like you netconf file, volume group and lvm information etc. Be careful with the vgexports / imports. You can do a vgexport with the -s option so that you don't remove the volume groups from your current system before you upgrade, or you may choose to rely on a vgscan when you have finished the install. Be especially careful that you re-confirm device names before you blindly run the vgimport.

As for your Oracle data - well that depends on which volume group / logical volume / filesystem it is in. Remember that /etc will be blown away, so make sure you save any Oracle file from there (you may have your oraenv file in there etc.) It will also depend on whether your current version of Oracle is directly compatible with your new OS or not. Make sure that you have that upgrade path for Oracle.

I did an upgrade just yesterday from 10.20 to 11.0 on a D-class without any major hassles - just be methodical and careful.

Perhaps you might wish to post your filesystem layout so that we can give some more qualified advice.

Cheers,
Tim Malnati
Honored Contributor

Re: what will clean install of OS affect?

A couple of things to add...

Backups. A full backup of the system is prudent. Another fbackup of vg00 is important also (it's sure handy). Place a copy of the vgexport maps and /stand/system in /etc before you start. It takes less than an hour on DDS. When you get your basic system installed under 11.X, frecover the entire /etc directory and the index to the vg00 fbackup into a separate area with the -X and -I options (< 15 minutes). For starters you will probably want to reuse /etc/passwd and /etc/group. But just as important, you will have a useful reference of what you had in 10.X right there.

Timothy Czarnik
Esteemed Contributor

Re: what will clean install of OS affect?

Dave,

This is only with regards to system printers. Go through SAM and save the printer configuration. This saves all printer info to /var/sam/lp. Tar this directory to tape. After the new OS is installed, put this info back into the /var/sam/lp directory, then use SAM to restore printer configuration. All printer info will be exactly as you had it previously. This works between 10.20 and 11.0 (as I've just recently done it).

-Tim
Hey! Who turned out the lights!