Installing and configuring the vSphere CSI Driver in K3S

Environment: vSphere 7. VM Hardware Version 19 Two VMs running Debian 11.9 SSH Enabled Root login via SSH enabled. Not best practise, but as this is a lab, I did not want to troubleshoot permission related issues. Edit /etc/ssh/sshd_config Add "PermitRootLogin: yes" Restart SSHD - systemctl restart sshd Install govc root@control1:~# export GOVC_INSECURE=1 root@control1:~# export GOVC_URL='https://administrator@vsphere.local:<PASSWORD>@vc802.gs.labs' root@control1:~# curl -L -o - "https://github.com/vmware/govmomi/releases/latest/download/govc_$(uname -s)_$(uname -m).tar.gz" | tar -C /usr/local/bin -xvzf - govc Enable UUID # List existing VMs using govc ls /Datacenter/vm/VMName root@control1:~# govc vm....

February 16, 2024 · 8 min · Jahnin Rajamoni

Troubleshoot vSphere HA - FDM configuration failures

vSphere HA configuration failures has been a regular issue as long as I can remember - usually a result of environmental issues. Recently I came across an issue where vSphere HA will not configure after upgrading to vCenter 7.0u2d HA configuration will fail with the error Setting desired image spec for cluster failed From the vpxd logs, the wrong version of the vib 7.0.2-18455215 was being pushed to the hosts. The vib that had to be pushed to the hosts should be 7....

October 5, 2021 · 5 min · Jahnin Rajamoni

Invalid Credentials with two way transitive Forest Trust

Was stumped by a recent escalation. vSphere throws invalid credentials when logging in with a user who is part of another active directory forest. Some background info: Both the forests are in a two way transitive trust vCenter was joined with integrated windows authentication to a primary domain in one of the forests' This is supported as per this VMware KB No DNS related issues. Forward/Reverse lookup works fine. Logs just reported the error Native platform error [code: 851968]...

September 24, 2021 · 3 min · Jahnin Rajamoni

Where are vCenter Advanced Settings saved?

Recently, we had to prove to a customer that the vCenter advanced settings that we were seeing on the html5 client was not cached in the browser(long story) So where are vCenter advanced settings saved? All advanced settings are saved in the VPX_PARAMETER table in the vCenter DB. If you’re using vCenter Server appliance,  Connect to the vCenter Server DB:  /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres List the contents of the VPX_PARAMETER table select \* from VPX\_PARAMETER;

May 20, 2021 · 1 min · Jahnin Rajamoni

How is percentage entitled resource delivered calculated in vSphere DRS?

In the DRS Resource Distribution Chart, CPU utilization is displayed on a per virtual machine basis, grouped by host. The chart shows information for each virtual machine as a colored box, which symbolizes the percentage of entitled resources that are delivered to it. If the virtual machine is receiving its entitlement, this box should be green. If you hold the pointer over the box for a virtual machine, its utilization information (Consumed versus Entitlement) is displayed....

December 17, 2015 · 1 min · Jahnin Rajamoni