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 […]

More...

Terraform Basics (with VMware)

Hashicorp’s Terraform is an Infrastructure as Code (IaC) declarative language that allows you to define the existence and state of objects within your infrastructure and then publish this new state to your infrastructure. Terraform is agnostic of platform, you can use a wide range of “providers” to manage a number of different infrastructure components from […]

More...

Resolve Missing Dependencies VIBs Error VMware Upgrade 6.7 to 7.x

You may see the following error when attempting to perform an upgrade to a host, the issue is also described in: https://www.vcloudnine.de/upgrade-to-esxi-7-0-missing-dependencies-vibs-error/ We came across this issue when attempting to upgrade to version 7.0.3 of VMware ESXi, these hosts had some driver VIB updates performed over their lifetime to remediate PSOD issues. Upon attempting an […]

More...

Problems Using SCP to Upload a File to a vCenter Appliance (e.g. with WinSCP)

If you are having trouble uploading a file via SCP to vCenter then VMware provide a great document on how to resolve this. You’ll be seeing an error like: https://kb.vmware.com/s/article/2107727 Essentially what you need to do is logon via SSH to vCenter, swap the Shell to BASH, upload the file, then swap the Shell back […]

More...

Unable to Remove Host from vSphere Distributed Switch (The resource ‘105’ is in use)

We were performing the migration to new Distributed Switches (running a later version) ready for our vCenter 7.x and ESXi 7.x upgrade and when attempting to remove a host from a distributed switch we got this error: VMware has an article KB76959 that describes this issue, however in our case rather than the VM (or […]

More...

Testing iSCSI Connectivity from VMware ESXi to Storage

If you wish to test the connectivity through from your VMware ESXi host through to its storage when using iSCSI you can perform steps such as the following described within: https://kb.vmware.com/s/article/1003728 Firstly run this to get your list of vmKernel ports: Assuming you’ve labelled the vmKernel ports you use for iSCSI with something sensible you […]

More...