VMware
Disabling the Balloon Driver
Warning
This is the process of disabling the 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 toremove the entry.
Rodrigo de Avila