vmware
disabling the balloon driver
WARNING
this is the process of disabling balloon driver for linux machines only
you need to set the maximum balloon size to zero.
- using the vsphere client, connect to the vcenter server or the esxi/esx host where the virtual machine resides
- log into the esxi/esx host as a user with administrative rights
- shut down the virtual machine
- right-click the virtual machine listed on the inventory panel and click edit settings
- click the options tab, then under advanced, click general
- click configuration parameters
- click add row and add the parameter
sched.mem.maxmemctlin the text box - click on the row next to it and add
0in the text box - click ok to save changes
re-enable the balloon driver in a virtual machine
- using the vsphere client, connect to the vcenter server or the esxi/esx host where the virtual machine resides
- shut down the virtual machine if it is powered on
- ssh to the esxi/esx host. for more information, see connecting to an esx host using an ssh client
- change directory to the datastore where the virtual machine's configuration file resides
- back up the virtual machine's configuration file
- edit the virtual machine's configuration file (
virtual_machine_name.vmx) and remove the linesched.mem.maxmemctl = "0" - save and close the file
- power on the virtual machine
WARNING
you cannot remove the entry via the configuration parameters ui once it has been added. you must edit the configuration file (.vmx) for the virtual machine to remove the entry.