Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX v4.3.3 vs. 5.1 & 5.2 3

Status
Not open for further replies.

rjgreen

Technical User
Oct 2, 2002
14
US
Can anyone who has upgraded from AIX 4.3.3 to version 5.1 and or 5.2 tell me what problems that they have experienced during and after the upgrade.

Thanks
RJG
 
We went with a clean install on a new machine, so I cannot offer you info much on a migration installation.

Not too many problems, the main ones I can remember where the IBM C and C++ compilers we had would not run on 5.1 so we had to get a never version.

Version 5.2 seems to be only 64bit, so it won't install on an older 32bit machine like a 43P.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
 
Migration Install from AIX 4.3.3 to AIX 5.1 ML 3
(also works for 5.2 NO ML ) I was going to 5.1 but found the end of service date for 5.1 was next year. So I am going to 5.2 instead. I hope this helps.


Migration Install from AIX 4.3.3 to AIX 5.1 ML 3 ( and AIX 5.2 ML 0 )


Pre Migration
The migration will not update the 4.3.3 documentation. You must first un- install the 4.3.3 doc, do the migration, then install the 5.1 doc.

bos.html.en_US.cmds.cmds1
bos.html.en_US.cmds.cmds2
bos.html.en_US.cmds.cmds3
bos.html.en_US.cmds.cmds4
bos.html.en_US.cmds.cmds5
bos.html.en_US.cmds.cmds6
bos.html.en_US.files.files_ref
bos.msg.En_US.sysmgt.nim.master_gui
bos.msg.en_US.sysmgt.nim.master_gui

Uninstall the aix 4.3.3 doc


back up your motd, the migration replaces it with the standard "welcome to aix"


run lppchk -v and fix any problems first

AIX requires certain user and group definitions to remain unchanged.

root:!:0:0::/:/bin/ksh
deamon:!:1:1::/etc:
bin:!:2:2::/bin:
sys:!:3:3::/usr/sys:
adm:!:4:4::/var/adm:
uucp:!:5:5::/usr/lib/uucp:
guest:!:100:100::/home/guest:
nobody:!:4294967294:4294967294::/:

Verify that your /etc/passwd has entries matching the following:

It is important to verify that the preceding entries exist and match exactly. Also, verify that no other user has UIDs that duplicate the preceding. The UID is the third colon-separated entry, the first number.


system:!:0:root
staff:!:1:
bin:!:2:root,bin
sys:!:3:root,bin,sys
adm:!:4:bin,adm
uucp:!:5:uucp
mail:!:6:
security:!:7:root
cron:!:8:root
printq:!:9:
audit:!:10:root
ecs:!:28:
nobody:!:4294967294:nobody
usr:!:100:guest

Verify that your /etc/group file has entries matching the following:

xlC.rte must be at 5.0.2.0 or better ( or apply IY17981 ) p 321

run usrck -n ALL ( make sure all errors are a known part of the environment)
run grpck -n ALL ( make sure all errors are a known part of the environment )
backup any cron or at allow or deny files ( /usr/adm/cron.deny )
if you have TCB then run tcbck -n ALL and correct any errors.
space requirements /tmp 15 MB free, / 10 MB free, 80 MB of unallocated PP's on rootvg disks
break all mirrors of the rootvg. You should have no mirrored copies of rootvg during migration

make sure you change your bootlist to reflect you have only one disk ( bootlist -m normal hdisk0 )
make sure the disk in your bootlist is also the disk you booted from
ls -l /dev/ipldevice /dev/rhdiskY ( where Y is the hdisk number listed in the bootlist )
if the numbers in the 6th column dont match, fix this before going on
make sure /tmp has no bad file names. ( all files should be alphanumeric )
make sure all logical volumes in all vg's are synced

check perl. The migration is going to install perl 5.8.0 in /usr/opt/perl5/lib/5.8.0 and change the link /usr/bin/perl to point to this
I had to copy the MIME dir from my old perl to the new one to keep mailibm working







Post Migration


verify LPP with lppchk -v
Verify current OS and Maintenance level with oslevel -r
Check for previous level file sets still installed on the system
lslpp -l | grep 4.3 | grep COMMITTED
some third party software may need to be removed by other support groups
remove any old 4.3.3 file sets
perfagent.html.en_US.usergd 4.3.3.0 must be removed for example
check for broken file sets
lslpp -l | grep BROKEN
correct any problems
make sure instfix sees your oslevel and ML level ( instfix -ik 5100-03_AIX_ML) NOTE: 5.2 this does not work... there is no ML for 5.2 yet

