ESXi host hangs when shutting down a VM that has a pcie pass through device - NVIDIA Quadro P600

On ESXi 7.x, one of my VMs caused the whole esxi host to hang. Only way to recover was through a hard reset. The root cause was due to the pass through Nvidia Qaudro P600 Adapter I had configured on the VM. During VM shutdown, the PCI reset function caused the host to hang. The following articles helped me: Reddit VMware KB Few of the PCI reset types are: Function Level Reset (FLR) Secondary Bus Reset Link Disable/Enable Device power state transition (D0 > D3hot > D0; non-standard reset method) To resolve the issue,...

March 5, 2024 · 3 min · Jahnin Rajamoni

Boot the ESXi Installer Using Netbootxyz and iPXE

As one of my boot drives failed, i had to reinstall esxi. I did not want to go throught the hassle of creating a bootable usb drive and decided to give PXE boot a try. While there are a lot of articles on manually creating a tftp server for PXE boot, netboot.xyz is by far the easiest way to go about setting up PXE boot for various operating systems. from https://netboot....

January 24, 2024 · 7 min · Jahnin Rajamoni

Daemon Sandboxing and Secpolicytools in ESXi

ESXi uses daemon sandboxing as a means of access control between Userworlds(hostd, vpxa, etc.) and Objects(Files, directories, network sockets, etc.) Secpolicytools helps you list and tweak the security policies that are defiend under each domain(daemon sandbox) [root@esx01:~] secpolicytools -h Usage: secpolicytools <options> -r|--reset Reset all policy rules. -p|--load-policy[policy dir] Load a predefined policy. A default dir of /etc/vmware/secpolicy will be used. -d|--display-policy Display the current policy. -D|--lookup-domain <label> Lookup the value of a domain label....

October 7, 2021 · 4 min · Jahnin Rajamoni

Manually configuring VLAN on a VMKernel interface managed by vNetwork Distributed Switch (vDS)

I accidentally used the wrong VLAN on a portgroup in vDS while playing with NSX-T.(long story) This caused vCenter to lose access to all the hosts in a cluster. There is a KB article that goes through a few hoops before we can get the hosts back into vCenter Server, Recovering from a management portgroup VLAN misconfiguration on a vNetwork Distributed Switch (vDS) To resolve the issue, As i still had access to vCenter, after configuring the right vlan in vCenter I used net-dvs to manually change the vlan on each vmkernel interface....

July 14, 2020 · 1 min · Jahnin Rajamoni

esxtop does not work in a Mac OS X terminal

Have you ever wondered why esxtop will not work in a Mac OS X terminal? This has been on my mind lately and i’ve managed to get esxtop to work in Mac OS X. Just change the terminal emulation to xterm instead of xterm 256 Launch terminal -> Terminal -> Preferences -> Profiles -> Select Profile -> Advanced -> Change declare terminal as to “xterm” ….the why? Esxi by default uses the busybox shell which uses xterm for emulation....

March 17, 2020 · 1 min · Jahnin Rajamoni