0%

Book Description

Proven, actionable ways to install, manage, secure and monitor your vSphere 6.7 environments

Key Features

  • Get up to speed with the installation and life cycle management of a vSphere 6.7 environment, using a task-based approach
  • Secure your vSphere environment using SSL Certificates
  • Get introduced to the tools that are used to monitor the performance of the vSphere Environment

Book Description

VMware vSphere is the most comprehensive core suite of SDDC solutions on the market. It helps transform data centers into simplified on-premises private cloud infrastructures. This edition of the book focuses on the latest version, vSphere 6.7.

The books starts with chapters covering the greenfield deployment of vSphere 6.7 components and the upgrade of existing vSphere components to 6.7. You will then learn how to configure storage and network access for a vSphere environment. Get to grips with optimizing your vSphere environment for resource distribution and utilization using features such as DRS and DPM, along with enabling high availability for vSphere components using vSphere HA, VMware FT, and VCHA. Then, you will learn how to facilitate large-scale deployment of stateless/stateful ESXi hosts using Auto Deploy. Finally, you will explore how to upgrade/patch a vSphere environment using vSphere Update Manager, secure it using SSL certificates, and then monitor its performance with tools such as vSphere Performance Charts and esxtop.

By the end of this book, you'll be well versed in the core functionalities of vSphere 6.7 and be able to effectively deploy, manage, secure, and monitor your environment.

What you will learn

  • Deploy a new vSphere 6.7 environment or upgrade an existing vSphere environment to version 6.7
  • Learn how to configure and manage storage and network access for a vSphere environment
  • Enable high availability for Hosts, VMs and vCenter Server
  • Optimize your vSphere environment for resource distribution/utilization
  • Patch or upgrade a vSphere environment using vSphere Update Manager
  • Secure vSphere infrastructure components using SSL certificates
  • Effectively monitor the performance of your vSphere environment

Who this book is for

