Mastering VMWare vSphere 6.7 Second Edition Effectively deploy, manage, and monitor your virtual datacenter with VMware vSphere 6.7 Packt〉 Martin Gavanda Andrea Mauro www.packt.com Paolo Valsecchi and Karel Novak
|||||||||||||||||||| ||||||||||||||||||||
Mastering vMware vSphere 6.7 Second edition Effectively deploy manage and monitor your virtual datacenter with VMware v Sphere 6.7 Martin Gavanda Andrea mauro Paolo valsecchi Karel novak Packt BIRMINGHAM- MUMBAI
Mastering VMware vSphere 6.7 Second Edition Effectively deploy, manage, and monitor your virtual datacenter with VMware vSphere 6.7 Martin Gavanda Andrea Mauro Paolo Valsecchi Karel Novak BIRMINGHAM - MUMBAI |||||||||||||||||||| ||||||||||||||||||||
Mastering VMware vSphere 6.7 Second Edition Copyright C 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 Every effort has been made in the preparation of this book to ensure the accuracy of the information nted. 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. tion editor: devika battie Content Development Editor: Ronn Kurien Technical Editor: Swathy Mohan Copy Editor: Safis Editing Language Support Editors: Storm Mann, Mary McGowan Project Coordinator: Jagdish Prabhu Proofreader: Safis Editing Indexer: Rekha nair Graphics: Tom Scaria First published December 2017 Second edition: March 2019 Published by Packt Publishing Ltd. Place 35 Livery Street B3 2PB UK. IsBN98-1-78961-3377 www.packtpub.com
Mastering VMware vSphere 6.7 Second 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: Devika Battike Content Development Editor: Ronn Kurien Technical Editor: Swathy Mohan Copy Editor: Safis Editing Language Support Editors: Storm Mann, Mary McGowan Project Coordinator: Jagdish Prabhu Proofreader: Safis Editing Indexer: Rekha Nair Graphics: Tom Scaria Production Coordinator: Aparna Bhagat First published: December 2017 Second edition: March 2019 Production reference: 1050319 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78961-337-7 www.packtpub.com |||||||||||||||||||| ||||||||||||||||||||
Mapt mapt. io Mapt is an online digital library that gives you full access to over 5,000 books and videos, as we vell 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 andepuBfilesavailableYoucanupgradetotheeboOkversionatwww.packt.comand as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub com for more details Atwww.packt.com,youcanalsoreadacollectionoffreetechnicalarticlessignupfor a range of free newsletters, and receive exclusive discounts and offers on Packt books and ebook
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 customercare@packtpub.com 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 Martin Gavanda has more than 10 years of experience, mainly for service providers offering laaS solutions based on VMware vSphere products. He was responsible for the design and implementation of laaS solution in CE region, he has also worked for one of the worlds biggest service providers, supervising thousands of ESXi servers across the globe Currently, he is working as an independent cloud architect, focusing on large infrastructure projects and practicing as a VMware instructor For the past year, he has led more than a dozen on-site VMware workshops. He has created several virtual classes focusing on the VMware vSphere platform, with thousands of students subscribed, and he runs his own blog about virtualization and the cloud I want to thank all my friends and family, who supported me during the writing of the book, and I want to thank all the people around me woho support me in all the (crazy) things I do, with a special thanks to Martina Lupinkovd Andrea Mauro has more than 20 years of experience in IT, both in industry and the academic world. He works as a solutions architect and is responsible for infrastructure implementation, architecture design, upgrades, and migration processes. He is a virtualization and storage architect, specializing in VMware, Microsoft, Citrix, and Linux solutions. His first virtualized solution in production was built around ESX 2.x, several years ago. His professional certifications include not only several VMware certifications, but also other vendor-related certifications. He is also a VMware vExpert(2010-18), Nutanix NTC (2014-19), and Veeam vanguard (2016-19), and he was a Microsoft MVP(2014-16) I would like to thank my wife and my son for their patience(this book has taken a lot of my free time for three long months), my friends from VMuGIT for their suppo the co-authors Paolo and Karel for their support, without which this book would not have been possible (at least not with the proposed deadline), and Scott S. Lowe his words and suggestions
Contributors About the authors Martin Gavanda has more than 10 years of experience, mainly for service providers offering IaaS solutions based on VMware vSphere products. He was responsible for the design and implementation of IaaS solution in CE region, he has also worked for one of the world's biggest service providers, supervising thousands of ESXi servers across the globe. Currently, he is working as an independent cloud architect, focusing on large infrastructure projects and practicing as a VMware instructor. For the past year, he has led more than a dozen on-site VMware workshops. He has created several virtual classes focusing on the VMware vSphere platform, with thousands of students subscribed, and he runs his own blog about virtualization and the cloud. I want to thank all my friends and family, who supported me during the writing of the book, and I want to thank all the people around me who support me in all the (crazy) things I do, with a special thanks to Martina Lupínková. Andrea Mauro has more than 20 years of experience in IT, both in industry and the academic world. He works as a solutions architect and is responsible for infrastructure implementation, architecture design, upgrades, and migration processes. He is a virtualization and storage architect, specializing in VMware, Microsoft, Citrix, and Linux solutions. His first virtualized solution in production was built around ESX 2.x, several years ago. His professional certifications include not only several VMware certifications, but also other vendor-related certifications. He is also a VMware vExpert (2010-18), Nutanix NTC (2014-19), and Veeam Vanguard (2016-19), and he was a Microsoft MVP (2014-16). I would like to thank my wife and my son for their patience (this book has taken a lot of my free time for three long months), my friends from VMUG.IT for their support, the co-authors Paolo and Karel for their support, without which this book would not have been possible (at least not with the proposed deadline), and Scott S. Lowe for his words and suggestions. |||||||||||||||||||| ||||||||||||||||||||
Paolo Valsecchi has worked in the IT industry for more than 20 years, and he currently works as a system engineer mainly focused on VMware vSphere, Microsoft technologies, and backup/DR solutions. His current role involves covering all tasks related to ensuring IT infrastructure availability and data integrity(includir implementation, upgrades, and administration). He holds the VMware VCP65-DCV and Veeam VMCE professional certifications, and he has been awarded the VMware vExpert title(2015-18)and the Veeam Vanguard tite(2016-19) a big thanks to Andrea and Karel for including me in this project, my family for their support and patience during this hard woork, and all the people who supported me during this adventure Karel Novak has 18 years of experience in the If world. He currently works as a senior virtual infrastructure engineer at Arrow ECS Czechia, and is responsible for implementation, design, and complete consultation when it comes to VMware and Veeam. As an instructor of advanced VMware and Veeam, he has delivered many courses. He specializes in VMware DCV, NSX, and, of course, Veeam. He has beer using VMware for 12 years and Veeam from the first version. He is a VMware vExpert 2012-2018, VMware vExpert NSX 2016-2018, and a Veeam Vanguard 2015-2019. His highest certifications are VCl-Level 2, VCIX6-NV, VCIX6-DCV, VMCT Mentor, and VMCA. He is also a VMware Certification Subject Matter Expert I must say thank you to Andrea and Paolo for this opportunity. Thank you to my, we ts me in all my projects. Thank you to all those woho support me in all the activities that i do
Paolo Valsecchi has worked in the IT industry for more than 20 years, and he currently works as a system engineer mainly focused on VMware vSphere, Microsoft technologies, and backup/DR solutions. His current role involves covering all tasks related to ensuring IT infrastructure availability and data integrity (including implementation, upgrades, and administration). He holds the VMware VCP65-DCV and Veeam VMCE professional certifications, and he has been awarded the VMware vExpert title (2015-18) and the Veeam Vanguard title (2016-19). A big thanks to Andrea and Karel for including me in this project, my family for their support and patience during this hard work, and all the people who supported me during this adventure. Karel Novak has 18 years of experience in the IT world. He currently works as a senior virtual infrastructure engineer at Arrow ECS Czechia, and is responsible for implementation, design, and complete consultation when it comes to VMware and Veeam. As an instructor of advanced VMware and Veeam, he has delivered many courses. He specializes in VMware DCV, NSX, and, of course, Veeam. He has been using VMware for 12 years and Veeam from the first version. He is a VMware vExpert 2012-2018, VMware vExpert NSX 2016-2018, and a Veeam Vanguard 2015-2019. His highest certifications are VCI-Level 2, VCIX6-NV, VCIX6-DCV, VMCTMentor, and VMCA. He is also a VMware Certification Subject Matter Expert. I must say thank you to Andrea and Paolo for this opportunity. Thank you to my amazing wife, who supports me in all my projects. Thank you to all those around me who support me in all the activities that I do. |||||||||||||||||||| ||||||||||||||||||||
About the reviewer Mathias Meyenburg is managing director of vleet gmbH with more than 15 years of experience in the If industry. Starting as a systems administrator, his career has progressed to operating and administering large-scale international data centers. He has constantly updated and expanded his know-how, and has acquired certifications such as CCNA, MCP, and VCP vleet GmbH sought him out in 2016 as a solutions architect for the whole VMware SDDC stack, Horizon desktop virtualization, Horizon Cloud on azure, and vMc on amazon Web services I would like to express my gratitude to my wife, Andrea, who had to carry the burden while l was occupied with this book and my career, and who lovingly looked after our kids while studying herself. 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
About the reviewer Mathias Meyenburg is managing director of vleet GmbH with more than 15 years of experience in the IT industry. Starting as a systems administrator, his career has progressed to operating and administering large-scale international data centers. He has constantly updated and expanded his know-how, and has acquired certifications such as CCNA, MCP, and VCP. vleet GmbH sought him out in 2016 as a solutions architect for the whole VMware SDDC stack, Horizon desktop virtualization, Horizon Cloud on Azure, and VMC on Amazon Web Services. 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. 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 Section 1: Section 1: Getting Started Chapter 1: Evolution to vSphere 6.7 8 Introduction to VMware vSphere 8 vSphere strategy-the foundation of your unified hybrid cloud 10 Software-defined data center(SDDC) Virtualization versus containers VMware vSphere ecosystem 16 Data centers and cloud computing Storage and availability Network and security 17 End user computing Cloud management Cloud-native workloads Introduction to vmware cloud on aws Hardware specifications and sizing Physical location Pricing Interconnection with on-premises SDDC Connectivity to native AWs services 23 Certifications What's new in VMware VSphere 6.7? Key features Improved vCenter Server Appliance(VCSA) monitoring Improved vCenter backup management ESXi single-reboot upgrades ESXi Quick Boot Support for Remote Direct Memory Access(RDMA) vSphere persistent memor Virtual Trusted Platform Module(vTPM TPM 2.0 Microsoft virtualization-based security (VB Per-VM Enhanced vMotion Compatibility(Evc) 33 Hybrid linked mode Instant Clone Configuration maximums Virtual machine hardware 14 ESXi 6.7 hypervisors v Center server 6.7
Table of Contents Preface 1 Section 1: Section 1: Getting Started Chapter 1: Evolution to vSphere 6.7 8 Introduction to VMware vSphere 8 vSphere strategy – the foundation of your unified hybrid cloud 10 Software-defined data center (SDDC) 11 Virtualization versus containers 12 VMware vSphere ecosystem 16 Data centers and cloud computing 16 Storage and availability 16 Network and security 17 End user computing 19 Cloud management 19 Cloud-native workloads 20 Introduction to VMware Cloud on AWS 20 Hardware specifications and sizing 21 Physical location 22 Pricing 22 Interconnection with on-premises SDDC 23 Connectivity to native AWS services 23 Certifications 23 What's new in VMware vSphere 6.7? 24 Key features 25 vSphere Client (HTML-5) 25 Improved vCenter Server Appliance (vCSA) monitoring 26 Improved vCenter backup management 27 ESXi single-reboot upgrades 28 ESXi Quick Boot 29 Support for Remote Direct Memory Access (RDMA) 30 vSphere persistent memory 31 Virtual Trusted Platform Module (vTPM) 31 TPM 2.0 32 Microsoft virtualization-based security (VBS) 32 Per-VM Enhanced vMotion Compatibility (EVC) 33 Hybrid linked mode 34 Instant Clone 35 Configuration maximums 35 Virtual machine hardware 14 36 ESXi 6.7 hypervisors 37 vCenter Server 6.7 38 |||||||||||||||||||| ||||||||||||||||||||
Table of contents VMware vSphere 6.7 Editions VMware vSphere Editions VMware vSphere essentials Kits Remote Office Branch Office(ROBO)editions Reasons for and against upgrading Why upgrade? Why shouldn't you upgrade? Su Questions Further reading Chapter 2: Designing and Planning a virtualization Infrastructure 51 Planning a virtual infrastructure project Plan-Do-Check-Act(PDCA Waterfall ITIL V3 Improved waterfall 23457 ysical hardware considerations Physical form factor considerations Standard rack servers Blade servers Hyper-converged servers Resource comparison Hyper-converged systems Storage design considerations Standard storage array 65 Software-defined storage Network design considerations Three-tier architecture Access Distribution Core Leaf spine 6768888 Assess 70 Requirements, constraints, assumptions, and risks 70 Design Conceptual desig Logical design 73 Physical desig ESXi host Storage Network connectivity Management vCenter server How to provide good documentation 8884 [i]
Table of Contents [ ii ] VMware vSphere 6.7 Editions 38 VMware vSphere Editions 39 VMware vSphere Essentials Kits 43 Remote Office Branch Office (ROBO) editions 43 Reasons for and against upgrading 44 Why upgrade? 45 Why shouldn't you upgrade? 46 Upgrade paths 47 Summary 48 Questions 48 Further reading 50 Chapter 2: Designing and Planning a Virtualization Infrastructure 51 Planning a virtual infrastructure project 52 Plan-Do-Check-Act (PDCA) 52 Waterfall 53 ITIL v3 54 Improved waterfall 55 Physical hardware considerations 57 Physical form factor considerations 57 Standard rack servers 57 Blade servers 60 Hyper-converged servers 62 Resource comparison 62 Hyper-converged systems 63 Storage design considerations 65 Standard storage arrays 65 Software-defined storage 65 Network design considerations 66 Three-tier architecture 67 Access 67 Distribution 68 Core 68 Leaf spine 68 Assess 69 The design objective 70 Requirements, constraints, assumptions, and risks 70 Design 71 Conceptual design 72 Logical design 73 Physical design 75 ESXi host 76 Compute 77 Storage 78 Network connectivity 81 Management 83 vCenter Server 83 How to provide good documentation 84 |||||||||||||||||||| ||||||||||||||||||||
Table of contents Best practices Reference architecture Different scenarios Enterprise Business requirements Possible constraints Main risks 8899 Some design decisions Small and medium-sized business (SMB) Business requirements Possible constraints Main risks Some design decisions 1122344 Possible constraints Main risks Examples of design decisions Summary Questions Further reading Chapter 3: Analysis and Assessment of Existing Environments Analyzing a physical environment before virtualizing 101 Useful metrics from a physical environment Processor metrics Memory metrics Disk metrics 106 Network metrics Are all workloads good candidates to be virtualized? Existing tools to analyze a physical environment 109 VMware Capacity Planner (VCP) 110 Virtual Storage Area Network(VSAN) sizing tools 110 Dell Live Optics 111 Microsoft Assessment and Planning(MAP)Toolkit 111 Assessing an existing virtual environment 112 Discovery and inventory 113 Health check Benchmarks DVD Store Hyper-Converged Infrastructure Benchmark(HCIBench) 116 Existing tools for analyzing a virtual environment 117 RVTool 119 VOA VMware vSphere Health Check Summary Questions [iiil
Table of Contents [ iii ] Best practices 84 Reference architecture 85 VVD 86 Different scenarios 88 Enterprise 88 Business requirements 88 Possible constraints 89 Main risks 89 Some design decisions 89 Small and medium-sized business (SMB) 90 Business requirements 91 Possible constraints 91 Main risks 92 Some design decisions 92 ROBO 93 Business requirements 94 Possible constraints 94 Main risks 95 Examples of design decisions 95 Summary 97 Questions 97 Further reading 98 Chapter 3: Analysis and Assessment of Existing Environments 99 Analyzing a physical environment before virtualizing 101 Useful metrics from a physical environment 103 Processor metrics 103 Memory metrics 104 Disk metrics 106 Network metrics 106 Are all workloads good candidates to be virtualized? 107 Existing tools to analyze a physical environment 109 VMware Capacity Planner (VCP) 110 Virtual Storage Area Network (vSAN) sizing tools 110 Dell Live Optics 111 Microsoft Assessment and Planning (MAP) Toolkit 111 Assessing an existing virtual environment 112 Discovery and inventory 113 Health check 116 Benchmarks 116 DVD Store 116 Hyper-Converged Infrastructure Benchmark (HCIBench) 116 Existing tools for analyzing a virtual environment 117 RVTools 119 VOA 120 VMware vSphere Health Check 121 Summary 122 Questions 122 |||||||||||||||||||| ||||||||||||||||||||