Sample Exchange

 View Only

VMCO - Virtual Machine Compute Optimizer 

Nov 09, 2023 09:31 AM

This repository is a Powershell module that can be installed to calculate Virtual Machines' optimal vCPU configuration (number of sockets and cores) based on the physical NUMA of the host it is running on, and the minimums in the cluster. It will also make recommendations based on host Power Policy, cluster HW inconsistency, and changes in host or VM advanced settings.

The calculations are based on Mark Achtemichuk's Blog on Virtual Machine vCPU and vNUMA Rightsizing - Guidelines 

How to install (2 options):

  • Install the Powershell Module
    • Install the module for current user: Install-Module VMCO -Scope CurrentUser
    • Install the module for everyone (requires privilege escalation): Install-Module VMCO
    • Instructions: Get-Help Get-OptimalvCPU -Full
  • Manually install from files you can download below
    • Copy the VMCO folder to a Powershell Path Run the command $Env:Path Copy the VMCO folder to one of those paths (ie, C:\Users\%USERNAME%\Documents\WindowsPowerShell\Scripts)
    • Instructions: Same as above, or reference the "Documentation - Virtual Machine Compute Optimizer.pdf" file included in the download

Requirements:

  • Powershell v5 or higher (come on...upgrade to Powershell Core!)
  • PowerCLI v 11.0.0.10380590 or higher (it will probably run on earlier versions, but has not been tested on lower versions) 
  • VMware PowerCLI Module
  • Connection to one or more vCenter Servers (Connect-VIServer) 

#PowerShell
#ESXi
#Apache2.0
#vSphere
#vSphereCLI
#vSphere

Statistics
3 Favorited
107 Views
1 Files
0 Shares
26 Downloads
Attachment(s)
zip file
VMCO-master.zip   466 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Comments

Nov 14, 2024 05:14 PM

@TorstenGraf, apologies for responding so late to this question, but migrating many of our resources under Broadcom took some things offline for a bit, and catching up.  Per @Mark Achtemichuk "The output is still very relevant for all VMs that were not created using vSphere 8.x's new vToloplogy feature".  I hope that answers your question!

Nov 30, 2023 07:17 AM

Hello - I have one question. After the changes regarding NUMA in 6.5, is the output from the VMCO still valid for 7.x or 8.x?

Related Entries and Links

No Related Resource entered.