Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

Applying a Patch to a Solaris System With Zones Installed

You can use the patchadd system utility described in the patchadd(1M) man page to perform the following tasks:

  • Apply a patch to the global zone only

  • Apply a patch to the global zone and all non-global zones

  • Apply a patch to specified non-global zone only

How to Apply a Patch to the Global Zone Only

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. Execute the patchadd command with the -Goption, followed by the patch ID.
    global# patchadd -G patch_id

How to Apply a Patch to the Global Zone and All Non-Global Zones

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. Execute the patchadd command followed by the patch ID.
    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.

You must be the zone administrator in the non-global zone to perform this procedure.

  1. Log in to the non-global zone as the zone administrator.
  2. While in the non-global zone, my-zone in this procedure, execute the patchadd command followed by the patch ID.
    my-zone# patchadd patch_id
Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire