Using VMware WorkstationVMware Workstation 8
This document supports the version of each product listed andsupports all subsequent versions until the document is replacedby a new edition. To check for more recent editions of thisdocument, see http://www.vmware.com/support/pubs.
Using VMware Workstation
2 VMware, Inc.
You can find the most up-to-date technical documentation on the VMware Web site at:
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
Copyright 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectualproperty 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/or other jurisdictions. All other marksand names mentioned herein may be trademarks of their respective companies.
VMware, Inc.3401 Hillview Ave.Palo Alto, CA 94304www.vmware.com
Using VMware Workstation 5
1 Creating Virtual Machines 7
Understanding Virtual Machines 7Preparing to Create a New Virtual Machine 8Create a New Virtual Machine on the Local Host 17Cloning Virtual Machines 21Virtualize a Physical Machine 24Importing Virtual Machines 26Installing and Upgrading VMware Tools 28Virtual Machine Files 38
2 Using Virtual Machines 41
Starting Virtual Machines 41Stopping Virtual Machines 45Transferring Files and Text 48Add a Host Printer to a Virtual Machine 58Using Removable Devices in Virtual Machines 58Changing the Virtual Machine Display 65Using Folders to Manage Virtual Machines 71Taking Snapshots of Virtual Machines 74Install New Software in a Virtual Machine 81Take a Screenshot of a Virtual Machine 81Create a Movie of a Virtual Machine 82Delete a Virtual Machine 83
3 Configuring and Managing Virtual Machines 85
Configure Power Options and Power Control Settings 85Set Workstation Display Preferences 87Configure Display Settings for a Virtual Machine 88Set Preferences for Unity Mode 90Setting Screen Color Depth 90Using Advanced Linux Sound Architecture 91Encrypting Virtual Machines 92Moving Virtual Machines 94Configure a Virtual Machine as a VNC Server 99Change the Hardware Compatibility of a Virtual Machine 102Export a Virtual Machine to OVF Format 103Writing and Debugging Applications That Run In Virtual Machines 104
VMware, Inc. 3
4 Configuring and Managing Devices 107Configuring DVD, CD-ROM, and Floppy Drives 107Configuring a USB Controller 109Configuring and Maintaining Virtual Hard Disks 111Adding a Physical Disk to a Virtual Machine 117Configuring Virtual Ports 120Configuring Generic SCSI Devices 124Configuring Eight-Way Virtual Symmetric Multiprocessing 128Configuring Keyboard Features 129Modify Hardware Settings for a Virtual Machine 138
5 Configuring Network Connections 139
Understanding Virtual Networking Components 139Understanding Common Networking Configurations 140Changing the Default Networking Configuration 141Configuring Bridged Networking 144Configuring Network Address Translation 147Configuring Host-Only Networking 157Assigning IP Addresses in Host-Only Networks and NAT Configurations 162Configuring LAN Segments 166Configuring Samba for Workstation 168Using Virtual Network Adapters in Promiscuous Mode on Linux Hosts 169Maintaining and Changing MAC Addresses for Virtual Machines 169Sample Custom Networking Configuration 170
6 Using Remote Connections and Sharing Virtual Machines 173
Understanding VMware Workstation Server 173Connect to a Remote Server 176Disconnect from a Remote Server 178Creating and Managing Shared Virtual Machines 178Upload a Virtual Machine to a Remote Server 182Create a Virtual Machine on a Remote Host 183Configure Shared and Remote Virtual Machines to Start with the Host 184Using Roles to Assign Privileges 184Using Permissions to Restrict Users 188
7 Using the vmware Command 191
Run the vmware Command 191Incorporate Workstation Startup Options in a Windows Shortcut 192
Using VMware Workstation
4 VMware, Inc.
Using VMware Workstation
Using VMware Workstation describes how to use VMware Workstation and create, configure, and managevirtual machines.
Intended AudienceThis information is intended for anyone who wants to use Workstation and create and manage virtualmachines.
Where to Find Additional InformationSee the following documents for more information about using Workstation. All of the documents are availablefrom the VMware Web site.
n Getting Started with VMware Workstation describes how to install and upgrade Workstation, create a typicalvirtual 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 guestoperating systems.
n The online VMware Compatibility Guide lists the supported host and guest operating systems forWorkstation.
The Workstation online help provides quick reference information about Workstation settings and commontasks. 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 1You can create a new virtual machine in Workstation by using the New Virtual Machine wizard, clone anexisting Workstation virtual machine or virtual machine template, import third-party and Open VirtualizationFormat (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 thatrun on remote hosts. See Chapter 6, Using Remote Connections and Sharing Virtual Machines, onpage 173.
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 17
n Cloning Virtual Machines, on page 21
n Virtualize a Physical Machine, on page 24
n Importing Virtual Machines, on page 26
n Installing and Upgrading VMware Tools, on page 28
n Virtual Machine Files, on page 38
Understanding Virtual MachinesA virtual machine is a software computer that, like a physical machine, runs an operating system andapplications. A virtual machine uses the physical resources of the physical machine on which it runs, whichis called the host system. Virtual machines have virtual devices that provide the same functionality as physicalhardware, 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 thatyou manage a physical computer. For example, you install an operating system in a virtual machine in thesame way that you install an operating system on a physical computer. You must have a CD-ROM, DVD, orISO image that contains the installation files from an operating system vendor.
VMware, Inc. 7
Preparing to Create a New Virtual MachineYou use the New Virtual Machine wizard to create a new virtual machine in Workstation. The wizard promptsyou to make decisions about many aspects of the virtual machine. You should make these decisions beforeyou start the New Virtual Machine wizard.
Selecting a Virtual Machine ConfigurationWhen you start the New Virtual Machine wizard, the wizard prompts you to select a typical or customconfiguration.
Typical ConfigurationIf 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 virtualprocessors, and network connection type.
Custom ConfigurationYou 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 compatibilitysetting.
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 SettingAll virtual machines have a hardware version. The hardware version indicates which virtual hardware featuresthat 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 hardwarecompatibility setting determines the hardware features of the virtual machine.
If you select a typical configuration, the wizard uses the default hardware compatibility setting configured inthe Workstation preferences. By default, the default hardware compatibility setting is the installed Workstationversion.
If you select a custom configur