Notes on When I Migrated as0141e1 from AIX 4.2.1/DCE 2.1,
to AIX 4.3.2/DCE 2.2.
----------------------------------------------------------------------------------
lspv
hdisk0 0000088500053151 rootvg
hdisk1 00000885002d2910 patentvg
lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00000885000557ce
VG STATE: active PP SIZE: 4 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 537 (2148 megabytes)
MAX LVs: 256 FREE PPs: 26 (104 megabytes)
Only 1 left after the upgrade.
LVs: 14 USED PPs: 511 (2044 megabytes)
OPEN LVs: 13 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs 0
ACTIVE PVs: 1 AUTO ON: yes
lsvg patentvg
VOLUME GROUP: patentvg VG IDENTIFIER: 00000885002d30ca
VG STATE: active PP SIZE: 8 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 537 (4296 megabytes)
MAX LVs: 256 FREE PPs: 66 (528 megabytes)
LVs: 6 USED PPs: 471 (3768 megabytes)
OPEN LVs: 6 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs 0
ACTIVE PVs: 1 AUTO ON: yes
lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 96 96 1 open/syncd N/A
hd5 boot 1 1 1 closed/syncd N/A
hd8 jfslog 1 1 1 open/syncd N/A
hd4 jfs 4 4 1 open/syncd /
hd2 jfs 124 124 1 open/syncd /usr (grew to 129 LPs)
hd9var jfs 26 26 1 open/syncd /var
hd3 jfs 49 49 1 open/syncd /tmp
hd1 jfs 16 16 1 open/syncd /home
lv02 jfs 11 11 1 open/syncd /usr/lpp/mqm
lv03 jfs 101 101 1 open/syncd /var/mqm
locallv jfs 13 13 1 open/syncd /local
vardcelv jfs 15 15 1 open/syncd /var/dce
dfscachelv jfs 50 50 1 open/syncd /dfscache
lv06 jfs 4 4 1 open/syncd /jukeman
lsvg -l patentvg
patentvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
install jfs 80 80 1 open/syncd /install
loglv00 jfslog 1 1 1 open/syncd N/A
lv00 jfs 128 128 1 open/syncd /arc
lv01 jfs 128 128 1 open/syncd /cache1
lv07 jfs 59 59 1 open/syncd /ips
paging00 paging 75 75 1 open/syncd N/A
----------------------------------------------------------------------------------
Did the normal prep work,
mkdir /var/dce/tmp /var/dce/config /var/dce/dced/backup
Replace the rcdce line in /etc/inittab with
rcdce:2:wait:/etc/rc.dce all > /dev/console 2>&1 # Start DCE/DFS Daemons
and comment it out as well.
Remove unneeded parms on dfsd startup command, in /etc/dce/rc.dce
Unneccessary parms are
- callback $RPC_SUPPORTED_NETADDRS
- blocks 20000
- cachedir /dfscache
- chunksize 16
Do normal stuff to shutdown the image server.
Comment out all the normal image server startup stuff in /etc/inittab.
Mark CD's offline. This takes 40 minutes or so.
/home/optiuser/updateVolTable.sh
Reboot the machine/node to get an IPL without DCE/DFS up.
find /dfscache -type f -exec rm {} \;
----------------------------------------------------------------------------------
Update AIX.
Insert CD, switch key to Service mode, and reboot.
3 hours later, AIX is at 4.3.2.0
After the conversion,
- Exit their stupid install_assistant. Make sure you exit so that it doesn't
start up again.
- I noticed that there was only 1 LP left free in rootvg and /usr grew by 25 LPs
and had about 63 MB free. Decided to uninstall some stuff that I think (hope)
we don't need. I think we'll need it for the installation of service.
installp -u iforls bos.ifor_ls.client
(Can't uninstall bos.rte.ifor_ls) Now have 80 MB free.
installp -u bos.content_list xldb.help.Ja_JP xldb.msg.Ja_JP
Now have 81 MB free. Is this going to be enough?
- verifying, via oslevel -l 4.3.2.0, says there are about a dozen filesets are
still at 4.2.1.
Insert base AIX 4.3.2 CD & do a smitty update_all. An interesting thing
about this is the integrated cd is /dev/cd8 'cause of all the jukebox's CDs.
The DCE filesets will fail 'cause the base 2.2.0 install images aren't
available, but that's ok. It asks for the second CD after just a minute or 2.
10 minutes later, oslevel says 4.3.2.0 and there's now 82 MB free. Hmmmmm.
- DCE is still at 2.1. To apply service, which also updates DCE, first insure
that DCE is down, else it won't get updated. Comment it out of /etc/inittab
and reboot if necessary.
First clear out unneeded DCE 2.1 crap.
installp -u dce.compat.dfsnfs.smit dce.msg.en_US.compat.dfsnfs.smit
installp -u dce.compat.edfs.smit dce.msg.en_US.compat.edfs.smit
installp -u dce.doc.en_US.inf dce.doc.en_US.smit
installp -u dce.dfsnfs.rte
mount cws:/spdata/sys1/install/aix432/lppsource /mnt
and try a
smitty update_all
from /mnt. 40 minutes later, most filesets got updated, but suprisingly enough
56 did not. Most important was DCE, but also Java, X11, bos stuff, etc.
Had to do the
smitty update_all
again. Strange. By the way, there's now less than 60 MB free in /usr.
25 minutes later, that was done. The only 3 filesets that were not updated
are 3 ssp filesets, which is ok.
Consolidated FIXES-NEW and tried to apply those fixes too, but ran out of space.
I knew it!!
cd /usr/lpp/internet/server_root/pub/reports
rm access*
Got back 30 more MB, which was enough for everything but X11.motif.lib, which
I'll ignore for now.
----------------------------------------------------------------------------------
Un-comment-out the rcdce line from /etc/inittab.
Ran
/etc/rc.dce all
to do the DCE conversion.
Check out /opt/dcelocal/etc/cfgdce.log for errors.
May have to dce.clean to stop DCE, then /etc/rc.dce all again before it
converts everything ok, but it should work the second time.
Configure the dceunixd client daemon, with a config.dce dce_unixd command.