I:bos.html.en_US.cmds.cmds1 5.1.0.0
I:bos.html.en_US.cmds.cmds2 5.1.0.0
I:bos.html.en_US.cmds.cmds3 5.1.0.0
I:bos.html.en_US.cmds.cmds4 5.1.0.0
I:bos.html.en_US.cmds.cmds5 5.1.0.0
I:bos.html.en_US.cmds.cmds6 5.1.0.0
I:bos.html.en_US.files.files_ref 5.1.0.0

Install the AIX 5.1 Doc
* Note: when doing installs, there is a new field that asks if you accept the license. Its default is "NO". If you install this way, you will not get an error, but the software will not be available to you. I installed the man pages this way and the man command replied "there is not an entry for ls " To correct this, I had to reinstall with the license set to "YES". Once it did that, all was fine.

run lppchk -vm3 to see what file sets are not compatible with AIX 5.1

If you have any file sets that show up with lppchk -vm3 then you will need to remove them or update them. I had to remove
perfagent.html.en_US.usergd

and I had to call DSMBR to remove some TSM code that was NOT compatible with 5.1.

remove the /etc/hosts.equiv the migration will create for you
check /etc/security/user default stanza for repeat information. It does not delete the default info, but adds a complete new set of attributes underneath the old ones. The new attributes are completely wrong from a security standpoint, so you need to delete this. repeated info starts with xxxx to the end of the stanza

remove IMNSearch file sets ( 9 of them )
check /u this link has been reset to point to /home. I had to set it back to the auto mount link.
remove bos.net.snapp ( System Networking Analysis and Performance Pilot )
comment out daytime and time which were added to inetd.conf during the migration
comment out wsmserver from inetd.conf
comment out cmsd, ttdbserver, and dtspc from inetd.conf
restart xntpd if you were using it. un comment in /etc/rc.tcpip
comment out hostmibd in /etc/rc.tcpip
comment out the httpdlite entry in /etc/inittab that was added during the migration
comment out the ctrmc entry in /etc/inittab
comment out the itess entry in /etc/inittab

change group on /etc/passwd and /etc/opasswd to security ( it will be system after the migration this is wrong )
change permission's on /etc/passwd and /etc/opasswd to 644 ( it will be 664 after the migration this is wrong )

Notes :

The migration creates a group snapp id=12 admin=true users= registry=files
The migration creates a new group "lp" GID 11 ( root and ID lp [see below ] need to be in this group )

lp id=11 pgrp=lp groups=lp,printq home=/var/spool/lp shell=/bin/false login=true
su=true rlogin=true daemon=true admin=false sugroups=ALL admgroups= tpath=nosak
ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=77 registry=files SYSTEM=files
logintimes= loginretries=5 pwdwarntime=0 account_locked=false minage=0 maxage=2
6 maxexpired=-1 minalpha=1 minother=1 mindiff=1 maxrepeats=2 minlen=6 histexpire
=0 histsize=5 pwdchecks= dictionlist= fsize=2097151 cpu=-1 data=262144 stack=655
36 core=2097151 rss=65536 nofiles=2000 roles=
the migration creates a new ID "lp"
/etc/sendmail.cf has been moved to /etc/mail/sendmail.cf and /etc/sendmail.cf is now a link to /etc/mail/sendmail.cf
/etc/aliases has been moved to /etc/mail/aliases and /etc/aliases is now a link to /etc/mail/aliases

/var/adm/cron/log exists will have to be trimmed from time to time.. p 383 AIX5.2 diff guide
performance tools moved to bos.perf.tools .... also must install p 394 AIX5.2 diff guide
bos.sysmgt.trace
bos.perf.perfstat
perfagent.tools
bos.libperfstat needs to be installed p 419 AIX5.2 diff guide

Before you criticize someone, you should walk a mile in their shoes. That way you're a mile away and you have their shoes.
 
Very good post GenFoch!

What do you do if you have a lot of software installed via installp? Like our TSM server.

What is the procedure for that!
 
You have to make sure first, that your applications will run on the new version of AIX that you are migrating to. And if they will not, you have to aquire the upgrade software for them.

You'll have to go to the application vendors to find out if they'll run on the version of aix you want to upgrad to, not to IBM.

Make sure you also tell the vendors you are going to be upgrading aix as well as their software and get their recomendations for how to migrate their applications.

some of the most destructive problems can be prevented by just doing some extra planning.
 
Again, don't miss "aixmurderer"'s post about the C compiler. If you're compiler is too far back and isn't upgraded, your system may fail to boot after the upgrage.

I have successfully done this with no problems.
 
CrystalWizard:
As usual good post! I have already cleared with IBM that TSM will run on the AIX 5.2/3. My question is: Do I need to remove the TSM server first and then upgrade?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top