Previous Topic: dpmzone-createandinstallzone Command--Create and Install a ZoneNext Topic: dpmzone-createproject Command--Create a Project (Funclet)


dpmzone-createpool Command--Create a Resource Pool (Funclet)

The dpmzone-createpool command creates a resource pool on a Solaris 10 host.

This command has the following format:

dpmzone-createpool 
-host hostname 
-pset_name pset 
-cpu_min mincpu 
-cpu_max maxcpu 
-pool_name pool 
-sched_type sched
-host hostname

Specifies the Solaris Zones server. This parameter is case-sensitive.

-pset_name pset

Defines the processor set. Each processor set (grouping of CPUs) can contain zero or more CPUs.

-cpu_min mincpu

Defines the minimum number of CPUs in the processor set.

-cpu_max maxcpu

Defines the maximum number of CPUs in the processor set.

-pool_name pool

Defines the name of the pool with which you associate the zone.

-sched_type shed

Specifies the type of scheduler used to allocate CPU time based on shares. Shares are the portion of the system CPU resources allocated to a project. Options include the following:

ts

Specifies the Time Share Scheduler which fairly allots CPU resources to every process and does not concentrate CPU resources on a particular process. ts is the default scheduler for the Solaris operating environment.

fss

Specifies the Fair Share Scheduler which allows you to allocate CPU time based on shares.

Example

Create the resource pool POOL1 on host SolarisServer2.

dpmzone-createpool -host SolarisServer2 -pset_name PSET1 -cpu_min 1 -cpu_max 20 
-pool_name POOL1 -sched_type FSS