Begin Tab Sub Links
* - Third Party Resource (will leave sun.com)

Patching in the Solaris 10 OS

Ginny Henningsen and Karen Perkins, last updated on 2010-01-22

To minimize risk, Solaris Live Upgrade allows you to create an alternate boot environment that is a copy of the current boot environment. You can then upgrade or patch the newly created boot environment while the production boot partition is still active. After the copy is updated, it can be activated as the boot environment.

Figure 3 - Patching
Phase 1: Patching and Upgrading Best Practices

Solaris Live Upgrade, which can be used with Solaris 8, 9, or 10 releases, provides these benefits:

  • Less downtime when patching or upgrading. The only required downtime is the time to boot between the currently running boot environment and the newly upgraded or patched boot environment. The system can remain in production until the time is suitable for booting to the newly upgraded or patched boot environment.

  • Ability to fall back to the original boot environment. If a problem occurs, you can roll back to the original boot environment.

Without Solaris Live Upgrade, it is usually necessary to boot the system in single-user mode and then upgrade the OS or install patches using the patchadd command. Alternatively, Solaris Live Upgrade patches an inactive copy of the boot environment, so the system can continue in production until it is convenient to activate the patched boot partition. See the BigAdmin article How To Use Solaris Live Upgrade to Install Patches for a synopsis of best practices in using this valuable system upgrade and patching tool.

There are a few notable enhancements with Solaris 10 OS patching:

  • For a limited number of Solaris 10 kernel patches, deferred-activation patching is available to patch an active boot partition. See the BigAdmin article What's New in Patching for more info. Also, a free online course, Solaris 10 Patching Best Practices (WS-2700-S10), includes a discussion of this feature. (This training course with Sam the Sysadmin is intended for novice and intermediate sysadmins.)

  • To accelerate patching of multiple non-global zones, the Solaris 10 OS supports a zones parallel patching feature, which is described in this Patch Corner blog entry. This feature saves time since multiple non-global zones can be patched concurrently.

  • The Solaris 10 10/09 release supports turbo packaging, which is described in this Patch Corner blog entry and which helps to improve performance of install, upgrade, Solaris Live Upgrade, and zone creation processes. Turbo packaging uses a daemon to streamline access to /var/sadm/install/contents, preventing I/O to this file from becoming a bottleneck during OS modifications. As a result, installation processes typically take less time.

Visit the BigAdmin Patching Center for the latest information on best practices and resources related to patch management.


Comments (latest comments first)

Discuss and comment on this resource in the BigAdmin Wiki

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.