If you are a systems administrator, support engineer, or anyone who wants to learn how to install, configure, and manage a vSphere environment in a quick, hands-on manner, then this book is for you. Consultants and infrastructure architects who wish to design and deploy vSphere 6.7 environments will also find this book helpful.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. VMware vSphere 6.7 Cookbook Fourth Edition
  3. Dedication
  4. About Packt
    1. Why subscribe?
  5. Contributors
    1. About the author
    2. About the reviewer
    3. Packt is searching for authors like you
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the color images
      2. Conventions used
    4. Sections
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    5. Get in touch
      1. Reviews
  7. Deploying a New vSphere 6.7 Infrastructure
    1. Installing ESXi – the interactive method
      1. Getting ready
        1. Hardware requirements
        2. Software required for the installation
        3. Using the ESXi image
      2. How to do it...
      3. How it works...
    2. Configuring the ESXi Management Network
      1. Getting ready
      2. How to do it...
      3. How it works...
        1. OUI MAC addresses
    3. Scripted deployment of ESXi
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    4. Deploying the vCenter Server Appliance (VCSA)
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Deploying vCenters in a Linked Mode configuration
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    6. Configuring Single Sign-On (SSO) identity sources
      1. How to do it...
        1. Part 1 – Joining the PSC to Active Directory
        2. Part 2 – Adding the identity source
      2. How it works...
    7. Configuring vCenter Roles and Permissions
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Joining ESXi to an Active Directory domain
      1. Getting ready
      2. How to do it...
      3. How it works...
  8. Planning and Executing the Upgrade of vSphere
    1. Planning the upgrade of your vSphere infrastructure
      1. Getting ready
      2. How to do it...
      3. How it works...
    2. Running VMware Migration Assistant
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Upgrading Platform Services Controllers (PSCs)
      1. Getting ready
      2. How to do it...
        1. Migrating PSC (Windows) to PSC (Appliance) 6.7
        2. Upgrading PSC Appliance to PSC 6.7
      3. How it works...
    4. Upgrading vCenter Servers
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Using the vCenter Convergence Tool
      1. Getting ready
      2. How to do it...
        1. Decommissioning external PSCs
      3. How it works...
    6. Upgrading ESXi using the interactive installer
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Upgrading ESXi using the command-line interface
      1. How to do it...
      2. How it works...
  9. Configuring Network Access Using vSphere Standard Switches
    1. Creating vSphere Standard Switches
      1. Getting ready
      2. How to do it...
        1. Creating a vSwitch using the HTML5 client
        2. Creating a vSwitch using the ESXi command-line interface
      3. How it works...
    2. Creating Virtual Machine Port Groups on vSphere Standard Switches
      1. Getting ready
      2. How to do it...
        1. Creating a standard port group using the HTML5 interface
        2. Creating a standard port group using the ESXi CLI
      3. How it works...
    3. Creating additional VMkernel interfaces on vSphere Standard Switches
      1. Getting ready
      2. How to do it...
        1. Creating a VMkernel interface using the HTML5 client
        2. Creating VMkernel interfaces using the ESXi CLI
      3. How it works...
    4. Creating additional VMkernel TCP/IP stacks
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Managing the Physical Uplinks of a vSphere Standard Switch
      1. How to do it...
      2. How it works...
      3. There's more...
    6. Configuring Security, Traffic Shaping, Teaming and Failover
      1. How to do it...
  10. Configuring Network Access Using vSphere Distributed Switches
    1. Creating a vSphere Distributed Switch (vDS)
      1. How to do it...
      2. How it works...
    2. Connecting ESXi hosts to a vDS
      1. How to do it...
      2. How it works...
    3. Creating Distributed Port Groups (dvPortGroup)
      1. How to do it...
      2. How it works...
        1. Port binding and port allocation
        2. Network resource pool
        3. VLAN type
    4. Configuring Security, Traffic Shaping, Teaming, and Failover
      1. How to do it...
      2. How it works...
        1. Security
          1. Promiscuous mode
          2. MAC address changes and forged transmits
        2. Traffic shaping
        3. Teaming and failover
          1. Route based on the originating virtual port ID
          2. Route based on source MAC hash
          3. Route based on IP hash
          4. Route based on physical NIC load
          5. Use explicit failover order
        4. Network failure detection
        5. Notify switches
        6. Failback
        7. Failover order
      3. There's more...
    5. Configuring VLANs on vDS
      1. How to do it...
      2. How it works...
        1. External switch tagging
        2. VST
        3. VGT
    6. Configuring Private VLANs on a vDS
      1. How to do it...
      2. How it works...
    7. Configuring a Link Aggregation Group (LAG) on a vDS
      1. How to do it...
        1. Setting LAG as a standby uplink on distributed port groups
        2. Reassigning the physical network adapters of hosts to the LAG ports
        3. Setting the LAG to be the only active uplink on the distributed port groups
      2. How it works...
    8. Configuring user-defined network pools—NIOC
      1. Getting ready
      2. How to do it...
      3. How it works...
    9. Migrating Virtual Machine Network from vSS to vDS
      1. Getting ready
      2. How to do it...
      3. How it works...
    10. Migrating VMkernel interfaces from vSS to vDS
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    11. Configuring port mirroring on vDS
      1. Getting ready
      2. How to do it...
      3. How it works...
    12. Configuring NetFlow on vDS
      1. How to do it...
      2. How it works...
    13. Upgrading a vDS
      1. How to do it...
      2. How it works...
    14. Backing up and restoring a vDS
      1. How to do it...
        1. Exporting vDS configuration
        2. Restoring from a backup
      2. How it works...
  11. Configuring Storage Access for Your vSphere Environment
    1. Connecting ESXi hosts to a Fabric Storage
      1. How to do it...
      2. How it works...
        1. Designing for redundancy
          1. Avoiding single points of failure at the ESXi host
          2. Avoiding single points of failure at the fabric
          3. Avoiding single points of failure at the storage array
        2. Fabric Zoning and Masking
    2. Connecting ESXi to iSCSI Storage
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. iSCSI multipathing using Port Binding
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Connecting ESXi hosts to NFS Storage
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Viewing storage devices and datastores on ESXi hosts
      1. How to do it...
      2. How it works...
    6. Masking paths to a storage device
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Unmasking paths to a storage device
      1. How to do it...
      2. How it works...
  12. Creating and Managing VMFS Datastores
    1. Creating VMFS datastores
      1. How to do it...
      2. How it works...
    2. Upgrading VMFS datastores
      1. How to do it...
      2. How it works...
    3. Managing Storage Multipathing
      1. How to do it...
      2. How it works...
        1. NMP
        2. Multipathing – array types
          1. Active/active arrays
          2. Active/passive arrays
          3. Asymmetric Logical Unit Access (ALUA) Arrays
    4. Expanding or growing a VMFS datastore
      1. How to do it...
      2. How it works...
    5. Extending a VMFS datastore
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Unmounting VMFS datastores and detaching storage devices
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Attaching storage devices and remounting VMFS datastores
      1. How to do it...
      2. How it works...
    8. Managing VMFS snapshots
      1. Getting ready
      2. How to do it...
      3. How it works...
  13. SIOC, Storage DRS, and Profile-Driven Storage
    1. Configuring Disk Shares on VM storage
      1. How to do it...
      2. How it works...
    2. Enabling SIOC
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Balancing storage utilization using Storage DRS (SDRS)
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Defining storage capabilities using vCenter Tags
      1. How to do it...
      2. How it works...
    5. Creating VM Storage Policies
      1. Getting ready
      2. How to do it...
      3. How it works...
  14. Configuring vSphere DRS, DPM, and VMware EVC
    1. Enabling vSphere DRS on a cluster
      1. Getting ready
      2. How to do it...
      3. How it works...
        1. DRS automation levels
        2. Migration threshold
    2. Changing the default DRS behavior
      1. How to do it...
      2. How it works...
        1. VM distribution 
        2. Memory metric for load balancing
        3. CPU over-commitment
    3. Configuring VM Automation
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating DRS Groups
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Creating DRS VMs to Host Affinity Rules
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Creating DRS Inter-VM Affinity Rules
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Configuring Predictive DRS
      1. Getting ready
      2. How to do it...
        1. Configuring vROPS for Predictive DRS
        2. Enabling Predictive DRS
      3. How it works...
    8. Configuring DPM
      1. Getting ready
      2. How to do it...
      3. How it works...
    9. Using VMware Enhanced vMotion Compatibility (EVC)
      1. How to do it...
      2. How it works...
  15. Achieving High Availability in a vSphere Environment
    1. Enabling vSphere High Availability
      1. How to do it...
      2. How it works...
        1. Host Failure Response
          1. VM restart priority
          2. VM dependency restart condition
        2. Response for Host Isolation
    2. Configuring vCenter Admission Control
      1. How to do it...
      2. How it works...
        1. Cluster resource percentage 
        2. The slot policy (power-on VMs) 
        3. Dedicated failover hosts
        4. Performance degradation VMs tolerate
    3. Configuring Heartbeat Datastores
      1. How to do it...
      2. How it works...
    4. Overriding Restart Priority for Virtual Machines
      1. How to do it...
      2. How it works...
    5. Creating VM to VM Dependency Rules
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Disabling Host Monitoring
      1. How to do it...
      2. How it works...
    7. Enabling Virtual Machine Monitoring
      1. How to do it...
      2. How it works...
    8. Enabling Virtual Machine Component Protection (VMCP)
      1. How to do it...
      2. How it works...
        1. Datastore with PDL
        2. Datastore with APD
          1. APD response recovery and response delay
    9. Configuring vSphere Fault Tolerance (FT)
      1. Getting ready
      2. How to do it...
      3. How it works...
        1. Limitations
    10. Configuring vCenter Native High Availability (VCHA)
      1. Getting ready
      2. How to do it...
      3. How it works...
  16. Achieving Configuration Compliance Using vSphere Host Profiles
    1. Creating Host Profiles
      1. Getting ready
      2. How to do it...
    2. Associating Host Profiles with ESXi hosts or clusters
      1. How to do it...
    3. Checking Host Profile Compliance
      1. Getting ready
      2. How to do it...
    4. Scheduling Host Profile Compliance Checks
      1. How to do it...
      2. How it works...
    5. Performing Host Customizations
      1. Getting ready
      2. How to do it...
    6. Remediating non-compliant Hosts
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Using Host Profiles to push a configuration change
      1. How to do it...
      2. How it works...
    8. Copying settings between Host Profiles
      1. How to do it...
      2. How it works...
    9. Exporting Host Profiles
      1. How to do it...
    10. Importing Host Profiles
      1. How to do it...
    11. Duplicating Host Profiles
      1. How to do it...
  17. Building Custom ESXi Images Using Image Builder
    1. Enabling ESXi Image Builder
      1. How to do it...
      2. How it works...
    2. Importing a Software Depot
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Creating an Online Software Depot
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating a Custom Software Depot
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Cloning Image Profiles
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Creating Image Profiles using Software Packages
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Comparing Image Profiles
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Moving Image Profiles between Software Depots
      1. Getting ready
      2. How to do it...
      3. How it works...
    9. Exporting Image Profiles
      1. How to do it...
      2. How it works...
  18. Auto-Deploying Stateless and Stateful ESXi Hosts
    1. Enabling vSphere Auto Deploy
      1. Getting ready
      2. How to do it...
      3. How it works...
    2. Configuring the Trivial File Transfer Protocol (TFTP) server for an ESXi PXE boot environment
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    3. Configuring the DHCP server for a PXE boot
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating vSphere Auto Deploy rules
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuring Stateless Caching
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Deploying Stateful ESXi hosts
      1. Getting ready
      2. How to do it...
      3. How it works...
  19. Creating and Managing Virtual Machines
    1. Creating a Virtual Machine
      1. Getting ready
      2. How to do it...
      3. How it works...
        1. Virtual machine components
        2. Files that back a virtual machine
    2. Creating Virtual Machine Snapshots
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Deleting Virtual Machine Snapshots
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Reverting to the current Virtual Machine Snapshot
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Switching to an Arbitrary Virtual Machine Snapshot
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Consolidating Snapshots
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Exporting a Virtual Machine
      1. Getting ready
      2. How to do it...
      3. How it works...
  20. Upgrading and Patching Using vSphere Update Manager
    1. Downloading Patch Definitions
      1. Getting ready
      2. How to do it...
      3. How it works...
    2. Creating Patch Baselines
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Creating Host Upgrade Baselines
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating Baseline Groups
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuring Update Manager's Remediation Settings
      1. How to do it...
      2. How it works...
    6. Patching/upgrading ESXi hosts using Update Manager
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Upgrading VMware Tools and virtual hardware using Update Manager 
      1. Getting ready
      2. How to do it...
    8. Installing the Update Manager Download Service on Linux
      1. Getting ready
      2. How to do it...
    9. Configuring UMDS to download patches
      1. Getting ready
      2. How to do it...
      3. How it works...
    10. Configuring a Web Server on UMDS (Linux)
      1. Getting ready
      2. How to do it...
      3. How it works...
  21. Securing vSphere Using SSL Certificates
    1. Using VMCA as a Subordinate or Intermediary CA
      1. Getting ready
      2. How to do it...
      3. How it works...
    2. Certificate management using the Hybrid approach
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Renewing ESXi certificates
      1. How to do it...
    4. Trusting root certificates to stop browser security warnings
      1. Getting ready
      2. How to do it...
      3. How it works...
  22. Monitoring the vSphere Infrastructure
    1. Using esxtop to monitor performance
      1. Getting ready
      2. How to do it...
      3. How it works...
    2. Exporting/importing esxtop configurations
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Running esxtop in batch mode
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Gathering VM I/O statistics using vscsiStats
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Using vCenter Performance Charts
      1. Getting ready
      2. How to do it...
      3. How it works...
  23. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
18.220.160.216