Remediation did not succeed

I was patching a lot of ESXi hosts but had some trouble with one of the clusters. Remediation did not work and in the Events for the first host I saw two events:Could not install patches on <host name>Remediation did not succeed for <host name> A quick search on the…

Troubleshooting Host Profiles

A while ago I was working with host profiles to get the hosts compliant with the CIS Benchmarks (https://www.cisecurity.org/benchmark/vmware/). But for some reason, I could not remediate some of the hosts. Issue #1 The error I got was pretty generic… I started looking at log files and decided to download…

ESXi Events flooded… Firewall configuration has changed.

I was investigating an event that would appear every two minutes, flooding the Events on the host. So the first event in the sequence is “Port vmk1 is now protected by Firewall”. Followed by “Firewall configuration has changed. Operation ‘allowall’ for rule set iSM succeeded” and finally “Firewall configuration has…

YAMS – Yet Another Migration Script

I was asked if I could write a script that could be used for moving VMs to another data center location. Sounds easy right? Well, there were some specific requirements that made it a bit more challenging… Downtime for the VMs should be kept to a minimum. Some clusters re-use…

Migrating Windows PSC to VCSA – failed to send HTTP data

I was working on a migration to get rid of a vCenter/PSC running on a Windows server. So I started the VMware Migration Assistant on the PSC that I wanted to migrate. Then I started the vCenter Server Appliance Installer on a different Windows server and filled in the configuration…

Upgrading ESXi 6.0 hosts with PowerCLI

The last step in my migration project was to actually upgrade the hosts to a supported version. This means that all hosts are upgraded to 6.7 except for those hosts that are a bit to old and only support 6.5. For the upgrade, I used Update Manager to store the…

Migrating ESXi Hosts to Another vCenter Server

As part of a migration project, ESXi hosts needed to be migrated to a new vCenter appliance. The Cisco 1000v distributed virtual switch was stripped out and converted to standard switches. So basically it was a matter of disconnecting, and removing the hosts from the old vCenter and adding them…

Building a lab – recurring issues

As I am preparing for an exam (VCAP Network Virtualization Deployment) is started a rebuild of my lab. During this process, I encountered several issues. With this post I keep track of all the issues and solutions. Keep in mind that I try to write them down in the order…