Table of Contents

AIX Upgrade, postinstall actions

Before upgrade

Save your ssh key from /etc/ssh directory

After upgrade

environment

Check /etc/environment:

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:

Update old packages

Finish the upgrade if needed, and upgrade additional non AIX software:

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