Software that is distributed to fix a problem in a product is called an update. All software products have a version number and a release number that identify the release level of the product. In addition to this, product updates are assigned a modification level number and a fix level number to identify the level of the update. See 4.2 Understanding Maintenance Levels for information on maintenance levels.
Suppose that you have your system currently running 4.3.1.0, and all the filesets are at 4.3.1.0 maintenance level. IBM has just released a latest maintenance level for systems on 4.3.1.0. You have to upgrade your system to bring it to the latest maintenance level.
Bringing a system to the latest maintenance level involves a number of steps that are listed below:
The lslpp command displays information about installed filesets or fileset updates. The FilesetName parameter is the name of a software product. The FixID (also known as PTF or program temporary fix ID) parameter specifies the identifier of an update to an AIX 3.2 formatted fileset. In order to see what maintenance level your filesets are currently on, use the command:
lslpp -l
This will list all the software that is installed on your system showing the
current maintenance level. An output similar to Figure 25
is shown.
Figure 25: lslpp -l Command Output
IBM provides a number of mirrored sites on the Internet where you may freely
download AIX-related fixes. The current anonymous FTP
servers are shown in Table 21.

Table 21: Current FTP Servers
IBM also provides access to an emergency fix server located in the U.S. using anonymous FTP: software.watson.ibm.com (129.34.139.5)
To help customers browse and download fixes stored at the fix sites, IBM has released a freely available service tool called FixDist. FixDist is a tool designed to enable customers to select and download a fix and any necessary requisite fixes.
FixDist and the user guide are available using an anonymous FTP from any of the servers listed above. Many of these sites are also Web servers (an example URL is: http://service.software.ibm.com).
Once you have installed and set up the FixDist tool on your AIX system, the next step is to download the updates you want. On the command line, enter:
A screen similar to Figure 26 is
shown.
Figure 26: fixdist - Step 1
In this case, you have chosen to download all our PTFs to the /ptf file system. It is possible that you might be running a number of different releases of AIX in your environment. In this case, it is recommended that you keep your update downloads in different directories naming them according to the release level. In this example, we will be moving our AIX 4.3.1 updates to the /ptf/aix431 directory.
FixDist will download all the fixes in the directory given at the start of the FixDist process as shown in Figure 26. All the files are downloaded in the bff format. bff stands for Backup File Format, which means that the file was created using the AIX backup command and can be read using the AIX restore command. In addition to the .bff files, .info files are also downloaded that give a brief summary of what the fileset is for and what has been fixed by this fileset.
If you apply updates frequently and keep all the updates in the same directory, then the .toc file might be outdated. The command installp uses the .toc file to carry out installations. In order to have the correct and latest software installed when you actually do the installation, it is recommended that you rebuild the .toc file. This can be done by using the inutoc command. The general syntax of inutoc command is:
inutoc [Directory name]
The inutoc command creates a .toc file for directories that have backup format file install images. This command is used automatically by the installp command and the install script if no .toc file is present but is not run if a .toc file already exists.
Once you have downloaded all the fixes into the /ptf directory, the next step is to install them and bring your system to the latest maintenance level. In this section, the following procedures are discussed:
You can download an individual fix using FixDist following the same procedure given in 4.6.2 Downloading Fixes . In order to find out if a fix is installed on your system or to install a fix, use the instfix command. The general syntax of the instfix command is as follows:
instfix [ -T ] [ -s String ] [ -S ] [ -k Keyword | -f File ] [ -p ] [ -d Device ] [ -i [ -c ] [ -q ] [ -t Type ] [ -v ] [ -F ] ] [ -a ]
The general flags used with instfix command are given in
Table 22.

Table 22: instfix Command Flags
The instfix command allows you to install a fix or set of fixes without knowing any information other than the Authorized Program Analysis Report (APAR) number or other unique keywords that identify the fix.
Any fix can have a single fileset or multiple filesets that comprise that fix. Fix information is organized in the Table of Contents (TOC) on the installation media. After a fix is installed, fix information is kept on the system in a fix database. The instfix command can also be used to determine if a fix is installed on your system.
On the command line, enter:
# instfix -ivk IX57214 IX57214 Abstract: dce login returns error without prompt for password Fileset dce.client.core.rte.security:2.1.0.10 is applied on the system. Fileset dce.msg.en_US.client.core.rte:2.1.0.6 is applied on the system. All filesets for IX57214 were found.
In order to list all the fixes that are installed on your system enter the command:
# instfix -iv
IX81899 Abstract: HOT: lava asserted
Fileset bos.net.nfs.cachefs is not applied on the system.
Fileset bos.net.nfs.client:4.3.2.0 is applied on the system.
All filesets for IX81899 were found.
IX81900 Abstract: HOT:titan crashed on 9832B
Fileset bos.net.nfs.cachefs is not applied on the system.
Not all filesets for IX81900 were found.
You can also use SMIT to find out what fixes are installed on your system. Use the SMIT fast path:
A screen similar to Figure 28 is
shown.
Figure 28: instfix Device Input
In order to install the fixes using SMIT, use the SMIT fast path:
The system will update the maintenance level of the fileset you selected. You have successfully updated the maintenance level of your software.
In order to install all new fixes that are available through IBM, use the fast path:
A screen similar to Figure 30 is shown.
Figure 30: update_all - Step 1
A screen similar to Figure 31 is shown.
Figure 31: update_all - Step 2
Once you are sure that there are no prerequisites that you are missing, you can do the actual installation. This procedure will update your software to the latest maintenance level.
In order to view the new maintenance level of your software, on the command line enter:
lslpp -l
This will show you the latest maintenance level of the filesets including those you just updated.