AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  AIX install date?

    Posted Mon March 27, 2006 03:59 PM

    Originally posted by: SystemAdmin


    Wondering if anyone knows how to determine when an AIX 5L system was installed?

    Many thanks...


  • 2.  Re: AIX install date?

    Posted Tue March 28, 2006 04:21 PM

    Originally posted by: SystemAdmin


    Hi,

    Run:

    lslpp -h bos.rte

    And look for the entry for your oslevel.

    Anders


  • 3.  Re: AIX install date?

    Posted Mon April 16, 2007 12:34 PM

    Originally posted by: SystemAdmin


    What about if the system was created from a mksysb image? Will the output from the lslpp -h bos.rte command report when the local system was created, or when the mksysb's parent system was created?


  • 4.  Re: AIX install date?

    Posted Mon April 16, 2007 01:07 PM

    Originally posted by: orphy


    It should be the parent's since AIX is not going to modify the ODMs to fix
    all those dates.

    ls -l /var/adm/ras/bosinstlog should tell you when the box was loaded.
    Orphy


  • 5.  Re: AIX install date?

    Posted Mon April 16, 2007 01:36 PM

    Originally posted by: SystemAdmin


    Nope - that changes each time the OS is updated, so it will show the latest date the OS wa updated, but not the original install date.


  • 6.  Re: AIX install date?

    Posted Mon April 16, 2007 09:13 PM

    Originally posted by: SystemAdmin


    But if my mechine installed on a fault date,they changed the date later. So the date in the log file is wrong. How to deal with?


  • 7.  Re: AIX install date?

    Posted Fri May 11, 2007 12:46 PM

    Originally posted by: SystemAdmin


    what abt checking the root filesystem is creation time stamp? I assume that it is created when we do install.

    /usr/sbin/getlvcb -AT hd4
    AIX LVCB
    intrapolicy = c
    copies = 2
    interpolicy = m
    lvid = 0000eeba0000d3000000010d4108dd6e.4
    lvname = hd4
    label = /
    machine id = XXXXXXXXXXXX
    number lps = 2
    relocatable = y
    strict = y
    stripe width = 0
    stripe size in exponent = 0
    type = jfs2
    upperbound = 32
    fs = vfs=jfs2:log=/dev/hd8:mount=automatic:type=bootfs:vol=root:free=true
    time created = Thu Aug 24 16:34:58 2006
    time modified = Thu May 10 20:00:14 2007



  • 8.  Re: AIX install date?

    Posted Mon May 23, 2016 10:01 AM

    Originally posted by: Bumbes


    Hi,

     

    have to update this thread as I stumbled upon it after I was asked for an installation date of one of our AIX systems by CMDB mgmt.

    Meanwhile, AIX systems are patched via alt_disk_copy and the rootvg will be re-created, so the timestamp of the LV creation will not count as well.
     

    Partial solution which works fine for me:

    In case the system was installed by NIM there will be a first boot script located in /etc which has the time stamp of the installation as its filename. In case there are multiple ( because of image maintenance ) you have to take the latest.

     

     # ls -ltr /etc/fb_*
    -rwxrwxr-x    1 root     system          598 Oct 29 2010  /etc/fb_14_41_10_29
    -rwx--x--x    1 root     system          422 Mar 25 2011  /etc/fb_09_02_03_25
    

     

    pretty sure the overall valid answer for this question is somewhere out there as well...

     

    Have fun...