Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/product/cloud_system_administration/scheduler/drs.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ OpenNebula DRS employs an integer linear programming (ILP) solver to optimize Cl

A VM might be migrated to another Host or another datastore, but can't change both Host and datastore simultaneously.

Migration recommendations can be made for the VMs in the following [states]({{% relref "product/operation_references/configuration_references/vm_states#vm-states" %}}): `ACTIVE`/`RUNNING`, `SUSPENDED`, or `POWEROFF`. VMs in the `UNDEPLOYED` and `STOPPED` states are not considered. If the Cluster contains a VM in any other state, resource optimization is skipped.

## Configuration and Usage

**To enable OneDRS**: In Sunstone, go to **Infrastructure -> Clusters**, select the relevant Cluster then click **Enable OneDRS** in the **OneDRS** tab. Alternatively, in the Cluster template set the `ONE_DRS` configuration attribute.
Expand Down Expand Up @@ -75,6 +77,7 @@ The Load Balancing policy can combine multiple performance indicators:
- **CPU Usage**: Load distribution based on actual CPU utilization of the VM.
- **CPU Capacity**: Allocation based on requested CPU (the VM template attribute).
- **Memory Usage**: Balancing based on requested memory.
- **Storage Space**: Balancing based on the storage space of the datastores.
- **Disk I/O**: Consideration of read/write operations.
- **Network Traffic**: Optimization based on network throughput.

Expand All @@ -87,9 +90,12 @@ ONE_DRS=[
DISK_WEIGHT="0.5",
MEMORY_WEIGHT="0",
NET_WEIGHT="0",
STORAGE_WEIGHT="0",
... ]
```

**Note:** Storage space balancing assumes that each datastore represents an independent storage capacity. Datastores sharing the same underlying storage resource report the same total, used, and free space. Therefore, they should be avoided. For accurate balancing, configure datastores so that each one maps to a distinct storage capacity resource.

### Predictive DRS

OneDRS allows balancing based on monitored or predicted values. A **prediction weight** between `0` and `1` determines the influence of forecasts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ Datastore Migration allows the transfer of a VM's disk images and associated fil

Depending on the state of the VM and the underlying storage drivers, OpenNebula supports two primary methods:

* **Cold Storage Migration**: Performed when the VM is in a POWEROFF or UNDEPLOYED state. The disks are moved physically between datastores before the VM is resumed.
* **Cold Storage Migration**: Performed when the VM is in a POWEROFF or SUSPENDED state. The disks are moved physically between datastores before the VM is resumed.

* **Live Storage Migration**: Performed while the VM is RUNNING. OpenNebula coordinates with the hypervisor to mirror disk writes to the new destination in real-time, ensuring zero downtime for the workload.

Expand Down
Loading