Using localcli on ESXi for troubleshooting

Just a small ESXi Pro tip this time. I recently had a host that was experiencing issues and the management services were unresponsive. This is a major problem for troubleshooting as the esxcli commandset won’t work anymore at this stage. Now by accident I came across a tip from the …

Transform your server into a stateless F@h appliance

With the worldwide outbreak of the coronavirus the Folding@home project has seen a massive influx of new users donating their computer’s idle CPU cycles to run simulations of protein dynamics in order to help find treatments for diseases such as coronavirus, cancer, alzheimer’s, and more. The people of VMware were …

Round up virtual hard disk size

Quick post of something I ran into this week. When creating new VMs it makes sense to create disks that have a certain size in GB. But sometimes when migrating workload from one platform to another you might see some funky hard disk sizes like this.

Fixing this for …

Clearing ESXi System Event Log (SEL) via PowerCLI

We recently noticed some hosts in our environment that show an alert triggered by ‘Status of other host hardware objects’. Upon further investigation it turned out that this was caused by the system event log (SEL) that is about to run out of space. Now if you don’t mind not …

VMCI Sockets bug and missing MSR partition prevents VSS-aware backup (fixed)

Recently I had to do just that when a customer I recently on-boarded to our vSphere platform was having issues creating a VSS-aware backup. Even a quiesced snapshot command failed with an error. This issue took quite some time to investigate. And I was lucky enough to have a support …

Incorrect PostgreSQL object ownership prevents vCenter upgrade

Recently I had to upgrade a vCenter Server Appliance with embedded PSC from version 6.5 U2e to 6.7 U2c. It seemed a pretty straightforward process like the upgrades I’ve done before. But this time the upgrade failed because of an issue with the PostgreSQL database. I examined the logfiles and …

How to shrink VCSA logical volumes before an upgrade

I found that especially when you migrate Windows vCenter servers to the VCSA you might end up with a deployment size that is less than optimal. Some people say; don’t worry, it’s just thin provisioned. But I’m an old-school guy and I like to keep things neat and simple. The …

What hypervisor is my linux VM running on?

Lately I’ve been responsible for migrating quite some VMs from a Hyper-V platform to vSphere. One of the applications I migrated started experiencing some intermittent network issue. And sure enough it turned out the old VM was started again. This left me wondering; how can I check what hypervisor I’m …