...
API Name | API parameters | API response | Available only for root admin |
---|---|---|---|
Addcluster | apart form the existing parameters we are adding cpuovercommitratio and ramovercommitratio | will contain additional details of cpu and ram overcommit ratios | yes |
UpdateOvercommitRatio Updatecluster | cpuovercommitratio, ramovercommitratio memoryovercommitratio | returns the detais of the updated cluster along with the overcommit ratios | yes |
*All the perameters are optional but of the two parameters in bold atleast one is required.
If value is not provided we default it to 1, meaning no overcommiting of resources by default.
...
1.) All VMs should have a ballon driver installed in them. The hypervisor communicates with the ballon driver to free up and make the memory available to a guest. So in case of
XenSever.
The ballon driver can be found as a part of xen pv or PVHVM drivers. The xen pvhvm drivers are included in upstream linux kernels 2.6.36+. *
VMware.
In case of VMware the ballon deiver can be found as a part of the vmware tools. All the guests that are deployed in a overcommit cluster should have the vmware tools installed.
*KVM
All the guest are required to support the virtio drivers. All the linux kernels>= 2.6.25 have them installed. Admin needs to activate it. It can be done by setting CONFIG_VIRTIO_BALLOON=y in the virtio configuration.
2.) Hypervisor capabilities.
The hypervisor should be capable of using the memory ballooning. Each of the hypervisor provides their own feature to support ballooning. *
xenserver
The DMC (Dynamic Memory Control)capability of the hypervisor should be enabled. only xenserver Advanced and above versions have this feature.
*VMware & KVM.
The memory ballooning is supported by default.
...