Libro sobre Proxmox maestria
Chapter 4
Our nested cluster is completely isolated from the rest of the physical cluster with a separate subnet. Internet connectivity is provided to the nested environment by using a virtualized firewall 1001-scce-fw-01.
Like the hotplugging option, nesting is also not enabled in the Proxmox cluster by default. Enabling nesting will allow nested virtual machines to have KVM hardware virtualization, which increases the performance of nested virtual machines. To enable KVM hardware virtualization, we have to edit the modules in /etc/ of the physical Proxmox node and <vmid>.conf of the virtual machine. We can see that the option is disabled for our cloned nested virtual machine in the following screenshot:
No 201 (template-Ubuntu) ISO-nfs-01 (pmxvm01) local (pmxvm01) nas-iscsi-01 (pmxvm01) nas-lvm-01 (pmxvm01) vm-nfs-01 (pmxvm01)
OS Type Boot order Use tablet for pointer ACPI support SCSI Controller Type KVM hardware virtualization order=any
ISO-nfs-01 (pmxvm02) local (pmxvm02) nas-iscsi-01 (pmxvm02) nas-lvm-01 (pmxvm02)
No CPU units
Freeze CPU at startup
No Use local time for RTC vm-nfs-01 (pmxvm02)
No RTC start date now
Enabling KVM hardware virtualization
KVM hardware virtualization can be added just by performing the following few additional steps:
1. In each Proxmox node, add the following line in the /etc/modules file: kvm-amd nested=1
2. Migrate or shut down all virtual machines of Proxmox nodes and then reboot.