Vsphere Virtual Machine Administration
Total Page:16
File Type:pdf, Size:1020Kb
vSphere Virtual Machine Administration 02 APR 2020 VMware vSphere 7.0 VMware ESXi 7.0 vCenter Server 7.0 vSphere Virtual Machine Administration You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com © Copyright 2009-2020 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 2 Contents About vSphere Virtual Machine Administration 10 1 Updated Information 11 2 Introduction to VMware vSphere Virtual Machines 12 Virtual Machine Files 12 Virtual Machines and the Virtual Infrastructure 13 Virtual Machine Lifecycle 14 Virtual Machine Components 14 Virtual Machine Hardware Available to vSphere Virtual Machines 16 Virtual Machine Options 18 The vSphere Client 19 Where to Go From Here 20 3 Deploying Virtual Machines 21 Create a Virtual Machine with the New Virtual Machine Wizard 22 Clone a Virtual Machine to a Template 25 Deploy a Virtual Machine from a Template 28 Clone an Existing Virtual Machine 32 Cloning a Virtual Machine with Instant Clone 37 Clone a Template to a Template 37 Convert a Template to a Virtual Machine 40 4 Deploying OVF and OVA Templates 42 OVF and OVA File Formats and Templates 42 Deploy an OVF or OVA Template 43 Export an OVF Template 45 Browse VMware Virtual Appliance Marketplace 46 5 Using Content Libraries 47 Hierarchical Inheritance of Permissions for Content Libraries 48 Content Library Administrator Role 50 Create a Library 50 Edit a Content Library 52 Configure Advanced Content Library Settings 54 Managing a Publisher Local Library 55 Create a Subscription for a Local Library 57 Publish the Contents of a Library to a Subscriber 58 VMware, Inc. 3 vSphere Virtual Machine Administration Publish a Single Template to a Subscription 59 Delete a Subscription 60 Managing a Subscribed Library 60 Synchronize a Subscribed Content Library 62 Synchronize a Library Item in a Subscribed Library 63 Populating Libraries with Content 64 Import Items to a Content Library 64 Clone a vApp to a Template in a Content Library 65 Clone a Virtual Machine or a Virtual Machine Template to a Template in a Content Library 66 Clone Library Items from One Library to Another Library 67 Working with Items in a Library 68 Update a Content Library Item 68 Export an Item from a Content Library to Your Local Computer 69 Clone Library Items from One Library to Another Library 70 Edit a Content Library Item 70 Delete a Content Library Item 71 Creating Virtual Machines and vApps from Templates in a Content Library 72 Deploy a Virtual Machine from an OVF Template in a Content Library 72 Deploy a Virtual Machine from a VM Template in a Content Library 75 Create New vApp From a Template in a Content Library 79 Managing VM Templates 79 Templates in Content Libraries 80 Check Out a Virtual Machine from a Template 82 Check In a Virtual Machine to a Template 83 Discard a Checked Out Virtual Machine 84 Revert to a Previous Version of a Template 85 Delete a Previous Version of a VM Template 86 6 Configuring Virtual Machine Hardware 87 Virtual Machine Compatibility 87 Set the Default Compatibility for Virtual Machine Creation 89 Schedule a Compatibility Upgrade for a Single Virtual Machine 90 Change the Default Virtual Machine Compatibility Setting 91 Hardware Features Available with Virtual Machine Compatibility Settings 92 Virtual CPU Configuration 97 Virtual CPU Limitations 98 Configuring Multicore Virtual CPUs 98 Enable CPU Hot Add 99 Change the Number of Virtual CPUs 100 Allocate CPU Resources in the VMware Host Client 101 Change CPU Identification Mask Settings 102 VMware, Inc. 4 vSphere Virtual Machine Administration Expose VMware Hardware Assisted Virtualization 103 Enable Virtual CPU Performance Counters 103 Configure Processor Scheduling Affinity 104 Change CPU/MMU Virtualization Settings 105 Virtual Memory Configuration 106 Change the Memory Configuration 106 Allocate Memory Resources 107 Change Memory Hot Add Settings 108 Managing Persistent Memory 109 Virtual Disk Configuration 112 About Virtual Disk Provisioning Policies 112 Large Capacity Virtual Disk Conditions and Limitations 113 Change the Virtual Disk Configuration 114 Use Disk Shares to Prioritize Virtual Machines 115 Determine the Virtual Disk Format and Convert a Virtual Disk from the Thin Provision Format to a Thick Provision Format 116 Add a Hard Disk to a Virtual Machine 116 SCSI, SATA, and NVMe Storage Controller Conditions, Limitations, and Compatibility 122 Add a SATA Controller 125 Add a SCSI Controller to a Virtual Machine 126 Add a Paravirtualized SCSI Adapter 127 Add an NVMe Controller 127 Change the SCSI Controller Configuration 128 Virtual Machine Network Configuration 129 Network Adapter Basics 129 Network Adapters and Legacy Virtual Machines 131 Change the Virtual Machine Network Adapter Configuration 132 Add a Network Adapter to a Virtual Machine 133 Parallel and Serial Port Configuration 134 Other Virtual Machine Device Configuration 142 Change the CD/DVD Drive Configuration 142 Add or Modify a Virtual Machine CD or DVD Drive 146 Add a PCI Device to a Virtual Machine 147 Configuring 3D Graphics 150 Using a Virtual Watchdog Timer 154 Add a Precision Clock Device to a Virtual Machine 155 Securing Virtual Machines with Intel Software Guard Extensions 156 Enable vSGX on a Virtual Machine 156 Remove vSGX from a Virtual Machine 158 USB Configuration from an ESXi Host to a Virtual Machine 158 USB Autoconnect Feature 160 vSphere Features Available with USB Passthrough 161 VMware, Inc. 5 vSphere Virtual Machine Administration Configuring USB Devices for vMotion 161 Avoiding Data Loss with USB Devices 162 Connecting USB Devices to an ESXi Host 162 Add USB Devices to an ESXi Host 163 Add a USB Controller to a Virtual Machine 164 Add USB Devices from an ESXi Host to a Virtual Machine 166 Remove USB Devices That Are Connected Through an ESXi Host 167 Remove USB Devices from an ESXi Host 167 USB Configuration from a Client Computer to a Virtual Machine 168 Connecting USB Devices to a Client Computer 169 Connect a USB Device to a Client Computer 170 Add a USB Controller to a Virtual Machine 171 Add USB Devices from a Client Computer to a Virtual Machine 172 Remove USB Devices That Are Connected Through a Client Computer 173 Remove a USB Controller from a Virtual Machine 174 Add a Shared Smart Card Reader to Virtual Machines 175 Securing Virtual Machines with Virtual Trusted Platform Module 176 Enable Virtual Trusted Platform Module for an Existing Virtual Machine 177 Remove Virtual Trusted Platform Module from a Virtual Machine 178 7 Configuring Virtual Machine Options 179 Virtual Machine Options Overview 179 General Virtual Machine Options 180 Change the Virtual Machine Name 180 View the Virtual Machine Configuration and Working File Location 181 Change the Configured Guest Operating System 181 Configuring User Mappings on Guest Operating Systems 182 View Existing SSO User Mappings 182 Add SSO users to Guest Operating Systems 183 Remove SSO Users from Guest Operating Systems 183 VMware Remote Console Options 183 Change the Virtual Machine Console Options for Remote Users 184 Configure Virtual Machine Encryption Options 184 Encrypt an Existing Virtual Machine or Virtual Disk 184 Decrypt an Encrypted Virtual Machine or Virtual Disk 185 Clone an Encrypted Virtual Machine 186 Virtual Machine Power Management Options 188 Manage Power Management Settings for a Virtual Machine 188 Configuring VMware Tools Options 189 Configure the Virtual Machine Power States 189 Virtualization Based Security 190 VMware, Inc. 6 vSphere Virtual Machine Administration Enable Virtualization-based Security on an Existing Virtual Machine 191 Enable Virtualization-based Security on the Guest Operating System 191 Disable Virtualization-based Security 192 Identify VBS-Enabled Virtual Machines 193 Configuring Virtual Machine Boot Options 193 Enable or Disable UEFI Secure Boot for a Virtual Machine 193 Delay the Boot Sequence 195 Configuring Virtual Machine Advanced Options 195 Disable Virtual Machine Acceleration 195 Enable Virtual Machine Logging 196 Configure Virtual Machine Debugging and Statistics 196 Change the Swap File Location 197 Edit Configuration File Parameters 197 Configure Fibre Channel NPIV Settings 198 8 Managing Multi-Tiered Applications with vSphere vApp 200 Create a vApp 201 Perform vApp Power Operations 202 Create or Add an Object to a vApp 203 Clone a vApp 204 Edit vApp Notes 204 Configure vApp Properties 205 Edit vApp Settings 206 Configure vApp CPU and Memory Resources 206 Configure vApp IP Allocation Policy 207 Configure vApp Startup and Shutdown Options 209 Configure vApp Product Properties 209 View vApp License Agreements 210 Add a Network Protocol Profile 210 Assign a Port Group or Network to a Network Protocol Profile 213 Use a Network Protocol Profile to Allocate IP Addresses to a Virtual Machine or vApp 214 Virtual Machine vApp Options 215 Enable vApp Options for a Virtual Machine 215 Edit Application Properties and OVF Deployment Options for a Virtual Machine 216 OVF Authoring Options for a Virtual Machine 216 9 Monitoring Solutions with the vCenter Solutions Manager 221 View Solutions 221 vSphere ESX Agent Manager 222 Monitoring Agent Health Status 222 Resolve Agency Issues 223 VMware, Inc. 7 vSphere Virtual Machine Administration 10 Managing Virtual Machines 225 Installing a Guest Operating System 225 Using PXE with Virtual Machines 226 Install a Guest Operating System from Media 226 Upload ISO Image Installation Media for a Guest