Planning
cancel
Showing results for 
Search instead for 
Did you mean: 

Planning hp-ux 11 to 11i upgrade

SOLVED
Go to solution
Ali Kouider
Occasional Advisor

Planning hp-ux 11 to 11i upgrade

I am planning to upgrade one system from hp-ux 11 to 11i and was wondering what all the config files that I need to preserve in order to bring back the same environment as pre ux11i. Also what about the kernel parameters that were tunned on the 11.00 environment? Do we have to set them as on ux 11.00 or do they have to be recalculated for the ux 11i environment? I'm talking of some kernel parameters that are recommended by Oracle in particular. Can somebody help?
5 REPLIES
K.C. Chan
Trusted Contributor

Re: Planning hp-ux 11 to 11i upgrade

From xp, the cold install is a much cleaner path. If possible I would go this way, but this all depends on your comfort level and application. I would make an ignite of current server first before proceeding with the either the cold install or upgrade path. This should get the OS and oracle app if it is install under /opt or vg00 volume group. Then take a cold backup of your database. This should give you what you need to recover.
Reputation of a thousand years can be determined by the conduct of an hour
Bill Hassell
Honored Contributor

Re: Planning hp-ux 11 to 11i upgrade

11.0 to 11i is not nearly as fatal as 10.20 to 11.xx so unless you have complex networking (multiple LAN cards and/or protocols, or fibre disk arrays, you should be OK. Virtually none of the /etc values will be changed but new defaults will appear in /usr/newconfig. Keep your Ignite backup tape handy.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: Planning hp-ux 11 to 11i upgrade

This upgrade is difficult but possible. Before you start, do a make_tape_recovery backup of vg00 before you start.

You will need to patch the OS after the upgrade and you may need to tweak some kernel parameters.

Here is a complete patch list, you should have these on hand prior to the upgrade.

Per HP Bug (Doc ID: KBRC00003627) The default 64bit OS installation does not create a few required X library symbolic links. The following symbolic links need to be created:
cd /usr/lib
ln -s /usr/lib/libX11.3 libX11.sl
ln -s /usr/lib/libXIE.2 libXIE.sl
ln -s /usr/lib/libXext.3 libXext.sl
ln -s /usr/lib/libXhp11.3 libXhp11.sl
ln -s /usr/lib/libXi.3 libXi.sl
ln -s /usr/lib/libXm.4 libXm.sl
ln -s /usr/lib/libXp.2 libXp.sl
ln -s /usr/lib/libXt.3 libXt.sl
ln -s /usr/lib/libXtst.2 libXtst.sl

HP-UX 11.0(64 bit) Operating System Patches:
Sept 2001 Quality Pack
PHCO_23792 s/b PHCO_26960
PHCO_24148 s/b PHCO_25707 s/b PHCO_27608
PHKL_24268 s/b PHKL_27178
PHKL_24729
PHKL_25475 s/b PHKL_27510
PHKL_25525 s/b PHKL_27364
PHNE_24715 s/b PHNE_26771
PHSS_23670 s/b PHSS_26138
PHSS_24301 s/b PHSS_26273
PHSS_24303 s/b PHSS_26559
PHSS_24627
PHSS_22868

HP-UX 11i (64 Bit) Operating System Patches:
Support Plus Bundle 'December 2002 SP-0212' or later
JDK 1.3.1.02
PHNE_27745
PHNE_28568
PHKL_25506
PHSS_26560
PHSS_26946
PHSS_28849
PHSS_26946
PHSS_26560
PHCO_28427
PHCO_24402

HP-UX 11.22 (IA64) Operating System Patches:
PHSS_27284
PHSS_27285
PHSS_27286
PHSS_27287
PHSS_27288
PHSS_27289
PHSS_27290
PHSS_27291
PHSS_27292
PHSS_27293
PHKL_28465

Kernel

KSI_ALLOC_MAX (NPROC*8)
MAX_THREAD_PROC 256
MAXDSIZ 1073741824 bytes
MAXDSIZ_64BIT 2147483648 bytes
MAXSSIZ 134217728 bytes
MAXSSIZ_64BIT 1073741824
MAXSWAPCHUNKS 16384
MAXUPRC ((NPROC*9)/10)
MSGMAP (MSGTQL+2)
MSGMNI NPROC
MSGSEG 32767
MSGTQL NPROC
NCALLOUT (NKTHREAD+16)
NCSIZE ((8*NPROC+2048)+VX_NCSIZE)
NFILE (15*NPROC+2048)
NFLOCKS 4096
NINODE (8*NPROC+2048)
NKTHREAD (((NPROC*7)/4)+16)
NPROC 4096
SEMMAP (SEMMNI+2)
SEMMNI 4096
SEMMNS (SEMMNI*2)
SEMMNU (NPROC - 4)
SEMVMX 32768
SHMMAX AvailMem
SHMMIN 1
SHMMNI 512
SHMSEG 32
VPS_CEILING 64

Lastly I'd have a good solid cold database backup prior to starting.

Thats about it, good luck and understand that a cold OS install is more reliable, even if its more work.

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
Edgar_8
Regular Advisor
Solution

Re: Planning hp-ux 11 to 11i upgrade

Hi,

We did the upgrade(cold install) & followed the below process:
1.cold backup of DB
2.make_tape_recovery of vg00 (x2)
3.omniback/data protector DB backup
4.O/S config file backup(hosts;passwd;group;netconf;fstab;lvmtab;lvmconf;.rhosts;bdf output;lvlnboot output;vgdisplay output etc)
4.DB config file backup(init.ora;inittab.ora;orapw;listener.ora;tnsnames.ora etc)
5.cold install hp-ux 11i; applied gold pack; installed additional software(Omniback)
6.restored backed up config fles
7.changed kernel parameters (system_prep/mk_kernel etc)
8.make_tape_recovery (x2)


Hope this helps
Geoff Wild
Honored Contributor

Re: Planning hp-ux 11 to 11i upgrade

Here's what I did in a recent upgrade of a N-Class:

To check firmware (PDC Firmware Revision needs to be at 41.02 or higher - if not - book HP to update.):

server1:/ >/usr/sbin/cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version A.38.00

Product Number B4708AA

(C) Copyright Hewlett Packard Co. 1995-2002
All Rights Reserved

Use of this program is subject to the licensing restrictions described
in "Help-->On Version". HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.

cstm>scl type proc
cstm>info
cstm>il
-- Converting multiple raw log files to text. --
Preparing the Information Tool Log for each selected device...

.... server1 : 192.168.2.29 ....

-- Information Tool Log for CPU on path 33 --

Log creation time: Mon Jul 7 09:06:42 2003

Hardware path: 33


Product ID: CPU Module Type: 0
Hardware Model: 0x5cc Software Model: 0x4
Hardware Revision: 0 Software Revision: 0
Hardware ID: 0 Software ID: 601329313
Boot ID: 0x2 Software Option: 0x91
Processor Number: 0 Path: 33
Hard Physical Address: 0xfffffffffed21000 Soft Physical Address: 0

Slot Number: 8 Software Capability: 0x100000f0
PDC Firmware Revision: 40.25 IODC Revision: 0
Instruction Cache [Kbyte]: 512 Processor Speed: N/A
Processor State: N/A
Monarch: Yes Active: Yes
Data Cache [Kbyte]: 1024
Instruction TLB [entry]: 160 Processor Chip Revisions: 2.3
Data TLB Size [entry]: 160 2nd Level Cache Size:[KB] N/A
Serial Number: 0


Increase /stand:

The procedure listed is as follows -

/stand is only 84 MB on server1, for 11i, needs to be at least 112 MB.

Boot your machine in LVM maintenance mode
(hpux -lm at ISL>)

#
# vgchange -a y /dev/vg00
# lvrmboot -r /dev/vg00
# lvremove /dev/vg00/lvol3
# lvremove /dev/vg00/lvol2
# lvextend -L 256 /dev/vg00/lvol1
# extendfs /dev/vg00/rlvol1
# lvcreate -L 1024 -C y -r n -n lvol2 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -r /dev/vg00/lvol4
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
# lvlnboot -R
# reboot -r

Note: lvol3 is unused, lvol4 is /

Commands run:

mt -t /dev/rmt/0m rewind
make_tape_recovery
for i in `ls /dev/vg00/l*`
do
lvreduce -m 0 $i
done

/sbin/init.d/nfs.client stop

script -a /tmp/updateOS
mount /dev/cdrom /SD_CDROM
swinstall -r -s /SD_CDROM SW-DIST.SD-UPDATE \@ /var/adm/sw/Update-UX.root 2>/dev/null
update-ux -s /SD_CDROM HPUX11i-OE-Ent


Apply latest patches, then:


for i in `ls /dev/vg00/l*`
do
lvextend -m 1 $i
done
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.