Software Patches

Another system administration task is managing system software patches. A patch is a fix to a reported software problem. Sun will ship several software patches to customers so that problems can be resolved before the next release of software. The existing software is derived from a specified package format that conforms to the ABI.

Patches are identified by unique alphanumeric strings. The patch base code comes first, and then a hyphen, and then a number that represents the patch revision number. For example, patch 110453-01 is a Solaris 8 patch to correct an Admintool problem.

You might want to know more about patches that have previously been installed. Table 12.3 shows commands that provide useful information about patches already installed on a system.

Table 12.3. Helpful Commands for Patch Administration
Command Function
showrev -p Shows all patches applied to a system.
pkgparam <pkgid> PATCHLIST Shows all patches applied to the package identified by <pkgid>.
pkgparam <pkgid> PATCH INFO <patch-number> Shows the installation date and name of the host from which the patch was applied. <pkgid> is the name of the package (for example, SUNWadmap), and <patch-number> is the specific patch number.
patchadd -R <client_root_path> –p Shows all patches applied to a client, from the server’s console.
patchadd -p Shows all patches applied to a system.
patchrm <patchname> Removes a specified patch. <patchname> is the name of the patch to be removed.
smpatch A new tool in Solaris 9 for managing patches.

The tools in Table 12.3 are tools you might already be accustomed to if you’ve managed patches using earlier versions of the Solaris operating environment. New in Solaris 9 is the Patch Manager. Patch Manager helps you manage patches by displaying information about installed patches. It also assists you in adding patches to one or more systems concurrently, removes patches, analyzes a system’s patch requirements, and downloads patches from the SunSolve Online service.

I’ll first describe how to mange patches using the conventional tools described in Table 12.3, and then I’ll describe Patch Manager.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset