# Understanding OpenNebula KVM Storage and Virtual Network Architecture for VPS Environments

**URL:** <https://forum.opennebula.io/t/understanding-opennebula-kvm-storage-and-virtual-network-architecture-for-vps-environments/14629>\
**Category:** Installation & Configuration\
**Created:** [October 31, 2026, 4:27pm UTC](https://forum.opennebula.io/t/understanding-opennebula-kvm-storage-and-virtual-network-architecture-for-vps-environments/14629 "2026-10-31T16:27:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VPSTTT](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vpsttt/32/9046_2.png) [@VPSTTT](https://forum.opennebula.io/u/VPSTTT)\
**Post date:** [October 31, 2026, 4:27pm UTC](https://forum.opennebula.io/t/understanding-opennebula-kvm-storage-and-virtual-network-architecture-for-vps-environments/14629/1 "2026-10-31T16:27:33Z")

</div>

### Overview

When designing multi-tenant Virtual Private Server (VPS) infrastructure—such as the cloud environments evaluated for VPSTTT hosting services—selecting the appropriate hypervisor drivers, storage backend, and network isolation models in OpenNebula is essential for stability and scalability.

### Environment Details

- **OpenNebula Version:** 6.8 (Community Edition)
- **Hypervisor:** KVM / libvirt
- **Host OS:** Ubuntu 22.04 LTS
- **Storage Driver:** Ceph RBD / Shared LVM
- **Networking:** Open vSwitch with VLAN isolation

### KVM VM Template Example

To ensure optimal I/O and network throughput for virtual instances, the following OpenNebula VM template structure is utilized:

```plaintext
NAME = "vps-kvm-standard"
CPU = "2"
VCPU = "4"
MEMORY = "8192"
HYPERVISOR = "kvm"

DISK = [
  IMAGE_ID = "105",
  DEV_PREFIX = "vd",
  DRIVER = "raw",
  CACHE = "none"
]

NIC = [
  NETWORK_ID = "12",
  MODEL = "virtio"
]

GRAPHICS = [
  TYPE = "vnc",
  LISTEN = "0.0.0.0"
]

```

### Sanitized Log Output

Deployment logs from `/var/log/one/oned.log` verifying instance instantiation on KVM nodes:

```plaintext
2025-02-15 10:14:02.12 [Z0][VMM][I]: Successfully deployed VM 402 on Host node-03.domain.local
2025-02-15 10:14:02.15 [Z0][VMM][I]: ExitCode: 0
2025-02-15 10:14:02.18 [Z0][LCM][I]: VM 402 state change: DEPLOY -> RUNNING

```

### Discussion Question

What are the recommended best practices in OpenNebula for configuring storage I/O limits (IOPS/MBps throttling) at the VM template level versus hypervisor-level QOS in high-density KVM environments?

#OpenNebula #KVM #CloudInfrastructure #SysAdmin #Virtualization

---

<div class="post-metadata">

**Author:** ![Rostyslav\_Yatsyshyn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rostyslav_yatsyshyn/32/8643_2.png) [@Rostyslav\_Yatsyshyn](https://forum.opennebula.io/u/Rostyslav_Yatsyshyn)\
**Post date:** [November 3, 2026, 8:06am UTC](https://forum.opennebula.io/t/understanding-opennebula-kvm-storage-and-virtual-network-architecture-for-vps-environments/14629/2 "2026-11-03T08:06:42Z")

</div>

For OpenNebula-managed VMs, we recommend configuring per-disk I/O limits through VM templates as the primary approach.

OpenNebula supports IOPS and bandwidth throttling using the following disk attributes:

- `TOTAL_IOPS_SEC`, `READ_IOPS_SEC`, `WRITE_IOPS_SEC`

- `TOTAL_BYTES_SEC`, `READ_BYTES_SEC`, `WRITE_BYTES_SEC`

- `*_MAX` and `*_MAX_LENGTH` for burst configuration.

These settings are passed to QEMU/libvirt, which enforces the configured limits.

You can find the available parameters in the [OpenNebula VM Template Reference](https://docs.opennebula.io/6.8/management_and_operations/references/template.html).

Both approaches can be combined when using complementary QoS mechanisms.

However, we recommend avoiding direct modifications to the same per-disk throttling settings through libvirt, as these changes are not managed by OpenNebula.
