====== AIX Upgrade, postinstall actions ====== ===== Before upgrade ===== Save your ssh key from /etc/ssh directory ===== After upgrade ===== === environment === Check /etc/environment: * change TZ to Europe/Belgium (reboot required) * update PATH if java paths is 14, then set it to 5, or 6_64 === disks path and settings === Update the path setting with the script **/home/scripts/bin/change_disk_param.sh -f** and reboot if needed (check the output) === inittab === Check /etc/inittab, to remove unused entries: for i in pconsole xmdaily webserverstart sniinst atmsvcd mkatmpvc do rmitab $i done === sendmail === Copy the optimized /etc/sendmail.cf from nimsrv, because it's modified during upgrade: scp -p /etc/sendmail.cf labotest:/etc/mail The sendmail.cf file must contain the following Smart Relay Host (DS): [root@safewatchh]/root# grep DSsmt /etc/sendmail.cf DSsmtp.be.dom.com === inetd.conf === Optimize the /etc/inetd.conf to have less entries as possible, the following must be commented: ntalk, xmquery, wsmserver === rc.tcpip === Optimize the /etc/rc.tcpip to have less entries as possible, minimum is portmap and xntpd, and optionally inetd, sendmail === SSH config === Change the SSH config file, to listen on IPV4 only: /etc/ssh/sshd_config Port 22 Protocol 2 #AddressFamily any ListenAddress 0.0.0.0 #ListenAddress :: === crontabs === For user esaadmin, comment the line: 0 3 * * 0 /usr/esa/sbin/esa_awareness For user root, remove the following lines: 55 23 * * * /var/perf/pm/bin/pmcfg >/dev/null 2>&1 #Enable PM Data Collection 59 23 * * * /var/perf/pm/bin/pmcfg -T >/dev/null 2>&1 #Enable PM Data Transmission === Additional packages === Install additional packages if not installed: * Java6_64.sdk === Update old packages === Finish the upgrade if needed, and upgrade additional non AIX software: * To check which filesets are not at right AIX level: instfix -ci | grep :-: === Filesystems used space === Check filesystem space === Check User and Group === Check if all files for user and groups are consistent, and automatically correct errors: pwdck -y ALL grpck -y ALL === Only after AIX migration === * Copy again the /etc/motd from nimsrv * Remove files and directories used for migration into / directory (.SPOT .image* image* lpp_name liblpp.a bosinst.data /root/.rhost ...) * check the number of process per user: lsattr -El sys0 -a maxuproc , if less than 2048, change it with: chdev -l sys0 -a maxuproc=2048