What is VMTool & What are the advantages?
VMware tool is a suit of utilities that increase the virtual machine’s performance. Without the VMTool, we lose some important functionalities and convenience. This will increase the system performance and also allows better monitoring of the virtual machines. So the installation of the VMTool is vital. Installing VMware Tools eliminates or improves the following issues:
- low video resolution
- inadequate color depth
- incorrect display of network speed
- restricted movement of the mouse
- inability to copy and paste and drag-and-drop files
- missing sound
The VMTool installation in windows platform is very easy task, but it is somewhat difficult in Linux.
Installation procedure of VMTool in Linux Virtual Machine
The virtual machine must have CD/DVD drive to install VMTool. To add cd drive to virtual machine,
1) Login to ESX server and select the virtual machine.
2) Right click on the virtual machine and select “Edit settings” and check whether the CD/DVD drive is present or not.
3) If not, please add CD/DVD drive. To add virtual CD/DVD drive,
- Power off the virtual machine and right click on it and select “Edit Settings”
- From virtual machine’s properties window click on “Add” button and choose CD/DVD drive from the list.
- By following this window will add CD/DVD drive. Once the CD/DVD drive successfully added to the virtual machine, select device type as “Host Device” and device status as “Connect at power on”.
4) Power on the virtual system with root user.
5) Go to inventory -> Guest -> Install/Upgrade VMware Tools
6) Select Install/Upgrade VMware Tools.
We need to mount our CD/DVD drive to a location. For this example we are mounting CD/DVD drive to /mnt/cdrom. For that follow the below steps,
- Right click on desktop and Open one Terminal console
- Create a folder “cdrom” in /mnt by
- Now mount CD/DVD drive to /mnt/cdrom by,
mount /dev/cdrom /mnt/cdrom
- Then go to the mount location by
- Here we can see the rpm package of the VMTool by using “ls” command
7) We can confirm whether the VMTool is previously installed or not by using the command,
Rpm –qa | grep VM
8) From here we can install /upgrade the VMTool.
- For installing VMTool
rpm – ivh VMToolpackagename.rpm (VMToolpackagename.rpm replaces the exact rpm package name that shown in CD/DVD drive)
- For upgrading existing VMTool
rpm –Uvh VMToolpackagename.rpm (VMToolpackagename.rpm replaces the exact rpm package name that shown in CD/DVD drive)
9) VMTool installation is completed, now we need to configure it for our running kernel. For that run the following command,
10) Now the VMTool installation and the configuration are completed. Now we can unmount the CD/DVD drive from /mnt/cdrom by