Download
solaris 10 oe n.
Skip this Video
Loading SlideShow in 5 Seconds..
Solaris 10 OE PowerPoint Presentation
Download Presentation
Solaris 10 OE

Solaris 10 OE

122 Views Download Presentation
Download Presentation

Solaris 10 OE

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Solaris 10 OE Managing Software Patches

  2. Introducing Solaris OE Patches • A patch contains collection of files and directories • Patch replaces existing files and directories that prevent proper execution of the software • Some patches contain product enhancements

  3. Solaris OE Patch types: • Standard patches • Patches that fix specific problems • Recommended patches • Solaris OE patches that fix problems that might occur on a large percentage of systems • Y2K patches • Patches that ensure compliance of Sun Products with the year 2000

  4. Patch clusters • A group of standard, recommended, security, or Y2K packages that have been bundled into a single archive for easy downloading and installation • Maintenance Update • A set of patches that have been tested together and packaged for one-step installation

  5. A patch is distributed as a directory • Identified by a unique number • 105050-01 • 105050 is the base code • 01 is the revision number • Patches are in zip format (105050-01.zip)

  6. Accessing Patch Documents • World Wide Web • http://sunsolve.sun.com • Patch update CD-ROM • Anonymous FTP • Sunsolve.sun.com • Located in the /pub/patches directory

  7. Patch Documents and Files • Solaris9.PatchReport • A summary of all patches for the Solaris 9 OE release • 9_Recommended.README • Instructions for how to install the recommended patch cluster for the Solaris 9 OE, as well as any important notes or warnings, special installation instructions, and usually a note to reboot the system

  8. Checking Patch Levels • Before installing OE patches, you should know about patches that have been previously installed on a system • “# showrev -p” • “# patchadd -p” • Historical information about all patches that are currently installed on a system and that can be uninstalled is stored in the “/var/sadm/patch” directory

  9. Preparing patches for installation • Download the patches to the local system and place it in “/var/tmp” directory (open to all directory) • Solaris 7,8,9 OE patches are in .zip format, unzip to unpack the patch files • “# /usr/bin/unzip 105050-01.zip” • Earlier versions user compressed tar file in a “tar.z” format, for uncompressing “zcat” command is used

  10. Installing a Patch • When a patch is installed “patchadd” command calls the “pkgadd” command to install the patch packages • “# cd /var/tmp” • “# patchadd 105050-01” • “# patchadd -d 105050-01” - will not save copies of file being updated or replace

  11. Removing a Patch • When removing a patch, the “patchrm” command restores all files that were modified or replaced by that patch, unless: • The patch is required by another patch • The patch has been obsoleted by a later patch • The patch was installed with the “patchadd -d” option

  12. “# patchrm 105050-01”

  13. Installing Patch Clusters • Be sure the patch cluster has been unzipped or uncompressed and extracted • Decide on which method to use to install the cluster - the recommended default save option or the “-nosave” option • Change to the directory that contains the patch cluster • “# cd patch_cluster_directory” • “# ./install_cluster