VMWare: Install Open VM Tools on CentOS 7.3

When running CentOS on your VMWare infrastructure you have requirement to install vmware tools or open VM Tools. Here is a guide on performing the OpenVM Tools install.

If you have installed VMWare Tools prior using the VSphere gui and console you need to remove it.

In a terminal window navigate to

/usr/bin/vmware-uninstall-tools.pl

Follow the instructions to complete the uninstall, then reboot the virtual machine.
If you were using the tools published via VMware’s repo, you can perform the following:
Remove using yum

yum remove vmware-tools-esx-nox

Remove the VMware repo:

rm -f /etc/yum.repos.d/vmware.repo

Now install the open-vm-tools:

yum install open-vm-tools

Enable the tools service

systemctl enable vmtoolsd.service

Verify that the service is fully functional

systemctl status vmtoolsd.service

EXAMPLE

[[email protected] ~]# yum install open-vm-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.netaddicted.ca
* extras: mirror.netaddicted.ca
* updates: mirror.csclub.uwaterloo.ca
Resolving Dependencies
–> Running transaction check
—> Package open-vm-tools.x86_64 0:10.0.5-4.el7_3 will be installed
–> Processing Dependency: net-tools for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libfuse.so.2(FUSE_2.6)(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libfuse.so.2(FUSE_2.5)(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: fuse for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libmspack.so.0()(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libicuuc.so.50()(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libicui18n.so.50()(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libicudata.so.50()(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libfuse.so.2()(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Processing Dependency: libdnet.so.1()(64bit) for package: open-vm-tools-10.0.5-4.el7_3.x86_64
–> Running transaction check
—> Package fuse.x86_64 0:2.9.2-7.el7 will be installed
—> Package fuse-libs.x86_64 0:2.9.2-7.el7 will be installed
—> Package libdnet.x86_64 0:1.12-13.1.el7 will be installed
—> Package libicu.x86_64 0:50.1.2-15.el7 will be installed
—> Package libmspack.x86_64 0:0.5-0.4.alpha.el7 will be installed
—> Package net-tools.x86_64 0:2.0-0.17.20131004git.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Installing:
open-vm-tools x86_64 10.0.5-4.el7_3 updates 516 k
Installing for dependencies:
fuse x86_64 2.9.2-7.el7 base 85 k
fuse-libs x86_64 2.9.2-7.el7 base 93 k
libdnet x86_64 1.12-13.1.el7 base 31 k
libicu x86_64 50.1.2-15.el7 base 6.9 M
libmspack x86_64 0.5-0.4.alpha.el7 base 64 k
net-tools x86_64 2.0-0.17.20131004git.el7 base 304 k

Transaction Summary
======================================================================================================================================
Install 1 Package (+6 Dependent packages)

Total download size: 7.9 M
Installed size: 27 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): libdnet-1.12-13.1.el7.x86_64.rpm | 31 kB 00:00:00
(2/7): fuse-libs-2.9.2-7.el7.x86_64.rpm | 93 kB 00:00:00
(3/7): fuse-2.9.2-7.el7.x86_64.rpm | 85 kB 00:00:00
(4/7): libmspack-0.5-0.4.alpha.el7.x86_64.rpm | 64 kB 00:00:00
(5/7): net-tools-2.0-0.17.20131004git.el7.x86_64.rpm | 304 kB 00:00:00
(6/7): open-vm-tools-10.0.5-4.el7_3.x86_64.rpm | 516 kB 00:00:00
(7/7): libicu-50.1.2-15.el7.x86_64.rpm | 6.9 MB 00:00:00
————————————————————————————————————————————–
Total 15 MB/s | 7.9 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libmspack-0.5-0.4.alpha.el7.x86_64 1/7
Installing : libdnet-1.12-13.1.el7.x86_64 2/7
Installing : net-tools-2.0-0.17.20131004git.el7.x86_64 3/7
Installing : libicu-50.1.2-15.el7.x86_64 4/7
Installing : fuse-libs-2.9.2-7.el7.x86_64 5/7
Installing : fuse-2.9.2-7.el7.x86_64 6/7
Installing : open-vm-tools-10.0.5-4.el7_3.x86_64 7/7
Verifying : fuse-2.9.2-7.el7.x86_64 1/7
Verifying : fuse-libs-2.9.2-7.el7.x86_64 2/7
Verifying : open-vm-tools-10.0.5-4.el7_3.x86_64 3/7
Verifying : libicu-50.1.2-15.el7.x86_64 4/7
Verifying : net-tools-2.0-0.17.20131004git.el7.x86_64 5/7
Verifying : libdnet-1.12-13.1.el7.x86_64 6/7
Verifying : libmspack-0.5-0.4.alpha.el7.x86_64 7/7

Installed:
open-vm-tools.x86_64 0:10.0.5-4.el7_3

Dependency Installed:
fuse.x86_64 0:2.9.2-7.el7 fuse-libs.x86_64 0:2.9.2-7.el7 libdnet.x86_64 0:1.12-13.1.el7
libicu.x86_64 0:50.1.2-15.el7 libmspack.x86_64 0:0.5-0.4.alpha.el7 net-tools.x86_64 0:2.0-0.17.20131004git.el7

Complete!
[[email protected] ~]#

[[email protected] ~]# systemctl status vmtoolsd.service
● vmtoolsd.service – Service for virtual machines hosted on VMware
Loaded: loaded (/usr/lib/systemd/system/vmtoolsd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-05-04 06:04:16 EDT; 4min 9s ago
Docs: http://github.com/vmware/open-vm-tools
Main PID: 742 (vmtoolsd)
CGroup: /system.slice/vmtoolsd.service
└─742 /usr/bin/vmtoolsd

May 04 06:04:16 log01.domain.ca systemd[1]: Started Service for virtual machines hosted on VMware.
May 04 06:04:16 log01.domain.ca systemd[1]: Starting Service for virtual machines hosted on VMware…
[[email protected] ~]#

Tested Platform
CentOS 7.3

Hits: 592

Leave a Reply