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

Reverting VLAN changes on a dvSwitch portgroup

I recently lost access to few of my ESXi hosts after using the incorrect VLAN on the dvSwitch portgroup. Was unable to find any command to change the VLAN of a dvSwitch portgroup from the command line. Luckily I came across the Network Restore Option in DCUI To restore VDS from DCUI: Connect to the DCUI. From the Network Restore Options menu, select Restore vDS. Type the correct values for VLAN uplink and blocked properties, where appropriate....

April 29, 2016 · 1 min · Jahnin Rajamoni

Configure NTP for ESXi

When deploying a virtual infrastructure it is very important to configure a time server. Lately, most VMware solutions depend on accurate time. For the labs that i deploy, i generally configure the time server on a windows machine(For e.g. AD Machine), and let all the ESXi hosts synchronize time with this windows machine. The windows machine will synchronize time from a internet time server, for e.g. pool.ntp.org(The esxi hosts will not have access to the internet)...

February 3, 2015 · 1 min · Jahnin Rajamoni

PowerCLI script to query all windows VM's and check if the vShield Endpoint driver is installed.

To check if the vShield endpoint driver is installed in Windows we can use the following command, sc query type= driver | find "vsepflt" To automate the above script across all Windows VMs in the vCenter Server Launch the PowerCLI shell and connect to the vCenter Server: Connect-VIServer [vcenter server ip\fqdn] Copy the below script to a text file and name the file with “.PS1” extension. For eg. “script....

December 10, 2014 · 1 min · Jahnin Rajamoni