Operating System - HP-UX
1844867 Members
2036 Online
110233 Solutions
New Discussion

HP 11 to 11i upgrade question!

 
rajeshk
Advisor

HP 11 to 11i upgrade question!

Hi
I have a HP 9000/782 J Class and D Class Boxes running HP-UX 11 I am planning to upgrade to 11i.

I am running following softwares.
Oracle 9.0.1
Tuxedo
Diosa
MQSeries
HP ANSI C/C++ compiler
and so on.

Now i have two options for this. I can do a fresh initial install of HP 11i and I can install above softwares again( If i do this the software media i have for HP-UX 11 works?). Other option is to do a upgrade from 11 to 11i.

I dont have C/C++ compiler, Tuxedo and other softwares for 11i but i have the above software for 11.

Which option is best and easy ?

Thanks in advance.
Rajesh
9 REPLIES 9
Ravi_8
Honored Contributor

Re: HP 11 to 11i upgrade question!

Hi, rajesh

First method is the prefered method, upgrading puts you into problems.

Softwar you have mentioned also works on 11i

C/C++ compiler/MQSeries/Oracle9x/tuxedo for 11.0 also works on 11i
never give up
Christian Gebhardt
Honored Contributor

Re: HP 11 to 11i upgrade question!

Hi

First: If you search in this forum you will find many postings telling you that it is highly recommended not to upgrade from 11 to 11i but doing a new installation.

Second: Even if you upgrade the OS you have to upgrade all your software. 11.0 and 11i are not binary-compatible.

So best way is:
- backup your system (if possible additionally backup your vg00 to disk and mount them on the new system so you can easily search for old configurations)
- be sure you have the sources of all software you have to install on 11i
- new installation OS
- install other software

Not easy but the best way

Chris

Chris
Steven E. Protter
Exalted Contributor

Re: HP 11 to 11i upgrade question!

Your best bet is a cold install. Myself and a lot of classmates tried the upgrade process, in a hands on with 11i class, but over half the upgrades failed.

You'll be better off coming up with a migration plan that lets you do a clean installation.

Here are some important steps with regard to the oracle sectoin.

http://www.hp.com/go/java

There is a link there to get a current version of Java. Go for 1.2 or 1.3, SDK, and install every pre-requisite patch on the patch link on the above link.

Get the December 2002 patch bundle in, or use the December 2002 Core OS media.

Oracle has a patch list of patches above and beyond the above that are REQUIRED to run the database. TAke a look at any of my posts in the HP-UX databases thread for a current patch list.

In spite of the billing, Oracle is not completely secure. Good security practices are a must.

Get and run the Bastille tool to harden up your security.

Here is a link.
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B6849AA&date=


Install and run security_patch_check link:
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B6834AA&date=

Get used to not using ftp rsh and rcp. Get and install secure shell, exchange public keys(I've posted a cookbook from my office at least a dozen times) and start handling file transfer and database configuraiton without letting your passwords pass in clear text.

https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=T1471AA&date=

If you want the cookbook ask, I'll post it up Thursday morning.

TCP wrappers are a pretty good idea too, but I've not even gotten around to that step,and I'm getting ready to roll out test boxes to our devleopment staff.

https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=TCPWRAP&date=


Cold install is the easier option, because after an upgrade you'll need to follow these steps anyway. The Upgrade is in my humble opinion a bad idea.

Easy in this case is a relative term.

I'm assuming you've chosen your database version for a reason, so I won't question that. We're at 8.1.7.4.0 to provide compatiability with our 11.00 servers that we're migrating from and eventually taking out of production.

Easy? Well, what's easy when Oracle is involved.

P
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
Christian Gebhardt
Honored Contributor

Re: HP 11 to 11i upgrade question!

Hi

The second point from my answer above is only correct if you upgrade from 32Bit HPUX to 64Bit HPUX (or downgrade)

Chris
Dietmar Konermann
Honored Contributor

Re: HP 11 to 11i upgrade question!

Christian,

The statement "11.0 and 11i are not binary-compatible." is simply not true. See the 11i RelNotes (Chapter 12) for details. In fact, many vendors build their allpications on 11.00 (or even 10.20), although they are certified for 11.11 also.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Paul Platts
New Member

Re: HP 11 to 11i upgrade question!

I have now done the 11.0 to 11i upgrade a number of times - it worked every time, unlike upgrading from 10.20 to 11.0.

It you are not aware of all of the changes made in your 11.0 implementation - any file added etc. then doing the upgrade you will keep these files - doing a cold install would lose any such files.
Thierry Poels_1
Honored Contributor

Re: HP 11 to 11i upgrade question!

Hi,

I agree with Paul here. Why is everybody against an upgrade? The upgrade from 11.0 to 11.11 is not a mystery like some previous upgrades.

If you go for the fresh install you will loose a lot of time in reinstalling stuff and recustomizing. The only thing you would gain is a "clean" system.

anyway good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Todd McDaniel_1
Honored Contributor

Re: HP 11 to 11i upgrade question!

I too agree with upgrade... not cold install.

I have done 5 such upgrades on boxes earlier this year and had no problems whatsoever.

The boxes in question were all N-4000 servers. Of course you know that good backups are in order for all Oracle DBs and crucial data for OS config.

I see no problem with upgrading... 11.0 and 11i are very similar. The only sticking point is whether or not to go 64bit or stick with 32bit.

Onsite HP folks are confident that this type of upgrade is perfectly fine.

Im not sure of what problems some of you had with upgrading your boxes, but they seem to be the exception rather than the rule, imho.

11 to 11i is NOT the same as 10.20 to 11.0... this is not a major release of an OS.
Unix, the other white meat.
Geoff Wild
Honored Contributor

Re: HP 11 to 11i upgrade question!

We too have done 11 11i upgrades - without a hitch except for 1 - where we had to disble java in the update script.

HPUX 11i Upgrade Plan â server1

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. /ops/oper/opercmds/stopapplocal
4. Stop NFS client
a. /sbin/init.d/nfs.client stop
5. Mount HPUX 11i Disc 1
6. 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
7. Follow Instructions
9. Install Mirror Disk using swinstall
10. Install Online JFS using swinstall
11. Install Glance using swinstall
13. Verify LAN interfaces are set to 100FD using lanadmin
14. If interfaces are set to HD, run the following to set them to FD
15. lanadmin â X FD (PPA #)
16. 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 /d
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.