VMware Host Profile and the the option “uservars.suppressShellWarning” or “UserVars.SuppressHyperthreadWarning”

We had some older VMware hosts where there is a warning about a host being vulnerable to a particular CVE relating to the processor type, in this case the fix was not possible, but we still wanted to suppress the warning. When applying the normal Host Profile it was grumbling about this shell warning, so … Read more

VMware Ansible – Getting Started Examples

Infrastructure as Code (IaC) is managing infrastructure using a DevOps type methodology. Where the current configuration of your infrastructure is represented in code, any additions, changes or deletions are also made through this code. There are various methods to codify your infrastructure, some proprietary like AWS Cloudformation, others are generic like Ansible or Terraform. The … Read more

VMware Host Groups, VM Groups and Rules

The Microsoft licensing agreements are made based on the number of processor cores (or sockets) that are in use by the physical or virtual hosts that make use of Microsoft software. The Microsoft licensing allows for a VMware ESXi host’s CPUs (or cores) to be licensed instead of the vCPU (virtual CPUs) of each virtual … Read more

VMware Check Path Selection Policy for Datastores

The Path Selection Policy is set for devices to determine how the ESXi host will utilise the paths to the storage, for example, you can have “Fixed” or “Round Robin” or “Most Recently Used”, you can also have storage vendor provided ones such as “NIMBLE_PSP_DIRECTED”. The scripts and commands I’ve found keep mentioning “Multipathing”, if … Read more

VMware Datastores Disappear After Rescan

We had a very odd situation occur on one of our VMware ESXi 7.0.3 clusters (VMware ESXi, 7.0.3, 20328353), which is using iSCSI with HPE Nimble Storage. Some new storage was presented to the hosts via iSCSI. The first host was scanned, the datastore prepared as normal. Once complete, then started to perform a re-scan … Read more