Mastering VMware Horizon 7.8 Third Edition Master desktop virtualization to optimize your end user experience Peter von Oven Barry Coombs BIRMINGHAM - MUMBAI Mastering VMware Horizon 7.8 Third Edition Copyright © 2019 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Commissioning Editor: Vijin Boricha Acquisition Editor: Meeta Rajani Content Development Editor: Deepti Thore Technical Editor: Sayali Thanekar Copy Editor: Safis Editing Project Coordinator: Nusaiba Ansari Proofreader: Safis Editing Indexer: Manju Arasan Graphics: Jisha Chirayil Production Coordinator: Jyoti Chauhan First published: March 2015 Second edition: October 2016 Third edition: March 2019 Production reference: 1280319 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78980-237-5 www.packtpub.com mapt.io Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website. Why subscribe? Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals Improve your learning with Skill Plans built especially for you Get a free eBook or video every month Mapt is fully searchable Copy and paste, print, and bookmark content Packt.com Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.packt.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks. Contributors About the authors Peter von Oven is an experienced technical consultant and has spent the past 25 years working with customers and partners designing technology solutions. During his career, Peter has presented at key IT events, such as VMworld, IP EXPO, and various VMUGs and CCUG events. He has also worked in senior presales roles and presales management roles for Fujitsu, HP, Citrix, and VMware, and has been awarded VMware vExpert four years running. In 2016, Peter founded his own company, Droplet Computing, where he works today as the Founder and Chief Technology Officer. Peter got his first taste for writing when assisting with some of the chapters in Building End-User Computing Solutions with VMware View, which then lead to five other Packt titles. First and foremost, I would like to thank my wife and two daughters for putting up with me while I'm writing. I couldn't do it without their support. This book wouldn't have happened without support from key EUC vendors. Special thanks to Kevin Cooke at Liquidware for assisting with end user life cycle management, and thanks to Adam Gleeson at Computerworld for providing insight into the new features of Horizon and giving me access to the EUC demo lab. Barry Coombs is the Operations Director for Computerworld Systems LTD, a UK- based, virtualization-focused, value-added reseller. He has been focusing on virtualization, storage, and end user computing technologies as a customer, consultant, and architect for the last nine years. Barry is responsible for identifying new technologies as well as speaking and hosting customer-focused events associated with virtualization, storage, and end user computing. Barry has been awarded VMware's vExpert award for contributions to the VMware community every year since 2010. He is also part of the VMUG leadership team for South West UK. Barry has been a co-author of two VMware Horizon books. About the reviewers Mathias Meyenburg has been the managing director of vleet GmbH since January 1, 2019. He has more than 15 years' experience in the IT industry. Starting as a system administrator, his career has progressed to operating and administering large-scale international data centers. He has constantly updated and expanded his know-how and acquired advanced certifications, such as CCNA, MCP, and VCP. vleet GmbH sought him out in 2016 as a solution architect for the whole VMware SDDC stack, Horizon desktop virtualization, Horizon Cloud on Azure, and VMC on AWS. I would like to express my gratitude to my wife, Andrea, who had to carry the burden while I was occupied with this book and my career, and who lovingly looked after our kids while studying herself. Fady Fawzy Abdelmalek is a senior system engineer and solution architect working at Equinox International (EquinoxME) in Egypt. He specializes in VMware technologies, and has more than 8 years of extensive experience with vSphere, Horizon, NSX, VMware Cloud Automation Infrastructure, and complex SDDC infrastructure. He has participated in many mega-projects as an SME, architect, advisor, implementer, and technical team delivery lead. He has also worked as a freelance consultant. He has been working in IT for more than 10 years. He is known on the web as VMFCore. Packt is searching for authors like you If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea. Table of Contents Preface 1 Section 1: Installation and Configuration Chapter 1: Introducing VDI and VMware Horizon 7 9 What is VDI? 10 VDI high-level architecture – how does it work? 10 VDI versus server-based computing (SBC) – what are the differences? 12 The benefits of deploying Horizon 14 The history of VMware and VDI 16 VMware Horizon 7 18 VMware Horizon 7 timeline 18 VMware Horizon 7 product editions 21 Horizon for Linux 21 Horizon Standard Edition 21 Horizon Advanced Edition 22 Horizon Enterprise Edition 22 Horizon Apps Standard 23 Horizon Apps Advanced 23 Horizon editions overview and comparison 24 Horizon user licensing models 25 Summary 25 Chapter 2: Understanding Horizon 7 Architecture and Components 26 Introducing the key Horizon components 27 High-level architectural overview 28 The Horizon View Connection Server 29 How does the connection server work? 29 Minimum requirements for the connection server 32 Hardware requirements 32 Supported OS 33 The Horizon View security server 33 How does the security server work? 34 The Horizon View replica server 34 How does the replica server work? 35 The Horizon View enrolment server and True SSO 36 VMware Unified Access Gateway 38 Persistent or non-persistent desktops? 39 Horizon View Composer and linked clones 41 What is cloning? 41 What is a full clone? 42 Table of Contents What are linked clones? 42 How do linked clones work? 44 Creating linked clones 46 Linked clone disk 46 Persistent disk or user data disk 46 Disposable disk 47 Internal disk 48 Understanding how the linked clone process works 49 Creating and provisioning a new virtual desktop 49 Customizing the desktop 50 Linked clone features and functionality 51 Recomposing a linked clone 51 Refreshing a linked clone 53 Rebalancing operations with View Composer 55 Instant Clones 56 Instant clone build process 58 Instant clone benefits 59 View Persona Management 59 Why do we need to manage user profiles differently in VDI? 60 The benefits of View Persona Management 60 VMware UEM 61 UEM or Persona Management? 63 Printing from a virtual desktop machine 64 Managing USB devices 64 Filtering supported USB devices 65 Managing multi-function USB devices 65 ThinApp application virtualization 66 How does application virtualization work? 66 Antivirus software for virtual desktops 68 Protocols – Delivering the virtual desktop experience 69 PCoIP 69 PCoIP host rendering 70 Multi-codec support with PCoIP 71 Controlling the image quality 71 Dynamic networking capabilities 71 PCoIP offloading with the Teradici PCoIP Hardware Accelerator 72 Teradici host card for physical PCs 73 How the PCoIP connection process works 73 Blast Extreme 74 How the Blast Extreme connection process works 76 Alternative display protocols 77 RDP 77 ICA protocol 78 Which protocol should you use – Blast Extreme, PCoIP, or RDP? 78 Horizon View Hardware-accelerated graphics 79 vSGA 80 vSGA-supported graphics cards 82 [ ii ] Table of Contents How many virtual desktops are supported by vSGA? 82 vDGA 83 How many virtual desktops are supported with vDGA? 84 vDGA-supported graphics cards 85 vGPU 85 How many virtual desktops are supported with vGPU? 87 Unified communications support 87 How do unified communications work now? 89 Support for Microsoft Skype 89 Real-Time Audio-Video (RTAV) 91 The issue 91 How does RTAV fix this issue? 91 URL Content Redirection 92 Horizon clients 92 Summary 92 Chapter 3: Design and Deployment Considerations 93 Phase I – Project definition 95 Step 1 – Identifying business drivers – understanding your needs and requirements 95 Step 2 – Building the business case 96 Step 3 – Assessment 96 User experience and desktop analysis tools 97 Understanding what do your users really do 99 Applications 99 Performance 100 End user experience 101 Floor walks, interviews, and department champions 101 What are department champions? 102 Step 4 – Defining the success criteria 102 Phase II – Proving the technology 104 Proof of concept (POC) 105 Proof of technology (POT) 105 Pilot 106 Step 1 – Pilot design 107 Step 2 – Deploying the pilot 108 Step 3 – Testing the pilot 108 Step 4 – Reviewing the pilot 108 Phase III – Designing a production environment 109 Technology choices 109 Use case example – Scenario 1 110 Solution recommendation 110 Use case example – Scenario 2 110 Solution recommendation 110 Use case example – Scenario 3 111 Solution recommendation 111 Use case example – Scenario 4 112 [ iii ] Table of Contents Solution recommendation 112 Conclusions 112 Preparing for production 113 Horizon View pod and block architecture 113 Cloud Pod Architecture 118 vSphere design for Horizon View 120 Configuration maximums 121 ESXi host servers 122 CPU and memory requirements for ESXi 122 Overcommitting CPU and memory resources 122 CPU and memory sizing 123 Networking 124 Graphics 124 Storage 125 Storage capacity 125 Storage performance 127 Horizon View design specifics 130 The Horizon View Connection Server 131 The Horizon View Replica Server 131 The Horizon View Security Server 131 The Horizon View Enrolment Server 132 The Horizon View Composer 132 vCenter Servers 132 VMware Access Point 133 Configuration maximums 134 Networking 134 Load balancing 136 Remote Desktop Session Host (RDSH) design considerations 138 Supporting infrastructure design 140 Database requirements 140 File servers 140 IP addressing 141 Antivirus 142 Active Directory Group Policy 142 Functionality 142 Lockdown 143 Performance and management 143 Key Management Server (KMS) 143 Printing 144 Thin clients and other endpoint devices 145 Desktop design considerations 145 Pool design 145 Sizing the virtual desktop machines 146 Sizing the host server's CPU requirements to run virtual desktops 146 Light user 147 Medium user 148 Heavy user 148 [ iv ]