Vmware Workstation 10
Total Page:16
File Type:pdf, Size:1020Kb
Using VMware Workstation VMware Workstation 10 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN-001200-00 Using VMware Workstation You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: [email protected] Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com 2 VMware, Inc. Contents Using VMware Workstation 5 1 Creating Virtual Machines 7 Understanding Virtual Machines 7 Preparing to Create a New Virtual Machine 8 Create a New Virtual Machine on the Local Host 18 Cloning Virtual Machines 22 Virtualize a Physical Machine 25 Importing Virtual Machines 27 Installing and Upgrading VMware Tools 29 Virtual Machine Files 40 2 Using Virtual Machines 43 Starting Virtual Machines 43 Stopping Virtual Machines 47 Transferring Files and Text 51 Add a Host Printer to a Virtual Machine 60 Using Removable Devices in Virtual Machines 61 Changing the Virtual Machine Display 68 Using Folders to Manage Virtual Machines 74 Taking Snapshots of Virtual Machines 77 Install New Software in a Virtual Machine 84 Share Tablet Sensor Data with Windows 8 Guests 84 Take a Screenshot of a Virtual Machine 85 Delete a Virtual Machine 85 3 Configuring and Managing Virtual Machines 87 Configure Power Options and Power Control Settings 87 Set Workstation Display Preferences 89 Configure Display Settings for a Virtual Machine 90 Set Preferences for Unity Mode 92 Setting Screen Color Depth 92 Using Advanced Linux Sound Architecture 93 Encrypting and Restricting Virtual Machines 94 Moving Virtual Machines 98 Configure a Virtual Machine as a VNC Server 103 Change the Hardware Compatibility of a Virtual Machine 106 Clean Up a Virtual Hard Disk on Windows Hosts 107 Export a Virtual Machine to OVF Format 108 Writing and Debugging Applications That Run In Virtual Machines 109 VMware, Inc. 3 Using VMware Workstation 4 Configuring and Managing Devices 111 Configuring DVD, CD-ROM, and Floppy Drives 111 Configuring a USB Controller 113 Configuring and Maintaining Virtual Hard Disks 116 Adding a Physical Disk to a Virtual Machine 122 Configuring Virtual Ports 125 Configuring Generic SCSI Devices 129 Configuring Eight-Way Virtual Symmetric Multiprocessing 133 Configuring Keyboard Features 134 Modify Hardware Settings for a Virtual Machine 143 5 Configuring Network Connections 145 Understanding Virtual Networking Components 145 Understanding Common Networking Configurations 146 Changing the Default Networking Configuration 147 Configuring Bridged Networking 151 Configuring Network Address Translation 154 Configuring Host-Only Networking 163 Assigning IP Addresses in Host-Only Networks and NAT Configurations 169 Configuring LAN Segments 172 Configuring Samba for Workstation 174 Using Virtual Network Adapters in Promiscuous Mode on Linux Hosts 175 Maintaining and Changing MAC Addresses for Virtual Machines 175 Sample Custom Networking Configuration 176 6 Using Remote Connections and Sharing Virtual Machines 179 Understanding VMware Workstation Server 179 Connect to a Remote Server 182 Disconnect from a Remote Server 184 Creating and Managing Shared Virtual Machines 184 Upload a Virtual Machine to a Remote Server 188 Download a Virtual Machine from a Remote Server 188 Create a Virtual Machine on a Remote Host 189 Configure Shared and Remote Virtual Machines to Start with the Host 190 Using Roles to Assign Privileges 191 Using Permissions to Restrict Users 195 7 Using the vmware Command 199 Run the vmware Command 199 Incorporate Workstation Startup Options in a Windows Shortcut 200 Index 201 4 VMware, Inc. Using VMware Workstation Using VMware Workstation describes how to use VMware® Workstation and create, configure, and manage virtual machines. Intended Audience This information is intended for anyone who wants to use Workstation and create and manage virtual machines. Where to Find Additional Information See the following documents for more information about using Workstation. All of the documents are available from the VMware Web site. n Getting Started with VMware Workstation describes how to install and upgrade Workstation, create a typical virtual machine, and perform common virtual machine operations. n Installing and Configuring VMware Tools contains complete information on using VMware Tools. n The VMware Guest Operating System Installation Guide contains information about installing specific guest operating systems. n The online VMware Compatibility Guide lists the supported host and guest operating systems for Workstation. The Workstation online help provides quick reference information about Workstation settings and common tasks. It is available from the Workstation Help menu and when you click Help on a Workstation dialog box. VMware, Inc. 5 Using VMware Workstation 6 VMware, Inc. Creating Virtual Machines 1 You can create a new virtual machine in Workstation by using the New Virtual Machine wizard, clone an existing Workstation virtual machine or virtual machine template, import third-party and Open Virtualization Format (OVF) virtual machines, and create a virtual machine from a physical machine. You can also create shared virtual machines, which can be used by remote users, and virtual machines that run on remote hosts. See Chapter 6, “Using Remote Connections and Sharing Virtual Machines,” on page 179. This chapter includes the following topics: n “Understanding Virtual Machines,” on page 7 n “Preparing to Create a New Virtual Machine,” on page 8 n “Create a New Virtual Machine on the Local Host,” on page 18 n “Cloning Virtual Machines,” on page 22 n “Virtualize a Physical Machine,” on page 25 n “Importing Virtual Machines,” on page 27 n “Installing and Upgrading VMware Tools,” on page 29 n “Virtual Machine Files,” on page 40 Understanding Virtual Machines A virtual machine is a software computer that, like a physical machine, runs an operating system and applications. A virtual machine uses the physical resources of the physical machine on which it runs, which is called the host system. Virtual machines have virtual devices that provide the same functionality as physical hardware, but with the additional benefits of portability, manageability, and security. A virtual machine has an operating system and virtual resources that you manage in much the same way that you manage a physical computer. For example, you install an operating system in a virtual machine in the same way that you install an operating system on a physical computer. You must have a CD-ROM, DVD, or ISO image that contains the installation files from an operating system vendor. VMware, Inc. 7 Using VMware Workstation Preparing to Create a New Virtual Machine You use the New Virtual Machine wizard to create a new virtual machine in Workstation. The wizard prompts you to make decisions about many aspects of the virtual machine. You should make these decisions before you start the New Virtual Machine wizard. Selecting a Virtual Machine Configuration When you start the New Virtual Machine wizard, the wizard prompts you to select a typical or custom configuration. Typical Configuration If you select a typical configuration, you must specify or accept defaults for a few basic virtual machine settings. n How you want to install the guest operating system. n A name for the virtual machine and a location for the virtual machine files. n The size of the virtual disk and whether to split the disk into multiple virtual disk files. n Whether to customize specific hardware settings, including memory allocation, number of virtual processors, and network connection type. Custom Configuration You must select a custom configuration if you need to perform any of the following hardware customizations. n Create a virtual machine that has a different Workstation version than the default hardware compatibility setting. n Select the I/O controller type for the SCSI controller. n Select the virtual disk device type. n Configure a physical disk or an existing virtual disk instead of create a new virtual disk. n Allocate all virtual disk space rather than let disk space gradually grow to the maximum disk size. Selecting the Virtual Machine Hardware Compatibility Setting All virtual machines have a hardware version. The hardware version indicates which virtual hardware features that the virtual machine supports, such as BIOS or EFI, number of virtual slots, maximum number of CPUs, maximum memory configuration, and other hardware characteristics. The virtual machine hardware compatibility setting determines the hardware features of the virtual machine. If you select a typical configuration, the wizard uses the default hardware compatibility setting configured in the Workstation preferences. By default, the default hardware compatibility setting is the installed Workstation version. If you select