Table of Contents What is troubleshooting? Troubleshooting a virtual environment 634 CLI tools esxcli commands excl 637 Ruby vSphere console vcsa-cli PowerCLl 642 Troubleshooting vSphere components Troubleshooting the vCenter Server Troubleshooting the ESXi host Troubleshooting cluster HA or DRS Troubleshooting a virtual network Troubleshooting storage 651 Chapter 19: Building Your Own VMware vSphere Lab The importance of lifelong learning Why build a lab? 655 VMware Hands-On Lab(HOL) VMware forums gs Choosing the right platform Standard rack servers 65 Desktop PC 660 Cloud-based solutions 660 a dedicated server in a data center Software components and licensin VMware licensing VMware EVALExperience 62 Windows licensing Other software componen Storage Architecture and logical design The architecture of the lab The Master ESXi hypervisor iSCSI storage Management station n 668 Management network 668
Table of Contents [ xv ] What is troubleshooting? 632 Troubleshooting a virtual environment 634 CLI tools 634 esxcli commands 634 esxcfg-* 637 Ruby vSphere console 638 vim-cmd 639 vcsa-cli 641 PowerCLI 642 Logs 642 ESXi host logs 643 Troubleshooting vSphere components 646 Troubleshooting the vCenter Server 646 Troubleshooting the ESXi host 648 Troubleshooting cluster HA or DRS 649 Troubleshooting a virtual network 649 Troubleshooting storage 651 Troubleshooting VMs 651 Chapter 19: Building Your Own VMware vSphere Lab 654 The importance of lifelong learning 655 Why build a lab? 655 VMware Hands-On Lab (HOL) 655 VMware forums 656 Blogs 657 Choosing the right platform 657 Standard rack servers 658 Desktop PC 659 Small, dedicated PCs 660 Cloud-based solutions 660 A dedicated server in a data center 661 Software components and licensing 661 VMware licensing 662 VMware EVALExperience 662 Windows licensing 664 Other software components 664 Storage 664 Networking 664 Architecture and logical design 665 The architecture of the lab 666 The Master ESXi hypervisor 667 iSCSI storage 667 Virtual router 667 Management station 667 AD 667 IP address plan 668 Management network 668
able of Contents vMotion network 668 iScSI network Production network A detailed implementation guide 670 Master ESXi server configuration 670 Network configuration 671 671 Port 672 Virtual machines 673 Virtual router Virtual router configuration Firewalls and access to the virtual router DNS configuration License configuration VLAN configuration Windows infrastructure 681 DCo1. learnvmware local DCo2 learnymware local Mgmt learnvmware local 686 iscsi. learnvmware local Storage design 688 iSCSI target configuration 689 DNS configuration 691 Centralized 693 iSCSI target configuration 694 ESXi servers Network confiquration VMkernel ports Network verification Storage configuration 703 The vCenter server 07 Sphere configuration 711 other Books You May Enjoy Index 717
Table of Contents [ xvi ] vMotion network 668 iSCSI network 669 Production network 669 A detailed implementation guide 670 Master ESXi server configuration 670 Network configuration 671 Virtual switches 671 Port groups 672 Virtual machines 673 Virtual router 674 Virtual router configuration 675 Firewalls and access to the virtual router 676 DNS configuration 678 License configuration 679 VLAN configuration 680 Windows infrastructure 681 DC01.learnvmware.local 681 DC02.learnvmware.local 685 Mgmt.learnvmware.local 686 iscsi.learnvmware.local 688 Storage design 688 iSCSI target configuration 689 DNS configuration 691 Centralized management 693 iSCSI target configuration 694 ESXi servers 697 Network configuration 699 vSwitches 699 Port groups 700 VMkernel ports 702 Network verification 702 Storage configuration 703 The vCenter Server 707 vSphere configuration 711 Other Books You May Enjoy 714 Index 717
Preface vSphere 6.7 is the latest release of VMware's industry-leading virtual cloud platform. By understanding how to manage, secure, and scale apps with vSphere 6.7, you can easily run even the most demanding of workloads This Learning Path begins with an overview of the features of the vSphere 6.7 suite You'll learn how to plan and design a virtual infrastructure. You'll also gain insights into best practices to efficiently configure, manage, and secure apps. Next, you'll pick up on how to enhance your infrastructure with high-performance storage access, such as remote direct memory access(rDMa)and persistent memory. The book will even guide you in securing your network with security features, such as encrypted vMotion and VM-level encryption. Finally, by learning how to apply Proactive High Availability and Predictive Distributed Resource Scheduler(DRS), you'l be able to achieve enhanced computing, storage, network, and management capabilities for your virtual data center the end of this Learning Path, you'll be able to build your own VMware vSphere lab that can run high workloads This Learning Path includes content from the following Packt products VMware vSphere 6.7 Data Center Design Cookbook- Third Edition by Mike Brown and Hersey Cartwright Mastering VMware vSphere 6.7-Second Edition by Martin Gavanda Andrea mauro, Karel Novak, and Paolo valsecchi Who this book is for This Learning Path is for administrators, infrastructure engineers, consultants, and architects who want to design virtualized data center environments using VMware vSphere 6.x (or previous versions of vSphere and the supporting components). Basic knowledge of VMware vSphere is required to get the most out of this Learning Path
Preface vSphere 6.7 is the latest release of VMware's industry-leading virtual cloud platform. By understanding how to manage, secure, and scale apps with vSphere 6.7, you can easily run even the most demanding of workloads. This Learning Path begins with an overview of the features of the vSphere 6.7 suite. You'll learn how to plan and design a virtual infrastructure. You'll also gain insights into best practices to efficiently configure, manage, and secure apps. Next, you'll pick up on how to enhance your infrastructure with high-performance storage access, such as remote direct memory access (RDMA) and persistent memory. The book will even guide you in securing your network with security features, such as encrypted vMotion and VM-level encryption. Finally, by learning how to apply Proactive High Availability and Predictive Distributed Resource Scheduler (DRS), you'll be able to achieve enhanced computing, storage, network, and management capabilities for your virtual data center. By the end of this Learning Path, you'll be able to build your own VMware vSphere lab that can run high workloads. This Learning Path includes content from the following Packt products: VMware vSphere 6.7 Data Center Design Cookbook - Third Edition by Mike Brown and Hersey Cartwright Mastering VMware vSphere 6.7 - Second Edition by Martin Gavanda, Andrea Mauro, Karel Novak, and Paolo Valsecchi Who this book is for This Learning Path is for administrators, infrastructure engineers, consultants, and architects who want to design virtualized data center environments using VMware vSphere 6.x (or previous versions of vSphere and the supporting components). Basic knowledge of VMware vSphere is required to get the most out of this Learning Path
What this book covers Chapter 1, The Virtual Data Center, provides an introduction to the benefits of the virtual data center, VMware vSphere products, and the basic virtualization concepts This chapter identifies the differences between a data center administrator and a data center architect. An overview of the vmware certified Advanced professional Datacenter Design(VCAP-DCD)and VMware Certified Design Architect(VCDX certifications are also covered stake 2, The Discovery Process, explains how to identify stakeholders, conduct stakeholder interviews, and perform technical assessments to discover the business and technical goals of a virtualization project. This chapter covers how to use the following tools--VMware Capacity Planner, Windows Performance Monitor, and vRealize Operations Manager-to collect resource information during the discovery process Chapter 3, The Design Factors, explains how to identify and document the design requirements, constraints, assumptions, and risks. This chapter details how to use the design factors to create a conceptual design Chapter 4, VSphere Management Design, describes the vCenter Server components and their dependencies. Recipes for determining which vCenter Server deployment options to use, the Windows server or virtual appliance to be used, and for determining the type of database to use based on the de ployment size, are included Chapter 5, oSphere Storage Design, covers logical storage design. Recipes are included for calculating the storage capacity and performance requirements for the logica storage design. This chapter covers the details of selecting the correct RAID level and < orage connectivity to support design. Recipes for VSAN and VOLS are provided in hapter 6, aSphere Network Design, provides details on the logical network design. This chapter explains how to calculate bandwidth requirements to support a vSphere design. Details on selecting a virtual switch topology, designing for network availability, and the network requirements to support VMotion and Ip connected storage, are also covered Chapter 7, oSphere Compute Design, provides recipes for calculating the CPU and cluster design considerations for High Availability(HA)and the Distributed G memory requirements to create a logical compute design. The chapter also cov Resource Scheduler Drs) [2]
Preface [ 2 ] What this book covers Chapter 1, The Virtual Data Center, provides an introduction to the benefits of the virtual data center, VMware vSphere products, and the basic virtualization concepts. This chapter identifies the differences between a data center administrator and a data center architect. An overview of the VMware Certified Advanced Professional Datacenter Design (VCAP-DCD) and VMware Certified Design Architect (VCDX) certifications are also covered. Chapter 2, The Discovery Process, explains how to identify stakeholders, conduct stakeholder interviews, and perform technical assessments to discover the business and technical goals of a virtualization project. This chapter covers how to use the following tools—VMware Capacity Planner, Windows Performance Monitor, and vRealize Operations Manager—to collect resource information during the discovery process. Chapter 3, The Design Factors, explains how to identify and document the design requirements, constraints, assumptions, and risks. This chapter details how to use the design factors to create a conceptual design. Chapter 4, vSphere Management Design, describes the vCenter Server components and their dependencies. Recipes for determining which vCenter Server deployment options to use, the Windows server or virtual appliance to be used, and for determining the type of database to use based on the deployment size, are included. Chapter 5, vSphere Storage Design, covers logical storage design. Recipes are included for calculating the storage capacity and performance requirements for the logical storage design. This chapter covers the details of selecting the correct RAID level and storage connectivity to support design. Recipes for VSAN and VVOLs are provided in this chapter. Chapter 6, vSphere Network Design, provides details on the logical network design. This chapter explains how to calculate bandwidth requirements to support a vSphere design. Details on selecting a virtual switch topology, designing for network availability, and the network requirements to support vMotion and IP connected storage, are also covered. Chapter 7, vSphere Compute Design, provides recipes for calculating the CPU and memory requirements to create a logical compute design. The chapter also covers cluster design considerations for High Availability (HA) and the Distributed Resource Scheduler (DRS)
Chapter 8, VSphere Physical Design, explains how to satisfy design factors by mapping the logical management, storage, network, and compute designs to hardware to create a physical vSphere design. The chapter also provides details on creating a custom installation ISo to install ESXi and the best practices for host bIOS Chapter 9, Virtual Machine Design, looks at the design of virtual machines and application workloads running in the virtual data center. Recipes are provided for right-sizing virtual machine resources, enabling the ability to add virtual machine resources, and creating virtual machine templates. This chapter details the use of affinity and anti-affinity rules to improve application efficiency and availability Converting or migrating physical servers to virtual machines is also covered in this chapter Chapter 10, Deployment Workflow and Component Installation, starts by explaining the tho ponents of vSphere and the roles and services they provide. We will walk ough the main aspects to consider in terms of the preparation of a deployment plan for your environment, analyzing the criteria for hardware platform selection, storage, and network requirements hapter 1l, Configuring and Managing vSphere 6.7, describes the different ways to manage a vSphere 6. 7 infrastructure, including the new hTML5 clients, and also contains an introduction to the scripting and automation tools. ESXi, VCenter, VMware cluster-related configuration, and management topics are covered Chapter 12, Life Cycle management, Patching, and upgrading, looks at how, with vSphere 6.7, administrators will find significantly more powerful capabilities for patching upgrading, and managing the configuration of the virtual environment using the G pdate Manager and Host Profile features. We also cover the upgrade path and nsiderations to make regarding upgrading or migrating your virtual environment. Chapter 13, VM Deployment and Management, introduces the practices and procedures involved in deploying, configuring, and managing Virtual Machines(VMs)in a vSphere infrastructure. Different types of VM provisioning are considered, including the use of templates, the content library, and oVe. Chapter 14, VM Resource Management, provides a comprehensive view of vSphere resources management, including reservations, limits, and shares, and how to balance and optimize them in your environment. Finally, we will discuss different migration techniques for moving your workload across different environment [3]
Preface [ 3 ] Chapter 8, vSphere Physical Design, explains how to satisfy design factors by mapping the logical management, storage, network, and compute designs to hardware to create a physical vSphere design. The chapter also provides details on creating a custom installation ISO to install ESXi and the best practices for host BIOS configurations. Chapter 9, Virtual Machine Design, looks at the design of virtual machines and application workloads running in the virtual data center. Recipes are provided for right-sizing virtual machine resources, enabling the ability to add virtual machine resources, and creating virtual machine templates. This chapter details the use of affinity and anti-affinity rules to improve application efficiency and availability. Converting or migrating physical servers to virtual machines is also covered in this chapter. Chapter 10, Deployment Workflow and Component Installation, starts by explaining the components of vSphere and the roles and services they provide. We will walk through the main aspects to consider in terms of the preparation of a deployment plan for your environment, analyzing the criteria for hardware platform selection, storage, and network requirements. Chapter 11, Configuring and Managing vSphere 6.7, describes the different ways to manage a vSphere 6.7 infrastructure, including the new HTML5 clients, and also contains an introduction to the scripting and automation tools. ESXi, vCenter, VMware cluster-related configuration, and management topics are covered Chapter 12, Life Cycle Management, Patching, and Upgrading, looks at how, with vSphere 6.7, administrators will find significantly more powerful capabilities for patching, upgrading, and managing the configuration of the virtual environment using the Update Manager and Host Profile features. We also cover the upgrade path and considerations to make regarding upgrading or migrating your virtual environment. Chapter 13, VM Deployment and Management, introduces the practices and procedures involved in deploying, configuring, and managing Virtual Machines (VMs) in a vSphere infrastructure. Different types of VM provisioning are considered, including the use of templates, the content library, and OVF. Chapter 14, VM Resource Management, provides a comprehensive view of vSphere resources management, including reservations, limits, and shares, and how to balance and optimize them in your environment. Finally, we will discuss different migration techniques for moving your workload across different environments