Upload
nguyencong
View
244
Download
0
Embed Size (px)
Citation preview
Eric Gray
SER1957BU
#VMworld #SER1957BU
Mastering the VMware Tools Lifecycle in Your vSphere Data Center
VMworld 2017 Content: Not fo
r publication or distri
bution
Agenda
1 Types of VMware Tools
2 Status Display in vSphere
3 Lifecycle and Supported Guests
4 Standardization Approach
5 Keeping Tools Updated
#SER1957BU CONFIDENTIAL 2
VMworld 2017 Content: Not fo
r publication or distri
bution
VMware Tools: Available in Several Formats
Windows, LinuxSolaris, FreeBSD, OS X
VM Tools ISOs Acquire
- ESXi bundled
- Downloadable
packages.vmware.comOne-time repository enablement
Various Linux package mirrors No specific configuration required
Integrate
- Local storage
- Shared storage
Install & Update
Package manager: Apt, Yum
Update- Web Client
- Update Manager
- Auto on boot
- PowerCLI
- Guest-initiated
Install- Interactive
- Silent
Linux
Operating System
Specific Packages
(OSP)
Open VM Tools
(OVT)
#SER1957BU CONFIDENTIAL 3
VMworld 2017 Content: Not fo
r publication or distri
bution
Upstream Linux Kernel Includes VMware Drivers
See KB 2073804
#SER1957BU CONFIDENTIAL 4
VMworld 2017 Content: Not fo
r publication or distri
bution
Tech Preview: Windows Update Support for Drivers
#SER1957BU CONFIDENTIAL 5
VMworld 2017 Content: Not fo
r publication or distri
bution
Making Sense of VMware Tools Version Status
#SER1957BU CONFIDENTIAL 6
VMworld 2017 Content: Not fo
r publication or distri
bution
Status Displayed in vSphere Depends on Tools Type
Windows, LinuxSolaris, FreeBSD, OS X
VM Tools ISOs
Linux
Operating System
Specific Packages
(OSP)
Open VM Tools
(OVT)
#SER1957BU CONFIDENTIAL 7
VMworld 2017 Content: Not fo
r publication or distri
bution
vSphere 6.5 Displays Tools Version & Install Type
Enhanced
Visibility for
Tools 10+
#SER1957BU CONFIDENTIAL 8
VMworld 2017 Content: Not fo
r publication or distri
bution
Tools Status: Relative to Installers on ESXi Host
VM Tools
ISO 9.10/productLocker
VM-01
Tools 9.10
VM Tools
ISO 10.0/productLocker
VM-01
Tools 9.10
#SER1957BU CONFIDENTIAL 9
VMworld 2017 Content: Not fo
r publication or distri
bution
Tools Status: Relative to Installers on ESXi Host
VM Tools
ISO 9.10/productLocker VM Tools
ISO 10.0/productLocker
VM-01
Tools 10.0
#SER1957BU CONFIDENTIAL 10
VMworld 2017 Content: Not fo
r publication or distri
bution
vSphere 6.5 Checks for VMware Tools Updates Automatically
#SER1957BU CONFIDENTIAL 11
VMworld 2017 Content: Not fo
r publication or distri
bution
Product Locker Scanned Every 5 Minutes
#SER1957BU CONFIDENTIAL 12
VMworld 2017 Content: Not fo
r publication or distri
bution
VMware Tools Lifecycle
VMworld 2017 Content: Not fo
r publication or distri
bution
Downloadable Releases Began VMware Tools 10
• VMware Tools decoupled from vSphere
• Detailed release notes are published for each version
• Popular Windows and Linux guests are still bundled!
– Included in full releases & patches as needed
#SER1957BU CONFIDENTIAL 14
VMworld 2017 Content: Not fo
r publication or distri
bution
VMware Tools 10.1 & 10.0.12 Guest OS Support
10.0.12Frozen
10.1
Bundled w/ESXi Download Only
Windows
2008+
Linux
glibc 2.5*
Windows
Pre-VistaLinux
Pre-glibc 2.5
Windows
Pre-2K
Solaris
Mac OS X
FreeBSD
Netware
Mac OS X
Pre-10.11
* Photon OS, RHEL 5+, SLES 11+, Ubuntu 10+
#SER1957BU CONFIDENTIAL 15
VMworld 2017 Content: Not fo
r publication or distri
bution
New File Distributed with Tools Maps Guests to Correct ISO
[root@esxi:vmtools] grep rhel isoimages_manifest.txt
rhel4 = "linuxPreGlibc25.iso”
rhel4-64 = "linuxPreGlibc25.iso”
rhel5 = "linux.iso”
rhel5-64 = "linux.iso”
rhel6 = "linux.iso”
rhel6-64 = "linux.iso”
rhel7 = "linux.iso”
rhel7-64 = "linux.iso"
#SER1957BU CONFIDENTIAL 16
VMworld 2017 Content: Not fo
r publication or distri
bution
ESXi 6.0 and 5.5 Patches Enable Tools 10.1 Installer Awareness
#SER1957BU CONFIDENTIAL 17
VMworld 2017 Content: Not fo
r publication or distri
bution
Quick Reference: Tools Version Mapping File
#SER1957BU CONFIDENTIAL 18
VMworld 2017 Content: Not fo
r publication or distri
bution
Broad Forward and Backward Interoperability
#SER1957BU CONFIDENTIAL 19
VMworld 2017 Content: Not fo
r publication or distri
bution
Very Old Tools Releases Cannot Be Directly Upgraded to Latest
End of Support[ESXi 5.1] 9.0.z, 8.y
Recent10.1, 10.0.z, 9.10, 9.4
Latest10.1.z, 10.y
#SER1957BU CONFIDENTIAL 20
VMworld 2017 Content: Not fo
r publication or distri
bution
Tools Version Standardization
VMworld 2017 Content: Not fo
r publication or distri
bution
VM Tools ISOs Can Reside on Shared Storage
/productLocker VM Tools
ISOs 10.0
Per-host
setting – use
automation
Origin: ESXi or
downloaded
KB 2004018
VM Tools
ISOs 10.1
#SER1957BU CONFIDENTIAL 22
VMworld 2017 Content: Not fo
r publication or distri
bution
Download1
#SER1957BU CONFIDENTIAL 23
VMworld 2017 Content: Not fo
r publication or distri
bution
Configure2
#SER1957BU CONFIDENTIAL 24
VMworld 2017 Content: Not fo
r publication or distri
bution
[root@host:~] esxcli system maintenanceMode set --enable true[root@host:~] rm /productLocker [root@host:~] ln –s /vmfs/volumes/WEST001/vmtools_shared /productLocker
#SER1957BU CONFIDENTIAL 25
Activate3
VMworld 2017 Content: Not fo
r publication or distri
bution
Optimize by Using “No-Tools” ESXi Image Profiles
#SER1957BU CONFIDENTIAL 26
VMworld 2017 Content: Not fo
r publication or distri
bution
Another VMware Tools Version Standardization Approach
Exclude Tools from
general host patching
#SER1957BU CONFIDENTIAL 27
VMworld 2017 Content: Not fo
r publication or distri
bution
DEMO
#SER1957BU CONFIDENTIAL 28
VMworld 2017 Content: Not fo
r publication or distri
bution
Updating VM Tools
VMworld 2017 Content: Not fo
r publication or distri
bution
Why So Many Ways to Update Tools?
Autonomy
Standardization
Simplification
#SER1957BU CONFIDENTIAL 30
VMworld 2017 Content: Not fo
r publication or distri
bution
Individual VMs Can Be Configured to Automatically Update Tools
• Good for less critical environments
• Also useful when coordination with app owners is challenging
• Be aware that the Tools upgrade may trigger a second reboot
#SER1957BU CONFIDENTIAL 31
VMworld 2017 Content: Not fo
r publication or distri
bution
vSphere Web Client Can Update Multiple VMs Simultaneously
#SER1957BU CONFIDENTIAL 32
VMworld 2017 Content: Not fo
r publication or distri
bution
VUM Has Two Separate Roles in Tools management
1Download new Tools ISOs and push to ESXi hosts
2
Remediate VMs• Immediately• Scheduled time• On reboot
#SER1957BU CONFIDENTIAL 33
VMworld 2017 Content: Not fo
r publication or distri
bution
Two Tools-Related Enhancements for Update Manager 6.5
Upgrade the
VM Compatibility Level
for all types of Linux Tools
Virtual Hardware
Do not force Linux
reboots after updating
TAR Tools
Reboot-less Linux
#SER1957BU CONFIDENTIAL 34
VMworld 2017 Content: Not fo
r publication or distri
bution
PowerCLI: Maximum Flexibility for Tools Updates
• Administrators can filter by wide range of attributes
#SER1957BU CONFIDENTIAL 35
VMworld 2017 Content: Not fo
r publication or distri
bution
In-guest Tools Updates Shift Responsibility
• May be a fit where infrastructure and guest OS administration is segregated
• Enabled through advanced VM setting
#SER1957BU CONFIDENTIAL 36
# vmware-tools-upgrader
VMworld 2017 Content: Not fo
r publication or distri
bution
Linux Package Managers for Guest-Managed Tools
• Each Linux distribution has a distinct package manager: Yum, Apt, Zypper, DNF
# yum install open-vm-tools
# yum update vmware-tools-esx-nox
# apt-get install open-vm-tools
#SER1957BU CONFIDENTIAL 37
VMworld 2017 Content: Not fo
r publication or distri
bution
38
Technical Paper
Coming Soon!
VMworld 2017 Content: Not fo
r publication or distri
bution
VMware Tools Are an Important Part of Your Infrastructure
• Flexibility enables many scenarios
– Acquisition
– Standardization
– Updating
• Different options for Linux to accommodate any environment
• Changes in VMware Tools 10+ may affect operations
– Ensure vSphere 5.5 and 6.0 are on recent patches
See the vSphere Blog for articles on VM Toolshttps://blogs.vmware.com/vsphere/?s=tools
#SER1957BU CONFIDENTIAL 39
VMworld 2017 Content: Not fo
r publication or distri
bution
Q&AThank You!
VMworld 2017 Content: Not fo
r publication or distri
bution
VMworld 2017 Content: Not fo
r publication or distri
bution
VMworld 2017 Content: Not fo
r publication or distri
bution