Finding vCenter when it's Down
We’ve all probably been in this situation: vCenter has experienced a catastrophic failure and isn’t even responding to ping, so you need to get console access in order to resolve the issue. The challenge is that the VM could be running on any of 16 ESXi hosts in your cluster. Generally, I like to create DRS Host Affinity rules for the vCenter and its SQL server so that I know which host those VMs should be running on during normal operations, but if HA has been busy they could still be anywhere. That means that you need to find those VMs in order to troubleshoot, which could take a while. Instead of opening 16 vSphere Client instances, each connected directly to an ESXi host in your environment, there’s a much easier way to find those VMs: PowerCLI! PowerCLI can query a whole array of ESXi servers fairly quickly, returning the host(s) that you need to log the vSphere Client into in order to fix things. To do this, you’ll need to change your PowerCLI instance to allow multiple VI