One useful operation out of many others is the handling of individual patches.
Say you just want to install the 147441-23 kernel patch.
You just need to:
# smpatch download -t -i 147441-23 > /tmp/README-147441-23
# smpatch download -i 147441-23
# smpatch add -i 147441-23
Patches that are marked interactive must be installed this way.
Until recently, this was the case for Live Upgrade own patches.
Personal notes and recipes, views and opinions.
If it must run, it runs on Solaris!
Saturday, March 3, 2012
Update life-cycle with smpatch
The most basic usage pattern of smpatch comprises the following tasks:
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.
- 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.
Subscribe to:
Posts (Atom)