Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones |
1. Introduction to Solaris 10 Resource Management
2. Projects and Tasks (Overview)
3. Administering Projects and Tasks
4. Extended Accounting (Overview)
5. Administering Extended Accounting (Tasks)
6. Resource Controls (Overview)
7. Administering Resource Controls (Tasks)
8. Fair Share Scheduler (Overview)
9. Administering the Fair Share Scheduler (Tasks)
10. Physical Memory Control Using the Resource Capping Daemon (Overview)
11. Administering the Resource Capping Daemon (Tasks)
13. Creating and Administering Resource Pools (Tasks)
14. Resource Management Configuration Example
15. Resource Control Functionality in the Solaris Management Console
16. Introduction to Solaris Zones
17. Non-Global Zone Configuration (Overview)
18. Planning and Configuring Non-Global Zones (Tasks)
19. About Installing, Halting, Cloning, and Uninstalling Non-Global Zones (Overview)
20. Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)
21. Non-Global Zone Login (Overview)
22. Logging In to Non-Global Zones (Tasks)
23. Moving and Migrating Non-Global Zones (Tasks)
24. Solaris 10 9/10: Migrating a Physical Solaris System Into a Zone (Tasks)
25. About Packages and Patches on a Solaris System With Zones Installed (Overview)
What's New in Packaging and Patching When Zones Are Installed
Packaging and Patch Tools Overview
Patches Generated for Packages
How Zone State Affects Patch and Package Operations
About Adding Packages in Zones
Using pkgadd in the Global Zone
Adding a Package to the Global Zone and to All Non-Global Zones
Adding a Package to the Global Zone Only
Adding a Package Installed in the Global Zone to all Non-Global Zones
Using pkgadd in a Non-Global Zone
About Removing Packages in Zones
Using pkgrm in the Global Zone
Removing a Package From the Global Zone and From all Non-Global Zones
Using pkgrm in a Non-Global Zone
Setting Package Parameters for Zones
SUNW_PKG_ALLZONES Package Parameter
SUNW_PKG_HOLLOW Package Parameter
SUNW_PKG_THISZONE Package Parameter
Solaris 10 8/07: Deferred Activation Patching
Solaris 10 10/09: Zones Parallel Patching to Reduce Patching Time
Applying Patches on a Solaris System With Zones Installed
Using patchadd in the Global Zone
Using patchadd in a Non-Global Zone
Interaction of patchadd -G and the pkginfo Variable on a System With Zones
Removing Patches on a Solaris System With Zones Installed
Using patchrm in the Global Zone
Using patchrm in a Non-Global Zone
26. Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Tasks)
27. Solaris Zones Administration (Overview)
28. Solaris Zones Administration (Tasks)
29. Upgrading a Solaris 10 System That Has Installed Non-Global Zones
30. Troubleshooting Miscellaneous Solaris Zones Problems
31. About Branded Zones and the Linux Branded Zone
32. Planning the lx Branded Zone Configuration (Overview)
33. Configuring the lx Branded Zone (Tasks)
34. About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview)
35. Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks)
36. Logging In to lx Branded Zones (Tasks)
37. Moving and Migrating lx Branded Zones (Tasks)
38. Administering and Running Applications in lx Branded Zones (Tasks)
It is best to keep the software installed in the non-global zones in sync with the software installed in the global zone to the maximum extent possible. This practice minimizes the difficulty in administering a system with multiple installed zones.
To achieve this goal, the package tools enforce the following rules when adding or removing packages in the global zone.
If the package is not currently installed in the global zone and not currently installed in any non-global zone, the package can be installed:
Only in the global zone, if SUNW_PKG_ALLZONES=false
In the current (global) zone only, if SUNW_PKG_THISZONE=true
In the global zone and all non-global zones
If the package is currently installed in the global zone only:
The package can be installed in all non-global zones.
The package can be removed from the global zone.
If a package is currently installed in the global zone and currently installed in only a subset of the non-global zones:
SUNW_PKG_ALLZONES must be set to false.
The package can be installed in all non-global zones. Existing instances in any non-global zone are updated to the revision being installed.
The package can be removed from the global zone.
The package can be removed from the global zone and from all non-global zones.
If a package is currently installed in the global zone and currently installed in all non-global zones, the package can be removed from the global zone and from all non-global zones.
These rules ensure the following:
Packages installed in the global zone are either installed in the global zone only, or installed in the global zone and all non-global zones.
Packages installed in the global zone and also installed in any non-global zone are the same across all zones.
The package operations possible in any non-global zone are:
If a package is not currently installed in the non-global zone, the package can be installed only if SUNW_PKG_ALLZONES=false.
The package can be installed in the current (non-global) zone, if SUNW_PKG_THISZONE=true.
If a package is currently installed in the non-global zone:
The package can be installed over the existing instance of the package only if SUNW_PKG_ALLZONES=false.
The package can be removed from the non-global zone only if SUNW_PKG_ALLZONES=false.