6.5. Server Pool Policies

6.5.1. Distributed Resource Scheduler (DRS)
6.5.2. Distributed Power Management (DPM)
6.5.3. DRS/DPM Network Policies

This section discusses the policies you can set to manage server pools, the Oracle VM Servers and virtual machines in server pools, and the networks used in a server pool.

6.5.1. Distributed Resource Scheduler (DRS)

The Distributed Resource Scheduler (DRS) optimizes virtual machine resource utilization in a server pool. DRS automatically moves running virtual machines to another Oracle VM Server in a server pool if any of the Oracle VM Servers exceed a specified CPU threshold for a specified period of time. DRS continuously samples performance data from every Oracle VM Server and every virtual machine.

The movement of virtual machines is policy-driven. When a threshold is reached, Oracle VM Manager live migrates the running virtual machine from one Oracle VM Server to another, without down time. Oracle VM Manager allows you to specify a DRS threshold for each server pool, and to choose which Oracle VM Servers participate in the policy.

See Section 6.8.5, “Editing Server Pool Policies” for information on enabling and configuring the DRS in a server pool.

6.5.2. Distributed Power Management (DPM)

Distributed Power Management (DPM) is used when there are periods of relative low resource utilization to increase the consolidation ratio on fewer Oracle VM Servers. DPM dynamically migrates virtual machines from under-utilized Oracle VM Servers. When there are Oracle VM Servers without virtual machines running the Oracle VM Server can be powered off, conserving power until the Oracle VM Server is needed again.

DPM aims to keep only the minimum necessary number of Oracle VM Servers running. If a periodic check reveals that a Oracle VM Server's CPU utilization is operating at below a user-set level, virtual machines are live migrated to other Oracle VM Servers in the same server pool.

When all virtual machines are migrated, the Oracle VM Server is shut down.

If an Oracle VM Server exceeds the DPM policy CPU threshold, Oracle VM Manager looks for other Oracle VM Servers to migrate virtual machines to from the busy Oracle VM Server. If no powered Oracle VM Servers are available, Oracle VM Manager finds and starts a powered-off Oracle VM Server to power on. When that Oracle VM Server is running, Oracle VM Manager off-loads the virtual machines from the busy Oracle VM Server to the newly started Oracle VM Server.

Oracle VM Manager allows you to specify a DPM threshold for each server pool, and to choose which Oracle VM Servers participate in the policy.

See Section 6.8.5, “Editing Server Pool Policies” for information on enabling and configuring DPM in a server pool.

6.5.3. DRS/DPM Network Policies

Both the DRS and DPM policies can also be set for the networks used by Oracle VM Servers in a server pool. When a network used by an Oracle VM Server exceeds its threshold, virtual machines are migrated to other Oracle VM Servers to either balance the resources used (DRS), or reduce the power used (DPM). Each network on an Oracle VM Server can have a threshold set. The threshold applies to either the received data or the transmitted data. If the threshold is set to say 50%, when an Oracle VM Server's receive or transmit traffic on that network exceeds 50% of the theoretical capacity of the network, the Oracle VM Server is deemed to be over the threshold. The theoretical capacity of a network on an Oracle VM Server is equal to the port speed of the physical Ethernet adapter on the Oracle VM Server. If the network is bonded in a fail-over configuration, then the port capacity is equal to the port speed of one of the Ethernet adapters. If the network is bonded on a Oracle VM Server with link aggregation, then the network capacity is equal to the sum of the speed of the bonded Ethernet adapters.

You set the network policies for DRS and DPM when you set up the server pool policy. See Section 6.8.5, “Editing Server Pool Policies” for information on enabling and configuring network DRS and DPM policies in a server pool.