Thursday, April 26, 2012

Update AIX 7.1 Service Packs

Make sure that all current filesets are commited by running installp -s or lslpp -l
# installp -s
   installp:  No filesets were found in the Software
        Vital Product Database in the APPLIED state.
To cleanup  the repository images of your installation directory. If you have committed all the fixes and don't need these files anymore..
#/usr/lib/instl/lppmgr -d /usr/sys/inst.images -l -b -x  -r -e
  lppmgr: Source table of contents location is /usr/sys/inst.images/.toc
  lppmgr: Building table of contents in /usr/sys/inst.images ..
  dsm.core.7.1.1.1.U
  mcr.rte.7.1.1.1.U
  security.pkcs11.7.1.1.1.U
  sysmgt.cfgassist.7.1.0.15.U
======================== end list ==============================

Run the inutoc command, this creates the .toc file in Directory. If a .toc file already exists, it is recreated with new information. The default installation image Directory is/usr/sys/inst.images. The inutoc command adds table of contents entries in the .toc file for every installation image in Directory. To create .toc file for /usr/sys/inst.images
# inutoc /usr/sys/inst.images
Optional--Not needed to run --To rename the downloaded files to their fileset name, run the bffcreate command. After renaming the files, run the inutoc command again.
# bffcreate -c -d /usr/sys/inst.images
# inutoc /usr/sys/inst.images
Run smit update_all to install all updates from this package that apply to the installed filesets on your system, select the Installation Directory, make sure expand filesystem as required..
# smit update_all
   



 Reboot the system if required