ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Menu
  • Shop
    • Datacenter
      • vSphere Essentials
      • vSphere Essentials PLUS
      • vSphere Standard
      • vSphere with Operations Management
      • vCenter Server Standard
      • vSphere Remote Office Branch Office
    • Desktop
      • VMware Workstation Pro
      • VMware Fusion Pro
      • VMware Fusion
      • Player Pro
    • Datacenter and Cloud
      • VMware SRM
      • vCenter Server Editions
    • Desktop
      • VMware Mirage
      • VMware Socialcast
      • Horizon Flex
      • VMware Horizon
    • Close
  • Study Guides
      • VCP6.7-DCV
          • VCP6.7-DCV 2019
        • Close
      • VCP6.5-DCV
          • VCP65-DCV-cert
        • Close
      • VCP6-DTM
          • VCP6-DTM
        • Close
      • VMware Mirage
          • mirageVMware Mirage
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • vSphere 5.5
      • vSphere 5.1
      • Close
    • VMworld
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free Stuff – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • Altaro
    • NAKIVO
    • StarWind
    • Veeam
    • Vembu
    • Zerto
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • IT Books
    • Close
  • Free Tools
  • Books

Configure VMware Tools Update from Shared ProductLocker Location

By Vladan SEGET | Last Updated: November 9, 2017

Shares

when you want to have the latest VMware tools for larger environments, you don't have other choices then wait for ESXi upgrade which brings the latest version of VMware tools or Configure VMware Tools Update from Shared ProductLocker Location. If you have VMware Enterprise Plus license, you can use host profiles for the job.

Since some time VMware Tools has split in two. VMware Tools are usually updated on regular basis and include improved drivers, some bug fixes, and newer and better OS support. With the release of vSphere 6.5, the tools package is now split into two distinct ones. There is one for legacy  (v10.0.12) operating systems (OS), and the other one is for current OSes (v10.1).

Some VMs support only automatic updates of VMware Tools. VMs such some Cisco Appliances and others. In this case, you cannot manually mount the ISO. Today we will setup a shared location for VMtools. Usually, you can do that if you have a shared datastore within your environment.

We'll show few steps where to configure this at the host level.

Tip: Manual Download of VMware Tools from VMware Website (or older ones too)

There are few ways to configure VMware Tools Update from Shared ProductLocker Location. Let's do that via vSphere Client first:

Connect to your vCenter via:

https://IP_of_vCenter/ui

Then via the vSphere HTML 5 Client > Select the ESXi hosts > Manage > Settings > Advanced System Settings

find UserVars.ProductLockerLocation row and click on the right to change the value which reflects your environment.

Shared ProductLocker Settings

In the lab environment, I copied all the VMtools ISOs and files into

/vmfs/volumes/vsanDatastore/vmtools

We also have the option to do that via CLI. Connect via SSH and type this command:

esxcli system settings advanced list -o /UserVars/ProductLockerLocation –string-value “/vmfs/volumes/vsanDatastore/vmtools”

You can see the output here:

Shared ProductLocker location

You see that the string value has changed to /vsanDatastore/vmtools.

If you just want to check where is the current location of VMware tools on a particular host, you simply just type this:

esxcli system settings advanced list -o /UserVars/ProductLockerLocation

You have to reboot your host in order for this change to take effect unless you remove symlink to productLocker location:

How-to Remove symlink to productLocker?

rm productLocker

ln -s /vmfs/volumes/vsanDatastore/vmtools /productLocker

This is it. From now on the VM should pick the new shared ProductLocker location for the latest VMtools ISOs.

How about AutoDeploy?

There are VMware best practices when using auto-deploy for your hosts. (Note I only found it for the 6.0 version of vSphere)

