JavaScript is required to for searching.
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
search filter icon
search icon

Document Information

Preface

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)

12.  Resource Pools (Overview)

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

Configuring Pools

How to Create a Static Configuration

How to Modify a 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

Transferring Resources

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

Part II Oracle Solaris Zones

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

34.  Booting a Zone, Logging in, and Zone Migration

Glossary

Index

Enabling and Disabling the Pools Facility

You can enable and disable the resource pools and dynamic resource pools services on your system by using the svcadm command described in the svcadm(1M) man page.

You can also use the pooladm command described in the pooladm(1M) man page to perform the following tasks:


Note - When a system is upgraded, if the resource pools framework is enabled and an /etc/pooladm.conf file exists, the pools service is enabled and the configuration contained in the file is applied to the system.


How to Enable the Resource Pools Service Using svcadm

  1. Become root or assume an equivalent role.
  2. Enable the resource pools service.
    # svcadm enable system/pools:default

How to Disable the Resource Pools Service Using svcadm

  1. Become root or assume an equivalent role.
  2. Disable the resource pools service.
    # svcadm disable system/pools:default

How to Enable the Dynamic Resource Pools Service Using svcadm

  1. Become root or assume an equivalent role.
  2. Enable the dynamic resource pools service.
    # svcadm enable system/pools/dynamic:default

Example 13-1 Dependency of the Dynamic Resource Pools Service on the Resource Pools Service

This example shows that you must first enable resource pools if you want to run DRP.

There is a dependency between resource pools and dynamic resource pools. DRP is now a dependent service of resource pools. DRP can be independently enabled and disabled apart from resource pools.

The following display shows that both resource pools and dynamic resource pools are currently disabled:

# svcs "*pool*"
STATE          STIME    FMRI
disabled       2011     svc:/system/pools:default
disabled       2011     svc:/system/pools/dynamic:default

Enable dynamic resource pools :

# svcadm enable svc:/system/pools/dynamic:default
# svcs -a | grep pool
STATE          STIME    FMRI
disabled       2011     svc:/system/pools:default
offline        2011     svc:/system/pools/dynamic:default

Note that the DRP service is still offline.

Use the -x option of the svcs command to determine why the DRP service is offline:

# svcs -x "*pool*"
svc:/system/pools:default (resource pools framework)
 State: disabled since Sat Feb 12 02:36:15 2011
Reason: Disabled by an administrator.
   See: http://support.oracle.com/msg/SMF-8000-05
   See: libpool(3LIB)
   See: pooladm(1M)
   See: poolbind(1M)
   See: poolcfg(1M)
   See: poolstat(1M)
Impact: This service is not running.

svc:/system/pools/dynamic:default (dynamic resource pools)
 State: disabled since Sat Feb 12 02:36:16 2011
Reason: Disabled by an administrator.
   See: http://support.oracle.com/msg/SMF-8000-05
   See: poold(1M)
Impact: This service is not running.

Enable the resource pools service so that the DRP service can run:

# svcadm enable svc:/system/pools:default

When the svcs "*pool*" command is used, the system displays:

# svcs "*pool*"
STATE          STIME    FMRI
online         2011     svc:/system/pools/dynamic:default
online         2011     svc:/system/pools:default

Example 13-2 Effect on Dynamic Resource Pools When the Resource Pools Service Is Disabled

If both services are online and you disable the resource pools service:

# svcadm disable svc:/system/pools:default 

When the svcs "*pool*" command is used, the system displays:

# svcs "*pool*"
STATE          STIME    FMRI
disabled       2011     svc:/system/pools:default
online         2011     svc:/system/pools/dynamic:default

However, the DRP service eventually moves to offline because the resource pools service has been disabled:

# svcs "*pool*"
STATE          STIME    FMRI
disabled       2011     svc:/system/pools:default
offline        2011     svc:/system/pools/dynamic:default

Determine why the DRP service is offline:

# svcs -x "*pool*"
svc:/system/pools:default (resource pools framework)
 State: disabled since Sat Feb 12 02:36:15 2011
Reason: Disabled by an administrator.
   See: http://support.oracle.com/msg/SMF-8000-05
   See: libpool(3LIB)
   See: pooladm(1M)
   See: poolbind(1M)
   See: poolcfg(1M)
   See: poolstat(1M)
Impact: 1 dependent service is not running.  (Use -v for list.)

svc:/system/pools/dynamic:default (dynamic resource pools)
 State: offline since Sat Feb 12 02:36:15 2011
Reason: Service svc:/system/pools:default is disabled.
   See: http://support.oracle.com/msg/SMF-8000-GE
   See: poold(1M)
   See: /var/svc/log/system-pools-dynamic:default.log
Impact: This service is not running.

Resource pools must be started for DRP to work. For example, resource pools could be started by using the pooladm command with the -e option:

# pooladm -e

Then the svcs "*pool*" command displays:

# svcs "*pool*"
STATE          STIME    FMRI
online         2011     svc:/system/pools:default
online         2011     svc:/system/pools/dynamic:default

How to Disable the Dynamic Resource Pools Service Using svcadm

  1. Become root or assume an equivalent role.
  2. Disable the dynamic resource pools service.
    # svcadm disable system/pools/dynamic:default

How to Enable Resource Pools Using pooladm

  1. Become root or assume an equivalent role.
  2. Enable the pools facility.
    # pooladm -e

How to Disable Resource Pools Using pooladm

  1. Become root or assume an equivalent role.
  2. Disable the pools facility.
    # pooladm -d