|
|||
Solaris Virtualization Product Overview 1. Introduction to Solaris 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. About Packages and Patches on a Solaris System With Zones Installed (Overview) Packaging and Patch Tools Overview How Zone State Affects Patch and Package Operations About Removing Packages in Zones Applying Patches on a Solaris System With Zones Installed Removing Patches on a Solaris System With Zones Installed 25. Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Tasks) 26. Solaris Zones Administration (Overview) 27. Administering Solaris Zones (Tasks) 28. Troubleshooting Miscellaneous Solaris Zones Problems 29. About Branded Zones and the Linux Branded Zone 30. Planning the lx Branded Zone Configuration (Overview) 31. Configuring the lx Branded Zone (Tasks) 32. About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview) 33. Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks) 34. Logging In to lx Branded Zones (Tasks) 35. Moving and Migrating lx Branded Zones (Tasks) 36. Administering and Running Applications in lx Branded Zones (Tasks) 37. Sun xVM Hypervisor System Requirements 38. Booting and Running the Sun xVM Hypervisor 40. Using virt-install to Install a Domain |
About Adding Packages in ZonesThe pkgadd system utility described in the pkgadd(1M) man page is used to add packages on a Solaris system with zones installed. Using pkgadd in the Global ZoneThe pkgadd utility can be used with the -G option in the global zone to add the package to the global zone only. The package is not propagated to any other zones. Note that if SUNW_PKG_THISZONE=true, you do not have to use the -G option. If SUNW_PKG_THISZONE=false, the -G option will override it. When you run the pkgadd utility in the global zone, the following actions apply.
Adding a Package to the Global Zone and to All Non-Global ZonesTo add a package to the global zone and to all non-global zones, execute the pkgadd utility in the global zone. As the global administrator, run pkgadd without the -G option. A package can be added to the global zone and to all non-global zones without regard to the area affected by the package. The following steps are performed by the pkgadd utility:
Adding a Package to the Global Zone OnlyTo add a package to the global zone only, as the global administrator in the global zone, execute the pkgadd utility with the -G option only. A package can be added to the global zone if the following conditions are true:
The following steps are performed by the pkgadd utility:
Adding a Package Installed in the Global Zone to all Non-Global ZonesTo add a package that is already installed in the global zone to all non-global zones, you must currently remove the package from the global zone and reinstall it in all zones. These are the steps used to add a package that is already installed in the global zone to all of the non-global zones:
Using pkgadd in a Non-Global ZoneTo add a package in a specified non-global zone, execute the pkgadd utility, without options, as the zone administrator. The following conditions apply:
The following steps are performed by the pkgadd utility:
|
||
|