Operating System - HP-UX
1833431 Members
3435 Online
110052 Solutions
New Discussion

Upgrade from 11.0 to 11.11

 
SOLVED
Go to solution
Sylvie Vezina
Occasional Advisor

Upgrade from 11.0 to 11.11

Hi,
Is it easy to upgrade Unix 11.0 to 11.11? What steps do we have to execute? We have many oracle databases on our server.
The best day is today
9 REPLIES 9
Navin Bhat_2
Trusted Contributor

Re: Upgrade from 11.0 to 11.11

Geoff Wild
Honored Contributor
Solution

Re: Upgrade from 11.0 to 11.11

It is fairly easy - your DBA's will have to re-link Oracle binaries.

On one of our upgrades, we had an issue with Java - during upgrade.

Here's step we did:

HPUX 11i Upgrade Plan

1. Split vg00 mirror
a. lvreduce â m 0 /dev/vg00/lvol1 /dev/dsk/c2t6d0
b. lvreduce â m 0 /dev/vg00/lvol2 /dev/dsk/c2t6d0
c. lvreduce â m 0 /dev/vg00/lvol3 /dev/dsk/c2t6d0
d. lvreduce â m 0 /dev/vg00/lvol4 /dev/dsk/c2t6d0
e. lvreduce â m 0 /dev/vg00/lvol5 /dev/dsk/c2t6d0
f. lvreduce â m 0 /dev/vg00/lvol6 /dev/dsk/c2t6d0
g. lvreduce â m 0 /dev/vg00/lvol7 /dev/dsk/c2t6d0
h. lvreduce â m 0 /dev/vg00/lvol8 /dev/dsk/c2t6d0
i. vgreduce /dev/vg00 /dev/ dsk/c2t6d0
2. Stop Application
a. script to stop your apps
3. Stop NFS client
a. /sbin/init.d/nfs.client stop
4. Mount HPUX 11i Disc 1
5. Start install procedure
a. script /tmp/OSupgrade
b. mount /dev/cdrom /SD_CDROM
c. swinstall â r â s /SD_CDROM Update-UX \@ /var/adm/sw/Update-UX.root 2>/dev/null
d. edit /usr/lib/sw/update-ux.cfg file and comment out all lines that contain JAVAOOB
e. update-ux â s /SD_CDROM HPUX11i-OE
6. Follow Instructions
7. Copy updated ftpd
a. rcp /opt/boksm/lib/ftpd.11.i from pc1005
b. cp â p /opt/boksm/lib/ftpd /opt/boksm/lib/ftpd.old
c. cp â p /opt/boksm/lib/ftpd.11.i /opt/boksm/lib/ftpd
8. Install Mirror Disk using swinstall
9. Install Online JFS using swinstall
10. Install Glance using swinstall
11. Verify LAN interfaces are set to 100FD using lanadmin
12. If interfaces are set to HD, run the following to set them to FD
13. lanadmin â X FD (PPA #)
14. mirror vg00
a. pvcreate -B /dev/rdsk/c2t6d0
b. vgextend /dev/vg00 /dev/dsk/c2t6d0
c. mkboot -l /dev/rdsk/c2t6d0
d. mkboot -a "hpux -l q (;0)/vmunix" /dev/rdsk/c2t6d0
e. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
f. lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0
g. lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0
h. lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t6d0
i. lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t6d0
j. lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t6d0
k. lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t6d0
l. lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t6d0
m. lvlnboot -b /dev/vg00/lvol1
n. lvlnboot -s /dev/vg00/lvol2
o. lvlnboot -r /dev/vg00/lvol3
p. lvlnboot -R /dev/vg00
q. lvlnboot â v

Backout Instructions

1. Reboot server
2. Interrupt boot sequence
3. Boot Alternate Boot Path (0/0/2/1.6.0)
4. mirror vg00
a. pvcreate -B /dev/rdsk/c1t6d0
b. vgextend /dev/vg00 /dev/dsk/c1t6d0
c. mkboot -l /dev/rdsk/c1t6d0
d. mkboot -a "hpux -l q (;0)/vmunix" /dev/rdsk/c1t6d0
e. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0
f. lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0
g. lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0
h. lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0
i. lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c1t6d0
j. lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c1t6d0
k. lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c1t6d0
l. lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c1t6d0
m. lvlnboot -b /dev/vg00/lvol1
n. lvlnboot -s /dev/vg00/lvol2
o. lvlnboot -r /dev/vg00/lvol3
p. lvlnboot
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.
Geoff Wild
Honored Contributor

Re: Upgrade from 11.0 to 11.11

Here's those steps as an attachment....cut'n'paste got me again....

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.
Sridhar Bhaskarla
Honored Contributor

Re: Upgrade from 11.0 to 11.11

Hi,

I prefer cold install of 11.11 and then install/configure the softwares. But if it is too much of a work for you, then look at the following document on the updating procedure

http://docs.hp.com/hpux/onlinedocs/5187-2774/5187-2774.html

But be sure you have a good make_tape|net_recovery images and data backups before you start the upgrade process.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Navin Bhat_2
Trusted Contributor

Re: Upgrade from 11.0 to 11.11

Joseph Loo
Honored Contributor

Re: Upgrade from 11.0 to 11.11

hi,

i rather take the cold or "fresh" installation as upgrade does have its fair share of problem if not done properly.

by the way, for the Oracle DB, r u also upgrading it as well? if not, the installation of the Oracle DB and also the cloning of the database should not be too difficult.

regards.
what you do not see does not mean you should not believe
Ted Buis
Honored Contributor

Re: Upgrade from 11.0 to 11.11

The easiest and safest way is to first do a full backup, then install 11.11 to a brand new (probably larger disk) while keeping your old 11.0 disk. Once installed, you can set the primary boot path to the new disk. You have an immediate failback to the 11.0 in case of problems. Don't forget the Software Transition Kit.
http://www.software.hp.com/stk/
Mom 6
KapilRaj
Honored Contributor

Re: Upgrade from 11.0 to 11.11

Best way ..,

1. Mirror the boot/root disk (Also have an ignite backup)
2. Pull out one of it
3. Carry out a fresh install on one disk which is installed.
4. import all the volume groups & mount filesystems
5. copy /etc/passwd etc .. so that things are fine.
6. Ask dba's to re-compile the binaries ..
7. You are done

Want to backout.. ?

Boot from the other boot disk (hpux -lq)

Regds,

Kaps
Nothing is impossible
Todd McDaniel_1
Honored Contributor

Re: Upgrade from 11.0 to 11.11

Okay, I am here to debunk the "cold install" theory when upgrading from 11.x to 11i.

I have done many boxes upgraded from 11.x to 11i with absolutely no problems...I know many folks who have done them as well.

Sure, you can have problems with any non-trivial task but usu that is not the case.


This reminds me of when I have done online disk replacements with out shutdown for mirrored root disks... Of course shutdown the Oracle DB and such but not the box.

Sure you can be extra careful, but not usu necessary unless you have tempermental boxes or are unsure of your skill. Not to imply that anyone here is unskilled at all.


IF you are rather paranoid and have doubts about your skill or the procedure then you can do a "fresh install" but for my money, they just arent that hard to do.
Unix, the other white meat.