Presentation is loading. Please wait.

Presentation is loading. Please wait.

Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.

Similar presentations


Presentation on theme: "Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files."— Presentation transcript:

1 Managing Software Patches 10/15/20151

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 10/15/20152

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 10/15/20153

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 10/15/20154

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) 10/15/20155

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 10/15/20156

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 10/15/20157

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 10/15/20158

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/15/20159

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 10/15/201510

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 10/15/201511

12 “# patchrm 105050-01” 10/15/201512

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 10/15/201513


Download ppt "Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files."

Similar presentations


Ads by Google