Configuring CVM Memory

Sometimes we need to increase the CVM Memory to enable Advanced functionality like Compression, Deduplication, or performance issues.

Memory can be increased from PRISM UI. Setting –> Configure CVM

Specify the desire memory and click Apply. CVM reboot task will be scheduled for all CVMs and memory will be updated.

Memory Increase / Decrease from CLI

Login to AHV host with SSH

List all Virtual Machines on the AHV host.

[root@NTNX-b8c39436-A ~]# virsh list –all

Shutdown the CVM, SSH to CVM

Login to CVM

nutanix cvm_shutdown -P now

Modify the CVM Virtual Machine

nutanix virsh setmaxmem cvm_name –config –size 24GiB

nutanix virsh setmem cvm_name –config –size 24gbGiB

Start CVM Virtual Machine

[root@NTNX-b8c39436-A ~]# virsh list –all

[root@NTNX-b8c39436-A ~]# virsh start cvm_name(get the name from above command)

Leave a comment