Previous Topic: dpmzone-renamezone Command--Rename a Zone (Funclet)Next Topic: dpmzone-setprocessorset Command--Set the Maximum Number of CPUs for a Processor Set (Funclet)


dpmzone-setpoolscheduler Command--Set the Pool Scheduler (Funclet)

The dpmzone-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 
-host hostname 
-pool_name poolname 
-sched_type sched
-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.

Examples

Set the scheduling for the Resource Pool to the Fair Share Scheduler:

dpmzone-setpoolscheduler 
-host SolarisServer 
-pool_name test_pool 
-sched_type FSS

Set the scheduling for the Resource Pool to the Time Share Scheduler.

dpmzone-setpoolscheduler 
-host SolarisServer 
-pool_name test_pool 
-sched_type TS