Previous Topic: dpmzone renamezone Command--Rename a ZoneNext Topic: dpmzone setprocessorset Command--Set the Maximum Number of CPUs for a Processor Set


dpmzone setpoolscheduler Command--Set the Pool Scheduler

The setpoolscheduler command sets the type of scheduler to use for the resource pool. Resource pools can have two scheduler types, the Fair Share Scheduler (FSS) and the Time Share Scheduler (TS).

This command has the following format:

dpmzone setpoolscheduler
[-sc sc_host]
-host hostname
-pool_name poolname
-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.

-pool_name poolname

Specifies an associated group of resources that can be partitioned.

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

-pre

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

-post

(Optional) Specifies whether to generate an event after 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: Set the Pool Scheduler to FSS

This example sets the scheduling for the Resource Pool using the Fair Share Scheduler.

dpmzone setpoolscheduler -host SolarisServer -pool_name test_pool 
-sched_type FSS

Example: Set the Pool Scheduler to TS

This example sets the scheduling for the Resource Pool using the Time Share Scheduler.

dpmzone setpoolscheduler -host SolarisServer -pool_name test_pool 
-sched_type TS