7

We have a deployment with what I would call an Enterprise Cloud Provider. It's VMWare Infrastructure 3.5.x and includes VMotion / VMWare HA instances, etc.

At Provider 1 VMWare Tools was installed:

  • vmware-guestd is running and;
  • at least two kernel modules are loaded, vmmemctl & vmhgfs

Provider 1 does nightly VM Snapshots.

We are beginning a new deployment at Provider 2 (also an Enterprise Cloud Provider). They did not install VMWare Tools. Provider 2 does not do nightly VM Snapshots but rather file-system backups (using an agent).

From my reading it seems like at the very least VMWare Tools should be installed for the Memory Balloon Driver (vmmemctl) and from reading sources like this one it suggests that certain VirtualCenter management operations also depend upon VMWare Tools being installed in the Linux guest.

Note that all of our instances are headless (default runlevel is 3) and RHEL.

It is hard to find authoritative information on this question and the aforementioned source is somewhat dated.

Can someone shed some light on this? What are the factors/criteria that would lead to an answer in the affirmative or negative?

TIA

Cheers

ewwhite
  • 194,921
  • 91
  • 434
  • 799
HTTP500
  • 4,827
  • 4
  • 22
  • 31

5 Answers5

7

You should also have the tools loaded for ease of guest shutdown and power management. Being able to shut the guest operating system down from the Vcenter server or infrastructure client is handy.

ewwhite
  • 194,921
  • 91
  • 434
  • 799
  • Heard back from Provider 2. They have essentially admitted an oversight (FML). In a VirtualCenter deploy VMWare Tools should definitely be installed, even in headless Linux guests. (Selecting as best answer since it was the closest.) – HTTP500 Jan 21 '11 at 17:27
6

I'd be tempted to load all of the vmtools, not only will the guest be less of a load on the host but it's a great way of getting your time right.

Chopper3
  • 100,240
  • 9
  • 106
  • 238
  • 3
    Thanks for your reply. With regard to timekeeping though VMWare best practices are to use NTP not VMWare Tools. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427 "In all cases use NTP instead of VMware Tools periodic time synchronization." – HTTP500 Jan 18 '11 at 21:11
  • @Jason -- Do you know if that's a recent new recommendation? I could swear that an earlier version of that document said the opposite, but it's possible I'm mis-remembering. – larsks Jan 18 '11 at 21:41
  • 3
    @larsks, using NTP it is a somewhat new recontamination. I noticed the change a few months ago. – Zoredache Jan 18 '11 at 21:47
  • Hadn't seen that document. – Chopper3 Jan 18 '11 at 22:23
3

In addition to the better power/cpu/memory management that other answers have mentioned, the tools also give you the vmxnet* and pvscsi/something else/ device drivers that, ostensibly, provide better performance for networking and IO compared to emulating a "real" device.

janneb
  • 3,761
  • 18
  • 22
3

In modern times it is better to install open-vm-tools, e.g. on Debian or Ubuntu:

apt-get install open-vm-tools

From the package description:

The Open Virtual Machine Tools (open-vm-tools) project is an open source implementation of VMware Tools. It is a suite of virtualization utilities and drivers to improve the functionality, user experience and administration of VMware virtual machines.

See also http://open-vm-tools.sourceforge.net/

Victor Klos
  • 1,281
  • 1
  • 8
  • 6
  • 2
    VMware themselves currently [recommend and support using open-vm-tools](http://kb.vmware.com/kb/2073803) on all distributions that include it. – Michael Hampton May 28 '15 at 15:35
  • The link above refers to RHEL 7+. What is the recommended approach for RHEL 6? epel (Fedora) or VMWare's repo (packages.vmware.com)? – HTTP500 May 28 '15 at 21:20
1

Installing the tools will allow for better cpu and memory management. For example, Transparent Page Sharing & Memory Ballooning.

Understanding Memory Resource Management in VMware (pdf)

jftuga
  • 5,572
  • 4
  • 39
  • 50