Quick Tip: Disable memory warnings on VMs with NVIDIA GPU profiles

When using PCI passthrough devices such as for example NVIDIA GPUs with VMware vSphere and configure the VMs with a GPU profile, the full memory is reserved (100% Memory Active). When the VM is active, a red “Virtual Machine memory usage” alarm is displayed in the vCenter for every VM.

I see this behavior in a lot of  VDI environments with PCI passthrough GPU cards. Customers I work for ask me to disable this annoying alarm. This can be easily done in the vSphere Client by disabling the “Virtual machine memory usage” alarm:

When using PowerCLI this can be done with the following command:

Get-AlarmDefinition -Name Virtual machine memory usage | Set-AlarmDefinition -Enabled:$false  
comments powered by Disqus