VMware Tools 10 deployment with VUM

简介:

To deploy VMware Tools 10 in your environment, the procedure differs from previous release because since September 2015 new versions are released as separate package outside the ESXi updates.

Despite the big benefit of having new features available without waiting for new ESXi updates, raise a problem of how to deploy new VMware Tools to all the virtual machines of the network and how to keep them up-to-date.

 

Keep VM Tools up-to-date

If your environment has different hosts versions, each ESXi will have a different VM Tools version stored in its local repository (by default /locker/packages/<version>).

If a virtual machine is hosted on a ESXi 5.5, for instance, and the VM Tools are updated to that release, moving the VM to a different host (i.e. ESXi 5.5 upd3) it will show the message:

VMware Tools is outdated on this virtual machine

To deploy new VM Tools releases and to get rid of the warning message, you should create a shared repository reachable by all your ESXi hosts, save latest VM Tools that are always compatible back to all previous versions and then perform the update as you normally do after each ESXi upgrade.

To achieve this goal, for each host of your network you need to modify the UserVars.ProductLockerLocation item that identifies the VMware Tools directory. By default this directory is present on each ESXi host and can be modified to point to a shared datastore. Changing the UserVars.ProductLockerLocation value you can centralize the VM Tools deployment.

 

Get latest release

From VMware website download latest release of VMware Tools.

deployvmwaretools02


Select the needed package then click Download.

deployvmwaretools03


Unzipping the downloaded .zip package, the two folders extracted contain the files used to install and update VMware Tools:

floppies

deployvmwaretools04


vmtools

deployvmwaretools05


 

Create a shared datastore

From VMware vSphere Client, go to Home > Inventory > Datastore and Datastores Clusters and select the storage on which you want to create a shared folder. Go to Summary tab and click Browse Datastore.

deployvmwaretools06


Click on the Create a new folder icon and enter a folder name (i.e. upd_vmtools). Click OK to create the folder.

deployvmwaretools07


The new folder is created in the selected storage. Select Upload icon > Upload Folder to save the VMware Tools to the storage.

deployvmwaretools08


Select the folders to upload (floppies, vmtools) then click OK.

deployvmwaretools09


The folders have been uploaded successfully.

deployvmwaretools10


From the vSphere Web Client, connect the ESXi and go to Manage > Settings > Advanced System Settings and select the UserVars.ProductLockerLocation option. Click Edit to modify the path.

deployvmwaretools11


Enter the new path in the format:

/vmfs/volumes/<shared datastore>/<product locker folder>

i.e. /vmfs/volumes/ts421_lun06_raid5/upd_vmtools

then click OK.

deployvmwaretools12


The new path has been saved.

deployvmwaretools13


Put the host in Maintenance Mode then reboot.

deployvmwaretools14


When the host has been rebooted, exit the Maintenance Mode. Repeat same procedure for all the other hosts on the network.

deployvmwaretools15


SSH the ESXi as a root and check if the productLocker folder points to the shared storage previously configured.

# cd /productLocker/
# ls -l

deployvmwaretools16


 

Update VMs

When all the hosts have been configured with the new path, when selecting a virtual machine the system will notify the availability of a new VMware Tools version.

deployvmwaretools17


Before the upgrade, check the VMware Tools release installed in the selected VM right clicking the VM icon and selecting About VMware Tools.

deployvmwaretools18


Click on Update VMware Tools link.

deployvmwaretools19


Select Automatic Upgrade and click Upgrade button to proceed.

deployvmwaretools20


VM Tools are being installed.

deployvmwaretools21


The new version has been installed successfully.

deployvmwaretools22


Checking the selected VM once again, the VM Tools have been updated to latest release.

deployvmwaretools23


The new version is now ready for deployment.

 

Upgrade VM Tools with VUM

Using VUM it’s possible to schedule the VMs update allowing the administrators to quickly deploy latest VMware Tools release.

