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

Trivia NFC logging for hostd and vpxa

In ESXi 5.x For hostd: Backup and edit the following file, /etc/vmware/hostd/config.xml and add the below text:  <level id="nfcsvc"> <logName> Nfc </logName> <logLevel> trivia </logLevel> <prefix> true </prefix> </level> For vpxa: Backup and edit the following file, etc/vmware/vpxa/vpxa.cfg and add/replace the below text:  <nfc> <loglevel>trivia</loglevel> </nfc>

November 5, 2014 · 1 min · Jahnin Rajamoni

NFS: Failed to get attributes (I/O error)

Was setting up a NFS volume in openfiler for a lab and hit this strange error on the ESXi host: 2014-09-25T18:36:53.522Z cpu11:32806)WARNING: NFS: 316: Lost connection to the server 10.1.1.51 mount point /mnt/data01/vol01/Openfiler01/, mounted as 05730b90-cf23e830-0000-000000000000 ("Openfiler01") 2014-09-25T18:36:54.524Z cpu10:216948)WARNING: NFS: 2144: Failed to get attributes (I/O error) 2014-09-25T18:36:54.524Z cpu10:216948)NFS: 2207: Failed to get object 36 5730b90 cf23e830 70001 8000080 0 dc16020f c9496472 871a149a 2fb062cb 0 0 0 :I/O error On the ESXi host, i was able to mount the volume successfully and everytime i tried accessing files on the volume, it would go inactive and I had to remove and mount the nfs volume again....

September 26, 2014 · 1 min · Jahnin Rajamoni

Why is %used higher than 100 in esxtop?

As per https://communities.vmware.com/docs/DOC-9279 %USED is the percentage of physical CPU time accounted to the world. If a system service runs on behalf of this world, the time spent by that service (i.e. %SYS) should be charged to this world. If not, the time spent (i.e. %OVRLP) should not be charged against this world. So ideally, %USED = %RUN + %SYS - %OVRLP However, why does this value exceed 100%? The answer simply is Turbo boost....

July 7, 2014 · 1 min · Jahnin Rajamoni

Enable debug logging for ESXi Hardware Status issues

The sfcbd (Small foot print CIM broker daemon) is responsible for reporting the hardware status that is viewed via the vSphere client. In order to enable debug logging: Stop sfcbd service by running the command: /etc/init.d/sfcbd-watchdog stop Set the CIM log level to 7 by running the command: esxcfg-advcfg -s 7 /UserVars/CIMLogLevel Start sfcbd service by running the command: /etc/init.d/sfcbd-watchdog start Collect the vmsupport log bundle. In ESXi 5.1 and above, sfcbd logs to /var/log/syslog....

July 4, 2014 · 1 min · Jahnin Rajamoni