0

Hot-add feature is disable in the vcenter therefore we need to shutdown the Linux OS in order to update the memory.

Since we cant shutdown the linux machine, and we must increase the memory of the linux VM machine, we want to know if there are maybe workarounds where we can update the memory online withou shutting down the machines.

Is it possible?

links - https://www.altaro.com/vmware/vmware-hot-add/

  • 'since we cant shutdown the linux machine' - why not? Just shutdown the VCSA, attach directly to the host that owns it, upgrade the memory, restart it - it's that simple. – Chopper3 Mar 11 '19 at 11:21
  • Do you want to increase the memory of vcenter itself, or a linux vm that is running on a vcenter managed host? – Gerald Schneider Mar 11 '19 at 11:22
  • we want to increase the memory of the linux OS itself , but for now we not allowed to shutdown the linux , so we need to add memory online – shalom Mar 11 '19 at 11:42
1

No, this is not possible in your situation. Enabling hot-add functionality has to be done while the VM is off.

You really need to take the downtime hit and right-size your Linux virtual machine's memory.

In general, I don't utilize memory and CPU hot-add in VMware because there's a small bit of overhead and it discourages better planning.

See this discussion for other pros/cons, though.

  • on redhat 7 when this hot-add is enabled we can update the memory online without problem for example we can increase the mem from 64G to 128G and it will be immediately effected on the OS – shalom Mar 11 '19 at 14:43
  • > In general, I don't utilize memory and CPU hot-add in VMware because there's a > small bit of overhead and it discourages better planning. In my experience, it's the other way round... we always enable hot-add for CPU and RAM and tell people to start with small VMs. If they need more CPUs or RAM we can do it on the fly... otherwise, people tend to plan for worst case scenarios in order to avoid downtime and order morde ressources than they actually need. – Mario Lenz Mar 20 '19 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.