From vSphere Client, go to Home > Inventory > VMS and Templates, select Update Manager tab and click the Attach option. Select VMware Tools Upgrade to Match Host baseline and click on Attach button.

deployvmwaretools24


Click Scan to check the VMs status.

deployvmwaretools25


 

Power cycle upgrade

To perform the upgrade on power cycle, click VMware Tools upgrade settings.

deployvmwaretools26


Select the VMs you want to be upgraded during power cycle then click Apply.

deployvmwaretools27


If you check the VM settings (i.e. w12r2-dc01), the Tools Upgrades field is set to perform the upgrade before each power on.

deployvmwaretools28


 

Schedule the upgrade

From Update Manager tab, click Remediate.

deployvmwaretools29


Select the VMs to upgrade then click Next.

deployvmwaretools30


Select Schedule upgrade at specific time option then specify the time to perform the upgrade. Click Next to continue.

deployvmwaretools31


Enable or disable the option to take a snapshot before remediation if you want the rollback option.

deployvmwaretools32


Click Finish when ready to proceed.

deployvmwaretools33


At scheduled time, the selected virtual machines are upgraded.

deployvmwaretools34


When the process completes, the VMs run with latest VM Tools release.

deployvmwaretools35


Performing a new Scan, the upgraded VMs are now reported as Compliant.

deployvmwaretools36


With VUM, administrators can perform a massive VM Tools deployment in a quick and automatic way.

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1826033如需转载请自行联系原作者


520feng2007

相关文章
|
11月前
|
Ubuntu 虚拟化
VMWare Tools没有正确安装或者版本过低导致的
VMWare Tools没有正确安装或者版本过低导致的
464 2
|
11月前
|
虚拟化
VMware Tools 失效处理
VMware Tools 失效处理
111 0
|
Ubuntu 虚拟化
vmware tools选项灰色解决办法(ubuntu 14.04)
vmware tools选项灰色解决办法(ubuntu 14.04)
962 0
vmware tools选项灰色解决办法(ubuntu 14.04)
|
11月前
|
Ubuntu Linux 虚拟化
LinuxUbuntu安装VMware tools Segmentation fault (core dumped)怎么解决
更新操作系统和内核:使用apt-get或apt命令更新你的Ubuntu操作系统和内核。运行以下命令更新软件包:
960 0
|
8天前
|
Linux 虚拟化 Windows
完美解决:重新安装VMware Tools灰色。以及共享文件夹的创建(centos8)
这篇文章提供了解决VMware Tools无法重新安装(显示为灰色)问题的步骤,并介绍了如何在CentOS 8上创建和配置VMware共享文件夹。
完美解决:重新安装VMware Tools灰色。以及共享文件夹的创建(centos8)
|
5月前
|
Ubuntu 虚拟化
Ubuntu20.04 安装VMware Tools
Ubuntu20.04 安装VMware Tools
137 0
|
10月前
|
Ubuntu 小程序 Linux
linux虚拟机手动安装VMware Tools使屏幕自适应
电脑装了双系统,但是,linux系统的使用率不是很高,而且这玩意没有镜像,一旦手残给整废了,还得重装系统,太费劲~ 我这就装了虚拟机,有啥软件,现在虚拟机上安装,或者测试,没有问题了,要是有问题,可以回滚镜像啊,不需要重装系统 测试没有问题,再装到另一个ubuntu中,这就相当于有了双保险。
135 0
|
12月前
|
Linux 虚拟化
解决VMware 虚拟机中Linux系统时间不准确问题(安装VMware Tools)
解决VMware 虚拟机中Linux系统时间不准确问题(安装VMware Tools)
228 0
|
Linux 虚拟化 C语言
Linux系列——VMware Tools的安装
Linux系列——VMware Tools的安装
Linux系列——VMware Tools的安装
|
Ubuntu Linux 虚拟化
Ubuntu安装VMware Tools,解决无法找到kernel header path的问题
Ubuntu安装VMware Tools,解决无法找到kernel header path的问题
410 1