Oslevel shows wrong AIX’s level. Why

Sometimes we see our AIX box with a lower oslevel than it really have. Why?

This is due to filesets with a lower level than the system have. What happened?

Let explain that with an example.

Today I have installed AIX 7.1 TL3 SP1 on my box.

‘oslevel’ command shows:

1
2
# oslevel -s
7100-03-01-1341

Everything is OK but months later I have noted oslevel command shows a lower level. In this case AIX7.1 TL0 SP10, see:

1
2
# oslevel -s
7100-00-10-1334

What’s going on?

Let’s check which Technology level (TL) my box has installed:

1
2
3
4
5
6
7
8
# oslevel -samples
oslevel -r
Known Recommended Maintenance Levels
------------------------------------
7100-03
7100-02
7100-01
7100-00

It says it has 4 TLs and the latest is TL3 when ‘oslevel -s’ command says it has TL0.

So, checking ‘man oslevel’, there are an option ‘-rl’ for ‘oslevel’ command  that means:
    To list which software is below AIX Version 5.3 technology level 1, type:
           oslevel -r -l 5300-01

Running ‘oslevel’ with this option, we’ll see which filesets are causing my oslevel lower:

1
2
3
4
# oslevel -rl 7100-03
Fileset                                 Actual Level           Recommended ML
-----------------------------------------------------------------------------
xlsmp.rte                               1.7.0.0                3.1.0.6

In this case, fileset xlsmp.rte  needs to be updated from version 1.7.0.0  to 3.1.0.6 in order to up to level TL3.

Finally we update OS level from NIM or other media, as shown below:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...Verifying requisites...done
Results...
 
SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.
 
  Selected Filesets
  -----------------
   xlsmp.rte   3.1.0.6  # SMP Runtime Library
    
  << End of Success Section >>
 
+-----------------------------------------------------------------------------+
                   BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
    1  Selected to be installed, of which:
        1  Passed pre-installation verification
  ----
    1  Total to be installed
 
RESOURCES
---------
  Estimated system resource requirements for filesets being installed:
                (All sizes are in 512-byte blocks)
      Filesystem                     Needed Space             Free Space
      /usr                                   72                6963016
      -----                            --------                 ------
      TOTAL:                                 72                6963016

Now, it’s time to run again ‘oslevel -s’ command and verify it’s OK.

1
2
# oslevel -s
7100-03-01-1341

Just thanks if the post was helpful

5 (1)
Article Rating (1 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX Assign a PVID to a new hdisk
Viewed 6180 times since Tue, Jul 17, 2018
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 29373 times since Thu, Jun 21, 2018
O’Reilly’s CD bookshelf
Viewed 11285 times since Wed, Jun 27, 2018
How to check dual path in AIX
Viewed 12871 times since Fri, Jun 8, 2018
Using the AIX splitvg command
Viewed 3897 times since Mon, Jun 3, 2019
Configure log file for cron daemon on AIX
Viewed 9822 times since Thu, Feb 21, 2019
AIX - How to get network speed and statistic of ethernet adapter in AIX
Viewed 11985 times since Fri, Jun 8, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 3356 times since Thu, Feb 21, 2019
DISK OPERATION ERROR in AIX
Viewed 13301 times since Thu, Feb 21, 2019
Using AIX VG mirroring in combination with hardware snapshots
Viewed 4595 times since Sat, May 25, 2019