Upgrading skunk, lizard, walrus, polecat, direct. Insure cd0 is in the bootlist. bootlist -m normal cd0 hdisk0 Insure the console is set to tty0 and 9600, 8-N-1 vi /etc/inittab Delete rcafs:2:wait:/etc/rc.afs afs-dt:2:wait:/etc/rc.dt and change the rclocal:2:once:/afs/d/servers/rc.local to : rclocal:2:once:/dfs/servers/rc.local but for now, leave commented out. Uninstall junk software installp -u IMNSearch DocGettingStarted DocTATools DocTextSearch installp -u db2_06_01 crontab -e and get rid of # # Check for new AFS userids and update my /etc/passwd file. 5,20,35,50 * * * * /afs/delphion.com/@sys/local/bin/UpdateSSIConfig and comment out the TSM backup # # Do a nightly incremental backup to ADSM/TSM. # 44 4 * * * /usr/bin/dsmc incremental > /tmp/nightly.dsmc.incremental 2>&1 shutdown -F ------------------------------------------------------------------------------ Boot AIX 5.2 CD. ------------------------------------------------------------------------------ ============================================================================== Notes from installing AIX 5.2 January 31, 2005 The first machine I did was ghost, an unused B50 that had AIX 4.3.3 on it with the IBM Firewall Code Installed and active (Yuck!). It also wasn't on its 10.224.88.17 address. It was still using 10.24.1.68 and when I tried changing it, it complained with a message similar to Cannot write to /dev/ipldevice I think it was that stupid Firewall code that was stopping me, probably something in the Firewall "hardening". I decided to install from scratch, but cd0 wasn't in its bootlist. bootlist -m normal cd0 hdisk0 fixed that. And by the way, the connection to the serial console defaults to Baud Rate = 9600 Parity = None Bits per character = 8 Number of Stop Bits = 1 Flow Control = XON And the serial connection out a Thinkpad back end, is known as com1. I had troubles connecting 'till I saw that I had 2 null modems in my cable set-up. ============================================================================== Also installed the following 45 extra filesets, X11.adt.bitmaps 5.2.0.0 X11.adt.ext 5.2.0.30 X11.adt.imake 5.2.0.0 X11.adt.include 5.2.0.10 X11.adt.lib 5.2.0.0 X11.adt.motif 5.2.0.0 X11.apps.aixterm 5.2.0.30 X11.apps.clients 5.2.0.0 X11.apps.config 5.2.0.0 X11.apps.custom 5.2.0.0 X11.apps.msmit 5.2.0.30 X11.apps.rte 5.2.0.30 X11.apps.util 5.2.0.0 X11.apps.xdm 5.2.0.0 X11.apps.xterm 5.2.0.0 X11.base.common 5.2.0.0 X11.base.lib 5.2.0.30 X11.base.rte 5.2.0.30 X11.base.smt 5.2.0.0 X11.base.xpconfig 5.2.0.0 X11.motif.lib 5.2.0.30 X11.motif.mwm 5.2.0.30 bos.acct 5.2.0.30 bos.content_list 5.2.0.0 bos.data 5.2.0.0 bos.dosutil 5.2.0.0 bos.games 5.2.0.30 bos.lrn 5.2.0.0 bos.lrn.data 5.2.0.0 bos.pmapi.events 5.2.0.30 bos.pmapi.lib 5.2.0.30 bos.pmapi.pmsvcs 5.2.0.30 bos.pmapi.samples 5.2.0.30 bos.pmapi.tools 5.2.0.0 perl.man.en_US 5.8.0.0 bos.adt.data 5.2.0.0 bos.adt.debug 5.2.0.30 bos.adt.prof 5.2.0.30 bos.adt.syscalls 5.2.0.30 bos.adt.utils 5.2.0.30 bos.net.nfs.server 5.2.0.10 bos.perf.diag_tool 5.2.0.30 bos.perf.proctools 5.2.0.30 bos.perf.tools 5.2.0.30 perfagent.tools 5.2.0.30 ============================================================================== Before installing AFS, I saw in the AFS Patch 11 README http://www-306.ibm.com/software/stormgmt/afs/manuals/Library/patch.readme.htm that for AIX 5.2, fix IY38963 was required. To check, instfix -ik IY38963 I didn't have this, so I downloaded Maintenance Level 5 (ML_05) from IBM - http://www-1.ibm.com/servers/eserver/support/pseries/aixfixes.html - https://techsupport.services.ibm.com/server/mlfixes/52/05/03to05.html This got me a 700 MB 520305.tar.gz file that I unzip'd into AFS. cd /afs/d/software/fixes/AIX_5.2_ML_05 gzip -d -c ~/520305.tar.gz | tar -xf - Then, in case that AIX 5.2's inutoc is different, did this from root on ghost, inutoc . This installed 261 different filesets (this is even after installng those two AIX 5.2 Update CD's that came with AIX 5.2. Included in there was this installp: APPLYING software for: ifor_ls.base.cli 5.2.0.50 ... Moving log files into /var/ifor/oldlogs ATTENTION : /.profile file has been updated. You should login again so that the changes can have effect. /usr/opt/ifor/ls/os/aix/bin/i4cfg should be run after this install to setup your networking environment so that License Use Management will function properly. Sure enough, root's /.profile had this in it, #The following line is added by License Use Management installation export PATH=$PATH:/usr/opt/ifor/ls/os/aix/bin Anyway, I now have IY38963 ============================================================================== I still need to work on - getting the latest service (Done 2-1-5) - AFS (Done 2-1-5) - ssh/scp (Done 2-14-5) - a C compiler (Eric is insisting we use gcc) In /local/bin, I've got to get lsof ============================================================================== On a fresh AIX install, AIX creates two userids that conflict with our userid standard. NONONO chown 210 /var/adm/invscout/.profile NONONO chown 211 /usr/sbin/snapp/.profile NONONO vi /etc/passwd NONONO changing user invscout from UID # 200 to 210 NONONO and user snapp from UID # 201 to 211 NONONO NONONO This frees up UID #200 for db2fenc1 NONONO and UID #201 for inst1. On 8-15-2005, I decided instead to change our userid standard so I don't have to change IBM's default ids. Instead, I changed db2fenc1 from UID=200 to UID=625, GID=200=db2fenc1 to GID=625=db2fenc1 and inst1 from UID=201 to UID=628, GID=201=dbadmin1 to GID=628=dbadmin1 See my ~jasper/aixnotes/linux/standard_userids file. ============================================================================== 2-14-2005 There's a version of SSH on the extra AIX 5.2 disk titled AIX 5L for POWER V 5.2 Expansion Pack Volume 1 of 2 but first, you have to install the OpenSSL that's on the AIX Toolbox for Linux Applications for POWER Systems Featuring GNU Software CD. There's all kinds of good, Linux-y things on that CD. I wound up installing g++, gcc, as well as openssl. For rhino, I installed emacs-21.1 enscript-1.6.1 g++-2.9.aix51.020209 gcc-2.9.aix51.020209 less-374 lsof-4.61 openssl-0.9.6m sudo-1.6.7p5 unzip-5.42 wget-1.9 from that "AIX Toolbox for Linux Applications for POWER Systems Featuring GNU Software" CD and Java 1.4.1 openssh from the "AIX 5L for POWER V 5.2 Expansion Pack, Volume 1 of 2" CD. I put these packages in rhino's /dfs/software/base/AIX_Extras directory so I can easily install them for the other lizard/skunk/walrus machines. New on the AIX 5.2 smitty installp screen, is ACCEPT new license agreements? no that you have to toggle to "yes" to get some things to install. The version of ssh you get from this CD is shown in an lslpp -L command as openssh.base.client 3.7.0.5200 C F Open Secure Shell Commands openssh.base.server 3.7.0.5200 C F Open Secure Shell Server openssh.msg.en_US 3.7.0.5200 C F Open Secure Shell Messages - and in a ssh -V command as OpenSSH_3.7.1p2-pwexp26_krb5, SSH protocols 1.5/2.0, OpenSSL 0.9.6m 17 Mar 2004 As of 5-10-2005, Open SSH had come out with 3.8, 3.9 and 4.0, so this 3.7 version is downlevel. ============================================================================== 2-14-2005 To get the compiler installed, I tried installing the old one we had in AFS. cd /afs/d/software/base/C.and.C++.Compilers-3.6.6 smitty installp and choose ibmcxx, which includes ibmcxx.cmp 3.6.6.0 IBM C and C++ Compilers ibmcxx.include 3.6.6.0 IBM C++ Compiler Include Files ibmcxx.lib 3.6.6.0 IBM C and C++ Compilers ibmcxx.memdbg 3.6.6.0 IBM C and C++ Compilers Memory ibmcxx.msg.en_US.cmp 3.6.6.0 IBM C and C++ Compilers ibmcxx.msg.en_US.ioc.rte 3.6.6.0 IBM Open Class Library Runtime ibmcxx.msg.en_US.rescmp 3.6.6.0 IBM Resource Compiler ibmcxx.rte 3.6.6.0 IBM C++ Compiler Application But when I went and ran the /usr/ibmcxx/bin/replaceCSET program to set up all the normal links (eg, /usr/bin/cc -> /usr/vac/bin/xlc), it complained sed: Cannot find or open file /etc/ibmcxx.cfg. Cannot determine compiler invocation names from /etc/ibmcxx.cfg. I saw that /etc/ibmcxx.cfg was a link to ibmcxx.cfg.52, but there was no /etc/ibmcxx.cfg.52 On my AIX 4.3.3 jasper machine, there was /etc/ibmcxx.cfg.41, *.42, and *.43 The 41 & 42 ones were identical, but /etc/ibmcxx.cfg.43 was quite different. I think we need to get a new compiler, e.g. the one described in http://www-306.ibm.com/software/awdtools/xlcp/features/aix/ namely, XL C/C++ Enterprise Edition V7.0 for AIX. ***** After harrassing Eric for 3 months, I've resigned to using gcc, despite Carol's findings that there are troubles with gcc compared to IBM's C/C++ compiler. ============================================================================== To install the extra Linux-y software, mkdir /rhino_dfs mount -r rhino:/dfs /rhino_dfs --------------------------------------------------------------------- - If you get this cryptic error message, - - nfsmnthelp: 1831-019 rhino: System call error number -1. - - - - mount: 1831-008 giving up on: - - rhino:/dfs - - System call error number -1. - - ensure rhino can reverse-resolve the machine you're coming from. - --------------------------------------------------------------------- cd /rhino_dfs/software/base/AIX_Extras Make sure there's 128MB free in the /opt file system rpm -ivh *rpm To get Java and ssh, smitty installp and install everything in this directory. Make sure you go to that "ACCEPT new license agreements?" line on that smitty screen and tab/change it to "yes", else you'll get ------------------------------------------------------------------------------ - LICENSE AGREEMENT FAILURES - - ------------------ - - The software you have selected for installation contains license - - agreement(s) that must be accepted before proceeding. Failure to accept - - the license terms will prevent the installation of the software. - - Accept the license agreement(s) by selecting "yes" in the - - "Accept new license agreements" field or by specifying - - the -Y option to the installp command. - ------------------------------------------------------------------------------ Then apply fixes by cd /rhino_dfs/software/fixes/AI* smitty update_all