In fact, there are two different image profiles you can download:

  • One which says xxx-standard has the VM tools (but it's bigger).
  • One which says xxx-no-tools without the VM tools package.

When you provision hosts with Auto Deploy, you can select an image profile that includes VMware Tools, or select the smaller image associated with the image profile that does not contain VMware Tools.

Create a host profile from a reference host first. Then create an Auto Deploy rule which assigns the “xxx-no-tools” image profile and host profile from the reference host to all other hosts.

Then boot your target hosts with the rule so they are able to pick up the product locker location from the reference host.

If you're using the “no-tools” image, you should basically use the shared location method mentioned above.

Wrap Up:

VMware tools are an important part of vSphere environments. Usually, it is one of the first best practices to apply – keep VM tools current on your VMs AND on your hosts. Version of VM tools has a direct influence on VM performance and also they provide some added functions like for example host time synchronization or quiesced snapshots used by your backup software.

So it's pretty important to keep the VM tools packages up to date not only on your VMs but also on the hosts which deliver them to your VMs. We showed a simple way of centralizing the VM tools packages to a single location allowing you to only replace the older VM tools packages with newer ones when they'll become available.

Also from ESX Virtualization

  • What are Open VM Tools and How to use them?
  • What is VMware Orchestrated Restart?
  • How to reset ESXi 6.x root password and under which conditions
  • VCP6-DCV Objective 9.1 – Configure Advanced vSphere HA Features
  • VMware API Explorer Is a Free Built-in Utility in VCSA
  • V2V Migration with VMware – 5 Top Tips
  • VMware Transparent Page Sharing (TPS) Explained

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares

| Filed Under: Server Virtualization 5 Comments

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x11, Veeam Vanguard x5, VCAP-DCA/DCD, VCP, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Brian Foley says

    November 9, 2017 at 9:39 pm

    Great article. However I think you have this backwards:

    “With the release of vSphere 6.5, the tools package is now split into two distinct ones. There is one for legacy (v10.1) operating systems (OS), and the other one is for current OSes (v10.0.12).”

    v10.0.12 is for legacy OSes and v10.1 is for current guest OSes.

    Reply
    • Vladan SEGET says

      November 9, 2017 at 10:13 pm

      Thanks Brian. Sure it is…. Will correct this.

      Reply
  2. Marcos Fernandez says

    November 21, 2017 at 7:20 pm

    Hi

    I think the correct instruction to set the value should be :

    esxcli system settings advanced set -o /UserVars/ProductLockerLocation -s “/vmfs/volumes/vsanDatastore/vmtools”

    instead of

    esxcli system settings advanced list -o /UserVars/ProductLockerLocation –string-value “/vmfs/volumes/vsanDatastore/vmtools”

    Reply
    • Vladan SEGET says

      November 22, 2017 at 7:08 am

      Hi Marcos, Thanks for the heads up. I can be wrong. (no one is perfect) . However, I’m not sure where you found it. VMware KB says different: https://kb.vmware.com/kb/2129825

      Reply
  3. Humbug says

    October 18, 2019 at 1:37 pm

    Hi,
    I’ve tried this but apparently symlinks do not persist after a host reboot – so how is this a solution if that gets wiped?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Nakivo Backup and Replication
Zerto 7Vembu Backup and Replication
Click to Become a Sponsor

Featured

  • Free Backup for VMware and Hyper-V - NAKIVO Backup & Replication
  • FREE Forever—Back up VMware with Altaro VM Backup. Grab your Free copy now!
  • WinX DVD Ripper Platinum Giveaway - 1:1 Copy DVD to ISO,MP4

Most Recent

  • StarWind VSAN has a high level of customization
  • VMware vSphere 6.7 U3b Released
  • Veeam Backup for AWS Free Version Released
  • Cheapest way of going virtual with StarWind Virtual SAN (VSAN)
  • Physical Server Backup, Workstation or Laptop with Nakivo Backup and Replication
  • Download Free Load Balancer for VMware vSphere
  • Fight Ransomware with Veeam 10 Immutability Feature
  • StarWind VSAN Graceful Shutdown and PowerChute Configuration
  • Are You Aware of the Most Common Phishing Attacks?
  • Altaro Office 365 Backup New Features Added

Most Liked

  • VCP6.7-DCV Study Guide - VCP-DCV 2019 certification
  • VCP6.5-DCV Study Guide
  • vSphere 6.5
  • Veeam Backup and Replication 9.5 Update 4 Announced
  • VCP6.5-DCV Objective 4.3 - Perform vCenter Server migration to VCSA

Fast NVMe Storage


Virtualization Software From VMware

  • VMware vSphere 6.7 U3b "Essentials PLUS" - vMotion, vSphere Replication...Included
  • VMware vSphere 6.7 U3b "Essentials" - 3 hosts, vCenter
  • vSphere Hypervisor Per Incident Support Click Here.
  • VMware Workstation 15.5 Pro and Upgrades - Best Desktop Virtualization Software
  • VMware Fusion 11.5 - Run Windows on MAC, and Upgrades
  • VMware Fusion 11 Professional - Restricted VMs, Virtualized VT-X/EPT... and Upgrades
**************************************************************************
  • Upgrade to vSphere Editions
  • Upgrade to vSphere Enterprise Plus
  • Upgrade to vSphere with vSOM Enterprise Plus
  • Upgrade to vSphere with Operations Management Editions
  • Upgrade to vSphere with Operations Management Enterprise Plus

Free Software

Altaro VM Backup – Protect your VMware and Hyper-V VMs for Free with Altaro VM Backup. 2 VM for Free, forever. Grab your copy now!
Veeam ONE Community (FREE) Edition 9.5 U4B – Download Now. monitor up to 10 instances of VMware, Hyper-V, Veeam Backup & Replication and Windows and Linux workloads!
Veeam Backup And Replication Community (FREE) Edition 9.5 U4B – protects up to 10 instances (VMs or Computers, laptops for Free.

Free Trials

Veeam Backup and Replication 9.5 Trial DownloadVeeam Backup & Replication 9.5 U4B Full Version Download (30 Days Trial – Get Your Copy !

YouTube

Find us on Facebook

ESX Virtualization

Copyright © 2019 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com

X
Veeam Backup 9.5 U4B Community Edition
Download NOW
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok