How to install VMware tools in Linux Virtual Machine

How to install VMware tools in Linux Virtual Machine

  1. Make sure Linux virtual machine is powered on.
  2. Click VMin the virtual machine menu, then click Guest > Install/Upgrade VMware Tools.
  3. Click OK.Note: In some cases, verify that the CDROM device is Connectedfrom within the Edit Settings option of the virtual machine.
  4. To create a mount point, run:mkdir /mnt/cdrom
  5. To mount the CDROM, run:mount /dev/cdrom /mnt/cdrom
  6. (more…)

Continue Reading How to install VMware tools in Linux Virtual Machine

VMware OS Optimization Tool

VMware OS Optimization Tool The VMware OS Optimization Tool helps optimize Windows 7/8/2008/2012/10 systems for use with VMware Horizon View. The optimization tool includes customizable templates to enable or disable…

Continue Reading VMware OS Optimization Tool

How configure crontab in ESXi to schedule a job every 5 min

How configure crontab in ESXi to schedule a job every 5 min

For scheduling a command or script every 5 min in ESXi we need to edit following file

/var/spool/cron/crontabs/root

vi /var/spool/cron/crontabs/root

#min hour day mon dow command
1    1    *   *   *   /sbin/tmpwatch.py
1    *    *   *   *   /sbin/auto-backup.sh
0    *    *   *   *   /usr/lib/vmware/vmksummary/log-heartbeat.py
*/5  *    *   *   *   /sbin/hostd-probe ++group=host/vim/vmvisor/hostd-probe
00   1    *   *   *   localcli storage core device purge
*/2 * * * * /usr/lib/vmware/vsan/bin/vsanObserver.sh

(more…)

Continue Reading How configure crontab in ESXi to schedule a job every 5 min

How to remove the ESXi web welcome page

How to remove the ESXi web welcome page

For any reason if you want to change VMware ESXi welcome page.

Follow the following steps .

Rename the following page

/usr/lib/vmware/hostd/docroot/index.html

create new index.html page

if you want to redirect your welcome page to another website copy the following in index.html

(more…)

Continue Reading How to remove the ESXi web welcome page

VMware ESXi Datastores refresh issue incorrect free space

VMware ESXi Datastores refresh issue incorrect free space

We do manual datastore scan or HBA  scan to show the correct free space .

We can change the refresh interval manually to edit config.xml file in esxi host.

To change the refresh interval, edit the configuration file and change the refreshInterval value to the desired interval.

To change the refreshInterval value:

  1. Using a text editor, open the /etc/vmware/hostd/config.xml file on the host.
  2. Locate the <datastore> element. This element in the default file is similar to:<datastore>
    <!-- default datastore inventory-->
    <!-- <inventory>/etc/vmware/hostd/datastores.xml</inventory> -->
    <!-- default datastore refresh interval in minutes -->
    <!-- use 0 to disable the auto refresh -->
    <!-- <refreshInterval>0</refreshInterval> -->
    <!-- default datastore list refetch interval, after getting a VMFS event, in seconds-->
    <!-- <refetchVMFSDatastoreListInterval>30</refetchVMFSDatastoreListInterval> -->
    </datastore>
  3. Remove the comment indicators and replace the 0 (zero) in the <refreshInterval> element with the desired number of minutes. For example, to set the refresh interval to one hour, change this line:<!-- <refreshInterval>0</refreshInterval> -->

    to:

    <refreshInterval>60</refreshInterval>

  4. Save and close the file.
  5. Restart the hostd service for the changes to take effect.
  6. /etc/init.d/hostd restart

(more…)

Continue Reading VMware ESXi Datastores refresh issue incorrect free space