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

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...