Where is my vCenter VM?

By | January 12, 2015

If you have a big VMware infrastructure and need to solve any problem with vCenter VM, it is not a seldom problem that it is difficult to know where (exactly, on which ESXi host) the VM is located.

How to mitigate that problem? Generally, depends on size of infrastructure, I recommend two options:

Dedicated Management Cluster

The Management Cluster hosts all of the critical vCloud infrastructure components (e.g. vCenter, VUM, SRM, SSO, AD etc). Separating infrastructure components from production resourcesĀ  improves manageability of the vCloud infrastructure (e.g. search vCenter VM šŸ˜‰

DRS rule for vCenter VM

If you have not a big infrastracture enough to have the management cluster, you can use VM-Host Affinity rule. It allows you to pin vCenter on to a set of ESXi hosts (I recommend 2 hosts)Ā  andĀ  prevent DRS from auto-migrating theĀ virtual machinesĀ toĀ other ESX hosts.

To create an affinity Rule in vCenter, see the below steps:

  1. Right click the Cluster > Edit Settings.
  2. Enable DRS, if it is not already enabled.
  3. Click Rules > Add.
  4. Click the DRS Groups Manager tab.
  5. Click Add under Host DRS Groups to create a new Host DRS Group containing the hosts in the cluster that you want to tie the VMs to.
  6. Click Add under Virtual Machine DRS Groups to create a Virtual Machine DRS Group for all of the virtual machines that you want to tie to hosts listed in the Host group created above
  7. Click the Rule tab, give the new rule a name and from the Type drop-down menu, click Virtual Machines to Hosts.
  8. Under Cluster Vm Group select the newly created VM group.
  9. Select Must run on hosts in group
  10. Under Cluster Host Group select the newly created Cluster Host Group and click OK.
Author: Mariusz

Architect (~ 15 years experience based on passion...) with strong background as a System Administrator and Engineer. Focused on Data Center Solutions: Virtualization/Cloud Computing and Storage/Backup Systems. Currently living in Poland.