Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Oracle Solaris Zones, Oracle Solaris 10 Containers, and Resource Management Oracle Solaris 11 Express 11/10 |
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, Halting, Uninstalling, and Cloning Non-Global Zones (Overview)
19. Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)
20. Non-Global Zone Login (Overview)
21. Logging In to Non-Global Zones (Tasks)
22. Moving and Migrating Non-Global Zones (Tasks)
23. About Packages on an Oracle Solaris 11 Express System With Zones Installed
24. Oracle Solaris Zones Administration (Overview)
25. Administering Oracle Solaris Zones (Tasks)
26. Troubleshooting Miscellaneous Oracle Solaris Zones Problems
Part III Oracle Solaris 10 Zones
27. Introduction to Oracle Solaris 10 Zones
28. Assessing an Oracle Solaris 10 System and Creating an Archive
30. Configuring the solaris10 Branded Zone
31. Installing the solaris10 Branded Zone
32. Booting a Zone and Zone Migration
33. solaris10 Branded Zone Login and Post-Installation Configuration
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.
For more information about roles, see Configuring and Using RBAC (Task Map) in System Administration Guide: Security Services.
# 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.
For more information about roles, see Configuring and Using RBAC (Task Map) in System Administration Guide: Security Services.
# poolbind -i project -p laguardia airmiles
You can set the project.pool attribute to bind a project's processes to a resource pool.
For more information about roles, see Configuring and Using RBAC (Task Map) in System Administration Guide: Security Services.
# 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.