Saturday, March 3, 2012

Update life-cycle with smpatch

The most basic usage pattern of smpatch comprises the following tasks:

  • Identify all patches that are needed to fully update the system.
     
    $ smpatch analyze
     
  • Apply all the patches needed to fully update the system.
     
    # smpatch update
     
  • Gracefully reboot the system.
     
    # init 6

The analysis can be saved for further information or later reference.
The default allows the immediate installation of patches with no special handling.
Reboots are frequent due to the nature of many patches, such as kernel and drivers.