vMotion The operation is not allowed in the current state

It’s a normal day of making configuration changes to our ESXi hosts. As I’m making my way down the the line hosts, I find a single host that will not complete the entering maintenance mode task. Upon further investigation, I see that it’s a single VM holding up the process. Under “Tasks”, it says “The…

Read more...

vSAN Objects Inaccessible

While building out a new vSAN Cluster, I received an error for the vSAN object health. I clicked the “Repair Objects Immediately” button, and it thought about it for a minute – but ultimately it was a wasted effort. The “Purge Inaccessible VM Swap Objects” button was up next. But unfortunately, like its partner, it…

Read more...

NFS Performance Decreases after Host Reboot

So you just completed a round of firmware updates (everyone’s favorite!), and all of your hosts have been rebooted. Within a few days your customers are complaining about poor performance on their VMs. It has to be something on their side, right? Well, not necessarily. There is a bug in ESXi 6.5, and 6.7 where…

Read more...

Cannot Complete File Creation Operation

After performing a Veeam Instant Recovery, I was able to bring the customer virtual machine back online in a few short minutes. We had the customer kick the tires to make sure everything was copacetic. Once I got the green light, I started to storage vMotion the VM to a Production datastore. Almost immediately it…

Read more...

vMotion: Launch Failure

Engineers are always diligent about patching, especially when it comes to the lab (wink wink). So being the diligent engineer that I am, yesterday afternoon I setup a job in Update Manager to patch all my hosts in my cluster. I stepped away to run an errand, and when I came back my first host…

Read more...

Port Information on a Standard Switch

There will undoubtedly come a time where you question the port configuration on your ESXi server. The Facilities team is telling you that that there’s absolutely no way they fubar’d the configuration. The NetOps team says the switch configuration is sound. Yet your host continues to have issues with communication. Without physically inspecting the server,…

Read more...

Modify SNMP with ESXCLI V2

If you’ve ever used the Get-EsxCli command then you are familiar with the the positional variables and the army of $nulls. For example, setting SNMP in the past would consist of something like this: $esxcli.system.snmp.set($null,’$community’,$true,$null,$null,$null,$null,’162′,$null,$null,$null,$null,$null,’192.168.22.64/public’,$null,$null) Each parameter (16 for SNMP as of ESXi 6.7) needs to have either a value or $null. This is tedious…

Read more...

Failed to load SELinux Policy Freezing

Failed to load SELinux policy freezing. Well, that’s a new one – at least for me. So what went wrong? While performing some configuration changes on one of my Linux hosts, I needed to temporarily disable SELinux to test. Easy enough, right? Edit /etc/selinux/config and change SELINUX to disabled. Changes made, host rebooted. I go…

Read more...