Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of...
-
Upload
todd-white -
Category
Documents
-
view
222 -
download
0
Transcript of Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of...
![Page 1: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/1.jpg)
Managing Software Patches
04/20/23 1
![Page 2: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/2.jpg)
Introducing Solaris OE PatchesA patch contains collection of files and
directoriesPatch replaces existing files and directories
that prevent proper execution of the softwareSome patches contain product enhancements
04/20/23 2
![Page 3: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/3.jpg)
Solaris OE Patch types:Standard patches
Patches that fix specific problems
Recommended patchesSolaris OE patches that fix problems that might
occur on a large percentage of systems
Y2K patchesPatches that ensure compliance of Sun
Products with the year 2000
04/20/23 3
![Page 4: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/4.jpg)
Patch clustersA group of standard, recommended, security,
or Y2K packages that have been bundled into a single archive for easy downloading and installation
Maintenance UpdateA set of patches that have been tested together
and packaged for one-step installation
04/20/23 4
![Page 5: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/5.jpg)
A patch is distributed as a directoryIdentified by a unique number
105050-01105050 is the base code01 is the revision numberPatches are in zip format (105050-01.zip)
04/20/23 5
![Page 6: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/6.jpg)
Accessing Patch DocumentsWorld Wide Web
http://sunsolve.sun.comPatch update CD-ROMAnonymous FTP
Sunsolve.sun.comLocated in the /pub/patches directory
04/20/23 6
![Page 7: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/7.jpg)
Patch Documents and FilesSolaris9.PatchReport
A summary of all patches for the Solaris 9 OE release
9_Recommended.READMEInstructions 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
04/20/23 7
![Page 8: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/8.jpg)
Checking Patch LevelsBefore 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
04/20/23 8
![Page 9: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/9.jpg)
Preparing patches for installationDownload 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
04/20/23 9
![Page 10: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/10.jpg)
Installing a PatchWhen 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
04/20/23 10
![Page 11: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/11.jpg)
Removing a PatchWhen removing a patch, the “patchrm”
command restores all files that were modified or replaced by that patch, unless:The patch is required by another patchThe patch has been obsoleted by a later patchThe patch was installed with the “patchadd -d”
option
04/20/23 11
![Page 12: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/12.jpg)
“# patchrm 105050-01”
04/20/23 12
![Page 13: Managing Software Patches 10/15/20151. Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.](https://reader034.fdocuments.net/reader034/viewer/2022051214/56649ec05503460f94bcb0f5/html5/thumbnails/13.jpg)
Installing Patch ClustersBe sure the patch cluster has been
unzipped or uncompressed and extractedDecide 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
04/20/23 13