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


dpmzone createpool Command--Create Resource Pool

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

This command has the following format:

dpmzone createpool
[-sc sc_host]
-host hostname
-pset_name pset
-cpu_min mincpu
-cpu_max maxcpu
-pool_name pool
-sched_type sched
[-pre]
[-post]
[-locale iso639value]

-sc sc_host

(Optional) Specifies the host name of the Service Controller.

-host hostname

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

-pset_name pset

Defines the name of 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

Specifies 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.

-post

(Optional) Specifies whether to generate an event after the operation is performed.

-pre

(Optional) Specifies whether to generate an event before the operation is performed.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

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