Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 11.1 Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management Oracle Solaris 11.1 Information Library |
Part I Oracle Solaris Resource Management
1. Introduction to 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)
Administering Resource Pools (Task Map)
Enabling and Disabling the Pools Facility
How to Enable the Resource Pools Service Using svcadm
How to Disable the Resource Pools Service Using svcadm
How to Enable the Dynamic Resource Pools Service Using svcadm
How to Disable the Dynamic Resource Pools Service Using svcadm
How to Enable Resource Pools Using pooladm
How to Disable Resource Pools Using pooladm
How to Create a Static Configuration
How to Associate a Pool With a Scheduling Class
How to Set Configuration Constraints
How to Define Configuration Objectives
How to Set the poold Logging Level
How to Use Command Files With poolcfg
How to Move CPUs Between Processor Sets
Activating and Removing Pool Configurations
How to Activate a Pools Configuration
How to Validate a Configuration Before Committing the Configuration
How to Remove a Pools Configuration
Setting Pool Attributes and Binding to a Pool
How to Bind Processes to a Pool
How to Bind Tasks or Projects to a Pool
How to Set the project.pool Attribute for a Project
How to Use project Attributes to Bind a Process to a Different Pool
Using poolstat to Report Statistics for Pool-Related Resources
Displaying Default poolstat Output
Producing Multiple Reports at Specific Intervals
Reporting Resource Set Statistics
14. Resource Management Configuration Example
15. Introduction to Oracle Solaris Zones
16. Non-Global Zone Configuration (Overview)
17. Planning and Configuring Non-Global Zones (Tasks)
18. About Installing, Shutting Down, Halting, Uninstalling, and Cloning Non-Global Zones (Overview)
19. Installing, Booting, Shutting Down, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)
20. Non-Global Zone Login (Overview)
21. Logging In to Non-Global Zones (Tasks)
22. About Zone Migrations and the zonep2vchk Tool
23. Migrating Oracle Solaris Systems and Migrating Non-Global Zones (Tasks)
24. About Automatic Installation and Packages on an Oracle Solaris 11.1 System With Zones Installed
25. Oracle Solaris Zones Administration (Overview)
26. Administering Oracle Solaris Zones (Tasks)
27. Configuring and Administering Immutable Zones
28. Troubleshooting Miscellaneous Oracle Solaris Zones Problems
Part III Oracle Solaris 10 Zones
29. Introduction to Oracle Solaris 10 Zones
30. Assessing an Oracle Solaris 10 System and Creating an Archive
31. (Optional) Migrating an Oracle Solaris 10 native Non-Global Zone Into an Oracle Solaris 10 Zone
32. Configuring the solaris10 Branded Zone
33. Installing the solaris10 Branded Zone
You can set a project.pool attribute to associate a resource pool with a project.
You can bind a running process to a pool in two ways:
You can use the poolbind command described in poolbind(1M) command to bind a specific process to a named resource pool.
You can use the project.pool attribute in the project database to identify the pool binding for a new login session or a task that is launched through the newtask command. See the newtask(1), projmod(1M), and project(4) man pages.
The following procedure uses poolbind with the -p option to manually bind a process (in this case, the current shell) to a pool named ohare.
# poolbind -p ohare $$
$ poolbind -q $$ 155509 ohare
The system displays the process ID and the pool binding.
To bind tasks or projects to a pool, use the poolbind command with the -i option. The following example binds all processes in the airmiles project to the laguardia pool.
# poolbind -i project -p laguardia airmiles
You can set the project.pool attribute to bind a project's processes to a resource pool.
# projmod -a -K project.pool=poolname project
Assume you have a configuration with two pools that are named studio and backstage. The /etc/project file has the following contents:
user.paul:1024::::project.pool=studio user.george:1024::::project.pool=studio user.ringo:1024::::project.pool=backstage passes:1027::paul::project.pool=backstage
With this configuration, processes that are started by user paul are bound by default to the studio pool.
User paul can modify the pool binding for processes he starts. paul can use newtask to bind work to the backstage pool as well, by launching in the passes project.
$ newtask -l -p passes
$ poolbind -q $$ 6384 pool backstage
The system displays the process ID and the pool binding.