Wednesday, September 17, 2008

Solaris 10 patching zones

How to Apply a Patch to the Global Zone Only
global# patchadd -G patch_id


How to Apply a Patch to the Global Zone and All Non-Global Zones
global# patchadd patch_id

How to Apply a Patch to a Specified Non-Global Zone Only
To apply a patch to a specified non-global zone only,
the SUNW_PKG_ALLZONES package parameter for all packages
in the patch set must be set to false.

local-zone# patchadd patch_id

How to Remove a Patch From the Global Zone and All Non-Global Zones
global# patchrm patch_id

How to Remove a Patch From a Specified Non-Global Zone Only
To remove a patch from a specified non-global zone only,
the SUNW_PKG_ALLZONES package parameter for all packages
in the patch set must be set to false.

my-zone# patchrm patch_id