Virtualization cannot be enabled within a ThinkAgile CP Cloud Controller instance's OS, even though Nested Virtualization is enabled in the instance's profile.
Nested virtualization can be enabled by turning on the VT-x flag in the ThinkAgile CP Cloud Controller user interface. However, only nested KVM hypervisors are supported.
Hyper-V or ESX hypervisors cannot be run within a ThinkAgile CP Cloud Controller instance.
To enable nested virtualization, follow these steps:
- Shut down all the instances on which you wish to run a hypervisor.
- Select the Nested Virtualization checkbox in the instance Profile page in ThinkAgile CP.
- Use SSH or open the hardware console to connect to each compute node with the username, manager and the password that you set when the hardware was registered.
- Execute the following command and re-enter the manager password to become root.
- Execute the following command:
cat /sys/module/kvm_intel/parameters/nested
If N is returned, proceed with the remaining steps. Otherwise, if Y is returned, no further actions need to be taken on that compute node.
- Reboot the compute node.
- Log back into the compute node and execute the following command a second time:
cat /sys/module/kvm_intel/parameters/nested
It should return Y.
- Start the instances.
You can now install and run hypervisors within the instances.