VMware Cloud Community
richard612
Enthusiast
Enthusiast

I think someone disabled ballooning at the host level...

I have a pair of 5.1 hosts under considerable memory pressure.  They are compressing and swapping but not ballooning.  I suspect some Wise Guy disabled ballooning at the host level.  Which advanced setting controls this?

thx!

0 Kudos
3 Replies
LucianoPatrão

Hi,

If I remember is disable/enabled at VM level and not Host level. IT uses VM guest OS because VMware tools is included in the balloon driver.

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
0 Kudos
LNCHAARY
Contributor
Contributor

HI,

Ballooning is something done through drivers in VMware tools at virtual machine level. First check if the affected VMs has VMware tools installed, as ballooning cannot work without it.

- If you feel someone has intentionally done it, then refer below KB to check for places to see if the ballooning is disabled or not.

VMware KB: Disabling the balloon driver

Thanks,

Chaary

* Mark the reply as Answer if you feel you got what you were looking for.

0 Kudos
Yogesh_Darwade
Contributor
Contributor

To enable the balloon driver in a virtual machine:

  1. Using the vSphere Client, connect to the vCenter Server or the ESXi/ESX host where the virtual machine resides.
  2. Shut down the virtual machine if it is powered on.
  3. SSH to the ESXi/ESX host. For more information, see Connecting to an ESX host using an SSH client (1019852).
  4. Change directory to the datastore where the virtual machine's configuration file resides.
  5. Back up the virtual machine's configuration file.
  6. Edit the virtual machine's configuration file (virtual_machine_name.vmx) and remove this entry:

    sched.mem.maxmemctl = "0"

  7. Save and close the file.
  8. Power on the virtual machine.

OR

To enable the Balloon driver of the particular virtual machine.Browse towards the virtual Machine Configuration file that .VMX file and remove the below entry

sched.mem.maxmemctl = “0”

Save and Exit from editing. The memory balloon driver is enabled. (See the attachement)

0 Kudos