设为首页 收藏本站
查看: 1122|回复: 0

[经验分享] VMware Tools 10 deployment with VUM

[复制链接]

尚未签到

发表于 2018-6-4 09:04:16 | 显示全部楼层 |阅读模式
  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.
DSC0000.jpg

  

  Select the needed package then click Download.
DSC0001.jpg

  

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

  

  vmtools
DSC0003.jpg

  

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.
DSC0004.jpg

  

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

  

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

  

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

  

  The folders have been uploaded successfully.
DSC0008.jpg

  

  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.
DSC0009.jpg

  

  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.
DSC00010.jpg

  

  The new path has been saved.
DSC00011.jpg

  

  Put the host in Maintenance Mode then reboot.
DSC00012.jpg

  

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

  

  SSH the ESXi as a root and check if the productLocker folder points to the shared storage previously configured.
  # cd /productLocker/
# ls -l
DSC00014.jpg

  

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.
DSC00015.jpg

  

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

  

  Click on Update VMware Tools link.
DSC00017.jpg

  

  Select Automatic Upgrade and click Upgrade button to proceed.
DSC00018.jpg

  

  VM Tools are being installed.
DSC00019.jpg

  

  The new version has been installed successfully.
DSC00020.jpg

  

  Checking the selected VM once again, the VM Tools have been updated tolatest release.
DSC00021.jpg

  

  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.
DSC00022.jpg

  

  Click Scan to check the VMs status.
DSC00023.jpg

  

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

  

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

  

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

  

Schedule the upgrade
  From Update Manager tab, click Remediate.
DSC00027.jpg

  

  Select the VMs to upgrade then click Next.
DSC00028.jpg

  

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

  

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

  

  Click Finish when ready to proceed.
DSC00031.jpg

  

  At scheduled time, the selected virtual machines are upgraded.
DSC00032.jpg

  

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

  

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

  

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

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-518150-1-1.html 上篇帖子: vmware创建虚拟机时一直没反应的解决办法 下篇帖子: VMware 6.0 vFlash Read Cache setup
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表