Vsphere Virtual Machine Administration Guide
Vsphere Virtual Machine Administration Guide
Vsphere Virtual Machine Administration Guide
Guide
ESX 4.1
ESXi 4.1
vCenter Server 4.1
EN-000312-02
vSphere Virtual Machine Administration Guide
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:
docfeedback@vmware.com
Copyright © 2009, 2010 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/or 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
Updated Information 7
VMware, Inc. 3
vSphere Virtual Machine Administration Guide
Deleting Templates 40
Convert a Template to a Virtual Machine 42
Customizing Guest Operating Systems 42
4 VMware, Inc.
Contents
Appendixes
Index 161
VMware, Inc. 5
vSphere Virtual Machine Administration Guide
6 VMware, Inc.
Updated Information
This vSphere Virtual Machine Administration Guide is updated with each release of the product or when necessary.
This table provides the update history of the vSphere Virtual Machine Administration Guide.
Revision Description
EN-000312-02 The topic “VMware Tools Components,” on page 117 now reflects that you can use the command-line
interface of the VMware Tools configuration utility in the guest operating system to modify VMware Tools
settings, shrink virtual disks, and connect and disconnect virtual devices.
EN-000312-01 n The topic “Setting Up Physical USB Connections on an ESX/ESXi Host,” on page 107 now reflects that
the host treats USB DVD/CD-ROM devices as SCSI devices for which hot adding and removing is not
supported.
n The topic “Add a DVD or CD-ROM Drive to a Virtual Machine,” on page 100 now includes a
prerequisite to verify that the host is powered off before you add USB CD/DVD-ROM devices.
n The topic “Configure a Host Device Type for the DVD/CD-ROM Drive,” on page 100 now includes a
prerequisite to verify that the host is powered off before you add USB CD/DVD-ROM devices.
n The topic “Add USB Devices to an ESX/ESXi Host,” on page 108 now reflects that the host treats USB
DVD/CD-ROM devices as SCSI devices and includes a prerequisite to verify that the host is powered
off before you add these devices.
VMware, Inc. 7
vSphere Virtual Machine Administration Guide
8 VMware, Inc.
About This Book
vSphere Virtual Machine Administration Guide describes how to create, configure, and manage virtual machines
in the vSphere environment.
In addition, this manual provides brief introductions to the various tasks you can do within the system as well
as cross-references to the documentation that describes the tasks in detail.
vSphere Virtual Machine Administration Guide covers ESX, ESXi, and vCenter Server.
Intended Audience
The information presented is for experienced Windows or Linux system administrators who are familiar with
virtualization.
Document Feedback
VMware welcomes your suggestions for improving our documentation. If you have comments, send your
feedback to docfeedback@vmware.com.
VMware, Inc. 9
vSphere Virtual Machine Administration Guide
Online and Telephone To use online support to submit technical support requests, view your product
Support and contract information, and register your products, go to
http://www.vmware.com/support.
Support Offerings To find out how VMware support offerings can help meet your business needs,
go to http://www.vmware.com/support/services.
VMware Professional VMware Education Services courses offer extensive hands-on labs, case study
Services examples, and course materials designed to be used as on-the-job reference
tools. Courses are available onsite, in the classroom, and live online. For onsite
pilot programs and implementation best practices, VMware Consulting
Services provides offerings to help you assess, plan, build, and manage your
virtual environment. To access information about education classes,
certification programs, and consulting services, go to
http://www.vmware.com/services.
10 VMware, Inc.
Introduction to VMware vSphere
Virtual Machines 1
This information introduces the concept of virtual machines and how they function in the infrastructure
environment with vSphere. You will find information about what constitutes a virtual machine and the features
available for managing them.
A virtual machine consists of several types of files that you store on a supported storage device. The key files
that make up a virtual machine are the configuration file, virtual disk file, NVRAM setting file, and the log file.
You configure virtual machine settings through the vSphere Client and should not need to touch these files.
Table 1-1 lists the complete set of files that make up a virtual machine. A virtual machine can have more files
if one or more snapshots exist or if you add Raw Device Mappings (RDMs).
CAUTION Do not change, move, or delete these files without instructions from a VMware Technical Support
Representative.
VMware, Inc. 11
vSphere Virtual Machine Administration Guide
-#.log vmware-#.log (where # is a number starting Old virtual machine log entries
with 1)
vCenter Server lets you pool and manage the resources of multiple hosts and lets you effectively monitor and
manage your physical and virtual infrastructure. You can manage resources for virtual machines, provision
virtual machines, schedule tasks, collect statistics logs, create templates, and more. vCenter Server also
provides VMware vMotion, VMware Storage vMotion, VMware Distributed Resources Management (DRS),
VMware HA, and Fault Tolerance. These services enable efficient and automated resource management and
high availability for virtual machines.
The VMware vSphere Client is the interface to vCenter Server, ESX/ESXi hosts, and virtual machines. With the
vSphere Client, you can connect remotely to vCenter Server or ESX/ESXi from any Windows system. The
vSphere Client is the primary interface for managing all aspects of the vSphere environment. It also provides
console access to virtual machines.
The vSphere Client presents the organizational hierarchy of managed objects in inventory views. Inventories
are the hierarchal structure used by vCenter Server or the host to organize managed objects. This hierarchy
includes all of the monitored objects in vCenter Server.
In the vCenter Server hierarchy, a datacenter is the primary container of ESX/ESXi hosts, folders, clusters,
resource pools, vApps, virtual machines, and so on. Datastores are virtual representations of underlying
physical storage resources in the datacenter. A datastore is the storage location (for example, a physical disk
or LUN on a RAID, or a SAN) for virtual machine files. Datastores hide the idiosyncrasies of the underlying
physical storage and present a uniform model for the storage resources required by virtual machines.
The vSphere Client New Virtual Machine wizard and Virtual Machine Properties editor let you add, configure,
or remove most of the virtual machine's hardware, options, and resources. You monitor CPU, memory, disk,
network, and storage metrics using the performance charts in vSphere Client. VMware Snapshots let you
capture the entire state of the virtual machine, including the virtual machine memory, settings, and virtual
disks. You can roll back to the previous virtual machine state when needed.
12 VMware, Inc.
Chapter 1 Introduction to VMware vSphere Virtual Machines
With VMware vApp, you can manage multi-tiered applications. You use vCenter Update Manager to perform
orchestrated upgrades to upgrade the virtual hardware and VMware Tools of virtual machines in the inventory
at the same time.
When a virtual machine is no longer needed, you can remove it from the inventory without deleting it from
the datastore, or you can delete the virtual machine and all its files.
VMware Tools is a suite of utilities that enhances the performance of the virtual machine's guest operating
system and improves management of the virtual machine. With VMware Tools, you have much more control
over the virtual machine interface.
All virtual machines have a hardware version. The hardware version indicates virtual hardware features
supported by the virtual machine, such as BIOS, number of virtual slots, maximum number of CPUs, maximum
memory configuration, and other characteristics typical to hardware. The hardware version of a virtual
machine is determined by the version of ESX/ESXi on which the virtual machine is created.
The hardware devices listed in the Virtual Machine Properties editor complete the virtual machine. Not all
devices are configurable. Some hardware devices are part of the virtual motherboard and appear in the
expanded device list of the Virtual Machine Properties editor, but you cannot modify or remove them. For a
complete list of hardware devices and their functions, see “Virtual Machine Hardware, Options, and Resources
Available to vSphere Virtual Machines,” on page 72.
Access to a virtual machine is controlled by the Sphere administrator. For detailed information about Privileges,
see the VMware vSphere Datacenter Administration Guide.
A virtual machine might be running in any of several locations, such as ESX/ESXi hosts, datacenters, clusters,
or resource pools. Many of the options and resources you configure have dependencies on and relationships
with these objects.
Every virtual machine has CPU, memory, and disk resources. CPU virtualization emphasizes performance
and runs directly on the virtual machine processor whenever possible. The underlying physical resources are
used whenever possible and the virtualization layer runs instructions only as needed to make virtual machines
operate as if they were running directly on a physical machine.
All recent operating systems provide support for virtual memory, allowing software to use more memory than
the machine physically has. Similarly, the ESX/ESXi hypervisor provides support for overcommitting virtual
machine memory, where the amount of guest memory configured for all virtual machines might be larger than
the amount of the host's physical memory.
You can add virtual disks and add more space to existing disks, even when the virtual machine is running.
You can also change the device node and allocate shares of disk bandwidth to the virtual machine.
VMware, Inc. 13
vSphere Virtual Machine Administration Guide
General Options View or modify the virtual machine name, check the location of the
configuration file and the working location of the virtual machine, or change
the guest operating system type.
vApp Options Enable or disable vApp functionality. When vApp is enabled, you can select
an IP allocation policy and other configurations particular to vApps.
VMware Tools Manage the power controls for the virtual machine and run VMware Tools
scripts. You can also upgrade VMware Tools during power cycling and
synchronize guest time with the host.
General Advanced Disable acceleration and enable logging, debugging, and statistics. Add
Options configuration parameters.
Power Management Manage guest power options. Suspend the virtual machine or leave the virtual
machine powered on when you put the guest operating system into standby.
CPUID Mask Hide or expose the NX/XD flag. Hiding the NX/XD flag increases vMotion
compatibility between hosts.
Memory/CPU Hotplug Disable or enable CPU and memory hotplug. You can disable Memory or CPU
hotplug if you do not want to add memory or processors accidentally while
the virtual machine is running.
Boot Options Set the boot delay when powering on virtual machines or to force BIOS setup
and configure failed boot recovery.
Fibre Channel NPIV Control virtual machine access to LUNs on a per-virtual machine basis. N-port
ID virtualization (NPIV) provides the ability to share a single physical Fibre
Channel HBA port among multiple virtual ports, each with unique identifiers.
To begin provisioning virtual machines, determine whether to create a single virtual machine and install an
operating system and VMware tools, work with templates and clones, deploy OVF templates, or convert
physical systems to virtual machines.
After you provision and deploy virtual machines into the vSphere infrastructure, you can configure and
manage them. Determine whether you want to configure existing virtual machines by modifying or adding
hardware or install or upgrade VMware Tools. You might need to manage multitiered applications with
VMware vApps or change virtual machine startup and shutdown settings, use snapshots, work with virtual
disks, or add, remove, or delete virtual machines from the inventory.
14 VMware, Inc.
Provisioning Virtual Machines
VMware, Inc. 15
vSphere Virtual Machine Administration Guide
16 VMware, Inc.
How to Provision Virtual Machines 2
VMware provides several methods to provision vSphere virtual machines. The optimal method for your
environment depends on factors such as the size and type of your infrastructure and the goals you are trying
to achieve.
Create a single virtual machine if no other virtual machines in your environment have the requirements you
are looking for, such as a particular operating system or hardware configuration. For example, you might need
a virtual machine that is configured only for testing purposes. You can also create a single virtual machine and
install an operating system on it, then use that virtual machine as a template to clone other virtual machines
from. See Chapter 3, “Creating a Virtual Machine,” on page 19.
Deploy and export virtual machines, virtual appliances, and vApps stored in Open Virtual Machine Format
(OVF) to use a preconfigured virtual machine. A virtual appliance is a prebuilt virtual machine that typically
has an operating system and other software already installed. You can deploy virtual machines from local file
systems, such as local disks (such as C:), removable media (such as CDs or USB keychain drives), and shared
network drives. See Chapter 5, “Deploying OVF Templates,” on page 53.
Create a template to deploy multiple virtual machines from. A template is a master copy of a virtual machine
that you can use to create and provision virtual machines. Templates can be a real time saver. If you have a
virtual machine that you want to clone frequently, make that virtual machine a template. See Chapter 4,
“Working with Templates and Clones,” on page 33.
Cloning a virtual machine can save time if you are deploying many similar virtual machines. You can create,
configure, and install software on a single virtual machine and clone it multiple times, rather than creating and
configuring each virtual machine individually. See Chapter 4, “Working with Templates and Clones,” on
page 33.
If you have a smaller IT environment, you can use VMware vCenter Guided Consolidation to convert physical
systems to virtual machines and import them into vSphere. See Chapter 6, “Converting Physical Systems to
Virtual Machines,” on page 57.
VMware, Inc. 17
vSphere Virtual Machine Administration Guide
18 VMware, Inc.
Creating a Virtual Machine 3
Virtual machines are the key component in a virtual infrastructure. You can create a single virtual machine to
add to the vSphere inventory.
When you create a virtual machine, you associate it to a particular datacenter, host, cluster, or resource pool,
and a datastore. After you turn on the virtual machine, it consumes resources dynamically as the workload
increases, or it returns resources dynamically as the workload decreases.
Every virtual machine has virtual devices that provide the same function as physical hardware. A virtual
machine gets CPU and memory, access to storage, and network connectivity from the host it runs on.
VMware, Inc. 19
vSphere Virtual Machine Administration Guide
The selections you make in the New Virtual Machine wizard are not saved until you click Finish on the Ready
to Complete page. If you cancel the wizard without completing all tasks, you cannot resume the wizard where
you left off. You must start a new creation task.
Prerequisites
Procedure
1 Display the inventory objects in the vSphere Client by using the Host and Clusters view or the VM and
Templates view.
What to do next
Several relationships effect the information that you must provide during virtual machine creation. These
relationships include the inventory object on which you place the virtual machine, the customization path you
select, the datastore on which the virtual machine and its files reside, and the host or cluster on which it runs.
If you select a Typical configuration, the virtual machine hardware version defaults to that of the host on which
you place the virtual machine. If you select a Custom configuration, you can accept the default or select an
earlier hardware version. This is useful if maintaining compatibility with an earlier version of an ESX/ESXi
host is necessary.
20 VMware, Inc.
Chapter 3 Creating a Virtual Machine
In addition to the information for a Typical configuration, for a Custom configuration, have the following
information:
n Virtual Machine version.
n Number of CPUs and memory size.
n Number of NICs, network to connect to, and network adapter types.
n SCSI controller type.
n Disk type (new disk, existing disk, RDM, or no disk).
Procedure
1 On the Configuration page of the New Virtual Machine wizard, select a path for creating the virtual
machine.
n Typical
n Custom
2 Click Next.
What to do next
The name can be up to 80 characters long. If you are connected to vCenter Server and have folders in your
inventory, names must be unique within the folder. Names are not case-sensitive, so the name my_vm is
identical to My_Vm.
Prerequisites
Procedure
1 On the Name and Location page of the New Virtual Machine wizard, type a name.
3 Click Next.
A cluster is a collection of ESX/ESXi hosts and associated virtual machines with shared resources and a shared
management interface. Grouping hosts into clusters allows you to enable many optional features that enhance
the availability and flexibility of your infrastructure.
VMware, Inc. 21
vSphere Virtual Machine Administration Guide
Procedure
1 On the Host / Cluster page of the New Virtual Machine wizard, select the host or cluster where you want
to run the virtual machine.
2 Click Next.
If resource pools are configured on the host, the Resource Pool page opens. Otherwise, the Datastore page
opens.
What to do next
The Resource Pool page appears only when resource pools are configured on the host.
Procedure
1 On the Resource Pool page of the New Virtual Machine wizard, navigate to the resource pool where you
want to run the virtual machine.
What to do next
Select a Datastore
Datastores are logical containers that hide specifics of each storage device and provide a uniform model for
storing virtual machine files. You can use datastores to store ISO images, virtual machine templates, and floppy
images.
You can select from datastores already configured on the destination host or cluster.
Procedure
1 On the Datastore page of the New Virtual Machine wizard, select a datastore large enough to hold the
virtual machine and all of its virtual disk files.
2 Click Next.
If you selected a Typical configuration path, the Guest Operating System page appears. If you selected a
Custom configuration path, the Virtual Machine Version page appears.
22 VMware, Inc.
Chapter 3 Creating a Virtual Machine
Procedure
1 On the Virtual Machine Version page of the New Virtual Machine wizard, select a version for the virtual
machine.
Option Description
Virtual machine version 7 Compatible with ESX 4.0 and greater hosts. It provides greater virtual
machine functionality and is recommended for virtual machines that do not
need to migrate to ESX 3.x hosts.
Virtual machine version 4 Compatible with ESX 3.0 and greater hosts. VMware recommends this
option for virtual machines that must run on ESX 3.x hosts and for virtual
machines that must share virtual hard disks with other version 4 virtual
machines.
2 Click Next.
What to do next
The New Virtual Machine wizard does not install the guest operating system. The wizard uses this information
to select appropriate default values, such as the amount of memory needed.
Procedure
1 On the Guest Operating System page of the New Virtual Machine wizard, select an operating system
family.
n Microsoft Windows
n Linux
n Novell NetWare
n Solaris
n Other
2 Select an operating system and version from the drop-down menu and click Next.
If you selected a Novell NetWare guest operating system, the Memory page opens. For all other selections,
the CPUs page opens.
What to do next
VMware, Inc. 23
vSphere Virtual Machine Administration Guide
VMware Virtual SMP is required to power on multiprocessor virtual machines. The Virtual CPUs page appears
for multiprocessor hosts.
Procedure
1 On the CPUs page of the New Virtual Machine wizard, select the number of virtual processors from the
drop-down menu.
2 Click Next.
What to do next
Minimum memory size is 4MB. Maximum memory size depends on the host. The memory size must be a
multiple of 4MB. The maximum for best performance represents the threshold above which the host’s physical
memory is insufficient to run the virtual machine at full speed. This value fluctuates as conditions on the host
change, for example, as virtual machines are turned on or off.
Procedure
1 On the Memory page of the New Virtual Machine wizard, select a size in megabytes or gigabytes for the
virtual memory.
You can use the slider or select the number by using the up and down arrows.
2 Click Next.
What to do next
Configure Networks
You configure network settings so that the virtual machine can communicate with other hosts and virtual
machines.
CAUTION Because virtual machines share their physical network hardware with the host, the accidental or
malicious bridging of two networks by a virtual machine can occur. Spanning Tree protocol cannot protect
against these occurrences.
Although hardware version 7 virtual machines support up to ten virtual NICs, during virtual machine creation
you can select only four NICs. You can add more virtual NICs by selecting Edit the virtual machine settings
before completion on the Ready to Complete page of the wizard, or by editing the virtual machine after it is
created.
24 VMware, Inc.
Chapter 3 Creating a Virtual Machine
Procedure
1 In the Create Network Connections panel of the Network page, select the number of NICs to connect.
2 For each NIC, select a network and adapter type from the drop-down menus.
3 (Optional) Click Connect at Power On to connect the NIC when the virtual machine is powered on.
4 Click Next.
What to do next
PVSCSI adapters are available for virtual machines running hardware version 7 and later. They are supported
on the following guest operating systems:
n Windows Server 2008 R2 (64bit)
n Windows Server 2008 (32bit and 64bit)
n Windows Server 2003 (32bit and 64bit)
n Windows XP (32bit and 64bit)
n Windows Vista (32bit and 64bit)
n Windows 7 (32bit and 64bit)
n Red Hat Linux 5 (32bit and 64bit)
b Run the VMware Tools configuration with the kernel-version parameter and pass the kernel version
within the guest:
vmware-config-tools.pk --kernel-version kernel_version
VMware, Inc. 25
vSphere Virtual Machine Administration Guide
The wizard preselects the correct default controller based on the guest operation system you selected on the
Guest Operating System page.
LSI Logic SAS and VMware Paravirtual controllers are available only for virtual machines with hardware
version 7 or later.
Disks with snapshots might not experience performance gains when used on LSI Logic SAS and LSI Logic
Parallel adapters.
Procedure
1 On the SCSI Controller page of the New Virtual Machine wizard, accept the default or select a SCSI
controller type.
n BusLogic Parallel
n LSI Logic Parallel
n LSI Logic SAS
n VMware Paravirtual
2 Click Next.
What to do next
Select a disk on which to store the guest operating system files and data.
You can add virtual disks to the virtual machine while you create or after you create the virtual machine. To
add disks later, select the Do Not Create Disk option.
26 VMware, Inc.
Chapter 3 Creating a Virtual Machine
Using the default thick virtual disk format does not zero out or eliminate the possibility of recovering deleted
files or restoring old data that might be present on this allocated space. It is not possible to convert a thick disk
to a thin disk.
In most cases, you can accept the default device node. For a hard disk, a nondefault device node is useful to
control the boot order or to have different SCSI controller types. For example, you might want to boot off an
LSI Logic controller and share a data disk with another virtual machine using a BusLogic controller with bus
sharing turned on.
Procedure
1 On the Create a Disk page of the New Virtual Machine wizard, select the disk size in Megabytes, Gigabytes,
or Terabytes.
You can increase the disk size later or add disks in the Virtual Machine Properties dialog box.
Option Description
Allocate and commit space on Creates a disk in thin format.
demand (Thin Provisioning)
Support clustering features such as Supports the use of clustering features.
Fault Tolerance
3 Select a location to store the virtual disk files and click Next.
Option Description
Store with the virtual machine The files are stored with the configuration and other virtual machine files.
This choice makes file management easier.
Specify a datastore Stores the file separately from other virtual machine files.
Option Description
Persistent The disk operates normally except that changes to the disk are permanent
even if the virtual machine is reverted to a snapshot.
Nonpersistent The disk appears to operate normally, but whenever the virtual machine is
powered off or reverted to a snapshot, the contents of the disk return to their
original state. All later changes are discarded.
6 Click Next.
Your changes are recorded and the Ready to Complete page opens.
What to do next
View the selections for your virtual machine on the Ready to Complete page.
VMware, Inc. 27
vSphere Virtual Machine Administration Guide
In most cases, you can accept the default device node. For a hard disk, a nondefault device node is useful to
control the boot order or to have different SCSI controller types. For example, you might want to boot off an
LSI Logic controller and share a data disk with another virtual machine using a BusLogic controller with bus
sharing turned on.
In most cases, you can accept the default device node. A nondefault device node for a hard disk is useful to
control the boot order or to have different SCSI controller types. For example, you might want to boot off an
LSI Logic controller and share a data disk with another virtual machine using a Buslogic controller with bus
sharing turned on.
Procedure
1 On the Select Existing Disk page of the New Virtual Machine wizard, browse for a virtual disk file, click
OK, and click Next.
3 (Optional) Select the virtual disk Independent mode and select an option.
Option Description
Persistent The disk operates normally except that changes to the disk are permanent
even if the virtual machine is reverted to a snapshot.
Nonpersistent The disk appears to operate normally, but whenever the virtual machine is
powered off or reverted to a snapshot, the contents of the disk return to their
original state. All later changes are discarded.
4 Click Next.
Your changes are recorded and the Ready to Complete page opens.
What to do next
When you map a LUN to a VMFS volume, vCenter Server creates a Raw Device Mapping (RDM) file that
points to the raw LUN. Encapsulating disk information in a file allows vCenter Server to lock the LUN so that
only one virtual machine can write to it at a time. For details about RDM, see the ESX Configuration Guide or
ESXi Configuration Guide.
The RDM file has a .vmdk extension, but the file contains only disk information that describes the mapping to
the LUN on the ESX/ESXi host. The actual data is stored on the LUN.
28 VMware, Inc.
Chapter 3 Creating a Virtual Machine
In most cases, you can accept the default device node. For a hard disk, a nondefault device node is useful to
control the boot order or to have different SCSI controller types. For example, you might want to boot off an
LSI Logic controller and share a data disk with another virtual machine using a Buslogic controller with bus
sharing turned on.
NOTE You cannot deploy a virtual machine from a template and store its data on a LUN. You can only store
its data in a virtual disk file.
Procedure
3 Click Next.
Option Description
Physical Allows the guest operating system to access the hardware directly. Taking a
snapshot of this virtual machine will not include this disk.
Virtual Allows the virtual machine to use VMware snapshot and other advanced
functionality.
6 (Optional) Select the virtual disk Independent mode and select an option.
Option Description
Persistent The disk operates normally except that changes to the disk are permanent
even if the virtual machine is reverted to a snapshot.
Nonpersistent The disk appears to operate normally, but whenever the virtual machine is
powered off or reverted to a snapshot, the content of the disk returns to its
original state. All later changes are discarded.
7 Click Next.
Your changes are recorded and the Ready to Complete page opens.
What to do next
You can configure additional virtual machine settings before or after completing the wizard.
VMware, Inc. 29
vSphere Virtual Machine Administration Guide
Procedure
1 On the Ready to Complete page of the New Virtual Machine wizard, review the configuration settings for
the virtual machine.
2 (Optional) Select Edit the virtual machine settings before completion and click Continue.
The Virtual Machine Properties editor opens. After you complete your changes and click Finish, both the
Virtual Machine Properties editor and the New Virtual Machine wizard close. You cannot go back to
review the wizard settings unless you click Cancel.
What to do next
Before you can use the new virtual machine, you must partition and format the virtual drive, install a guest
operating system, and install VMware Tools. Typically, the operating system’s installation program handles
partitioning and formatting the virtual drive.
The basic steps for a typical operating system are described in this section. See the Guest Operating System
Installation Guide for more information about individual guest operating systems.
PXE booting is supported for Guest Operating Systems that are listed in the VMware Guest Operating System
Compatibility list and whose operating system vendor supports PXE booting of the operating system.
For details about guest operating system installation, see the Guest Operating System Installation Guide.
It might be necessary to change the boot order in the virtual machine’s BIOS settings. However, sometimes a
virtual machine’s boot sequence progresses too quickly for a user to open a console to the virtual machine and
enter BIOS setup. If this happens, select Boot Options on the Options tab of the Virtual Machine Properties
dialog box, and select The next time the virtual machine boots, force entry into the BIOS setup screen. The
virtual machine enters the BIOS setup the next time it starts.
30 VMware, Inc.
Chapter 3 Creating a Virtual Machine
Prerequisites
n Verify that the installation ISO image is present on a VMFS datastore or network file system (NFS) volume
accessible to the ESX/ESXI host.
n Verify that you have the installation instructions provided by the operating system vendor.
Procedure
1 Open the vSphere Client and log into the vCenter Server system or host on which the virtual machine
resides.
Option Action
CD-ROM Insert the installation CD-ROM for your guest operating system into the CD-
ROM drive of your ESX/ESXi host.
ISO image a Right-click the virtual machine in the inventory list and select Edit
Settings.
b Click the Hardware tab and select CD/DVD Drive.
c In the Device Type panel, select Datastore ISO File and browse for the
ISO image for your guest operating system.
3 Right-click the virtual machine and select Power > Power On.
A green right arrow appears next to the virtual machine icon in the inventory list.
What to do next
VMware, Inc. 31
vSphere Virtual Machine Administration Guide
32 VMware, Inc.
Working with Templates and Clones 4
A clone is a copy of a virtual machine. A template is a master copy of a virtual machine that can be used to
create many clones.
When you clone a virtual machine, you create a copy of the entire virtual machine, including its settings, any
configured virtual devices, installed software, and other contents of the virtual machine's disks. You also have
the option to use guest operating system customization to change some of the properties of the clone, such as
the computer name and networking settings.
Cloning a virtual machine can save time if you are deploying many similar virtual machines. You can create,
configure, and install software on a single virtual machine, and then clone it multiple times, rather than creating
and configuring each virtual machine individually.
If you create a virtual machine that you want to clone frequently, make that virtual machine a template. A
template is a master copy of a virtual machine that can be used to create and provision virtual machines.
Templates cannot be powered on or edited, and are more difficult to alter than ordinary virtual machine. A
template offers a more secure way of preserving a virtual machine configuration that you want to deploy many
times.
When you clone a virtual machine or deploy a virtual machine from a template, the resulting cloned virtual
machine is independent of the original virtual machine or template. Changes to the original virtual machine
or template are not reflected in the cloned virtual machine, and changes to the cloned virtual machine are not
reflected in the original virtual machine or template.
VMware, Inc. 33
vSphere Virtual Machine Administration Guide
Optionally, you can customize the guest operating system of the clone to change the virtual machine name,
network settings, and other properties. This prevents conflicts that can occur if a virtual machine and a clone
with identical guest operating system settings are deployed simultaneously.
Prerequisites
n You must be connected to vCenter Server in order to clone a virtual machine. You cannot clone virtual
machines if you connect directly to an ESX/ESXi host.
n To customize the guest operating system of the virtual machine, check that your guest operating system
meets the requirements for customization. See “Guest Operating System Customization Requirements,”
on page 42.
n To use a customization specification, you must first create or import the customization specification.
n To use a custom script to generate the host name or IP address for the new virtual machine, configure the
script. See “Configure a Script to Generate Computer Names and IP Addresses During Guest Operating
System Customization,” on page 43.
Procedure
Option Description
Run the virtual machine on a Select the host and click Next.
standalone host.
Run the virtual machine in a cluster Select the cluster and click Next.
with DRS automatic placement.
Run the virtual machine in a cluster a Select the cluster and click Next.
without DRS automatic placement. b Select a host within the cluster and click Next.
4 Select a resource pool in which to run the clone and click Next.
5 Select the datastore location where you want to store the virtual machine files and click Next.
Option Description
Store all virtual machine files in the Select a datastore and click Next.
same location.
Store virtual machine configuration a Click Advanced.
files and disks in separate locations. b For the virtual machine configuration file and for each virtual disk, select
a datastore from the drop-down list.
c Click Next.
34 VMware, Inc.
Chapter 4 Working with Templates and Clones
6 Select the format for the virtual machine's disks and click Next.
Option Description
Same format as source Use the same format as the source virtual machine.
Thin provisioned format Use the thin provisioned format. At first, a thin provisioned disk uses only
as much datastore space as the disk initially needs. If the thin disk needs more
space later, it can grow to the maximum capacity allocated to it.
Only VMFS datastore version 3 and later support virtual disks in the thin
provisioned format.
Thick format The thick virtual disk does not change its size and from the very beginning
occupies the entire datastore space provisioned to it.
Option Description
Do not customize Select Do not customize and click Next.
Does not customize any of the guest operating system settings. All settings
remain identical to those of the source virtual machine.
Customize using the Customization Opens the Customization Wizard so that you can select customization
Wizard options for the guest operating system.
Select this option and click Next to launch the Customization Wizard.
n To customize a Linux guest operating system, see “Customize Linux
During Cloning or Deployment,” on page 46.
n To customize a Windows guest operating system, see “Customize
Windows During Cloning or Deployment,” on page 44.
Customize using an existing Uses the settings in a saved customization specification to customize the
customization specification guest operating system.
a Select Customize using an existing customization specification.
b Select the customization specification that you want to use.
c (Optional) Select Use the Customization Wizard to temporarily adjust
the specification before deployment if you want to make changes to the
specification for this deployment only.
d Click Next.
8 Review your selections, and select whether to power on or edit the virtual machine.
Option Description
Power on this virtual machine after Select this option and click Finish.
creation The virtual machine powers on after the deployment task completes.
Edit virtual hardware a Select Edit virtual hardware and click Continue.
b In the Virtual Machine Properties dialog box, make any changes that you
want to make and click OK.
The cloned virtual machine is deployed. You cannot use or edit the virtual machine until the cloning is
complete. This might take several minutes if the cloning involves creating a virtual disk. You can cancel the
cloning at any point before the customization stage.
Procedure
1 Start the vSphere client, and log in to the vCenter Server system.
VMware, Inc. 35
vSphere Virtual Machine Administration Guide
4 Select Clone a virtual machine from the drop-down menu, and click OK.
6 Follow the wizard through the same steps as those in the previous task in which you cloned a virtual
machine.
7 Enter a name and a task description in the text box.
9 Select Now or Later. If later, enter the time and date when you want the virtual machine to be deployed,
and click Next.
To see the calendar, click Later, and click the drop-down arrow to select a date from the calendar. A red
circle indicates today’s date, and a dark circle indicates the scheduled date.
10 Review the information on the Ready to Complete New Virtual Machine page, and click Finish.
Optionally, you can select the check box to power on the new virtual machine after it is created.
vCenter Server adds the new task to the scheduled task list and completes it at the designated time. When
it is time to perform the task, vCenter Server first verifies that the user who created the task still has
permission to complete the task. If the permission levels are not acceptable, vCenter Server sends a
message to the log and the task is not performed.
Create a Template
Create a template to create a master image of a virtual machine from which you can deploy many virtual
machines.
You can create a template by converting a virtual machine to a template, cloning a virtual machine to a template,
or cloning another template.
When you convert a virtual machine to a template, you cannot edit or power on the template unless you convert
it back to a virtual machine.
Prerequisites
n You must be connected to vCenter Server to convert a virtual machine to a template. You cannot create
templates if you connect the vSphere Client directly to an ESX/ESXi host.
n Before you convert a virtual machine to a template, select it in the inventory and power it off.
Procedure
u Right-click the virtual machine and select Template > Convert to Template.
vCenter Server marks that virtual machine as a template and displays the task in the Recent Tasks pane.
36 VMware, Inc.
Chapter 4 Working with Templates and Clones
Prerequisites
You must be connected to vCenter Server to clone a virtual machine to a template. You cannot create templates
if you connect directly to an ESX/ESXi host.
Procedure
1 Right-click the virtual machine and select Template > Clone to Template.
2 Give the new template a name, select its inventory location, and click Next.
4 Specify in which format to store the template’s virtual disks and click Next.
Option Description
Same format as source Use the same format as the source virtual machine.
Thin provisioned format Use the thin provisioned format. At first, a thin provisioned disk uses only
as much datastore space as the disk initially needs. If the thin disk needs more
space later, it can grow to the maximum capacity allocated to it.
Only VMFS datastore version 3 and later support virtual disks in the thin
provisioned format.
Thick format The thick virtual disk does not change its size and from the very beginning
occupies the entire datastore space provisioned to it.
5 Click Finish.
vCenter Server displays the Tasks inventory panel for reference and adds the cloned template to the list
in the information panel.
Clone a Template
Clone a template to create a copy of it.
Prerequisites
You must be connected to vCenter Server to clone a template. You cannot create templates if you connect
directly to an ESX/ESXi host.
Procedure
2 Give the new template a unique name and description and click Next.
VMware, Inc. 37
vSphere Virtual Machine Administration Guide
Option Description
Same format as source Use the same format as the source virtual machine.
Thin provisioned format Use the thin provisioned format. At first, a thin provisioned disk uses only
as much datastore space as the disk initially needs. If the thin disk needs more
space later, it can grow to the maximum capacity allocated to it.
Only VMFS datastore version 3 and later support virtual disks in the thin
provisioned format.
Thick format The thick virtual disk does not change its size and from the very beginning
occupies the entire datastore space provisioned to it.
6 Click Next.
You cannot use the new template until the cloning task completes.
vCenter Server adds the cloned template to the list in the Virtual Machines tab.
Prerequisites
n You must be connected to vCenter Server to deploy a virtual machine from a template. You cannot deploy
from a template if you connect the vSphere Client directly to an ESX/ESXi host.
n To customize the guest operating system of the virtual machine, check that your guest operating system
meets the requirements for customization. See “Guest Operating System Customization Requirements,”
on page 42.
n To use a customization specification, you must first create or import the customization specification.
n To use a custom script to generate the host name or IP address for the new virtual machine, configure the
script. See “Configure a Script to Generate Computer Names and IP Addresses During Guest Operating
System Customization,” on page 43.
Procedure
1 Right-click the template, and select Deploy Virtual Machine from this Template.
Option Description
Run the virtual machine on a Select the host and click Next.
standalone host.
Run the virtual machine in a cluster Select the cluster and click Next.
with DRS automatic placement.
Run the virtual machine in a cluster a Select the cluster and click Next.
without DRS automatic placement. b Select a host within the cluster and click Next.
4 Select a resource pool in which to run the clone and click Next.
38 VMware, Inc.
Chapter 4 Working with Templates and Clones
5 Select the datastore location where you want to store the virtual machine files and click Next.
Option Description
Store all virtual machine files in the Select a datastore and click Next.
same location.
Store virtual machine configuration a Click Advanced.
files and disks in separate locations. b For the virtual machine configuration file and for each virtual disk, select
a datastore from the drop-down list.
c Click Next.
6 Select the format for the virtual machine's disks and click Next.
Option Description
Same format as source Use the same format as the source virtual machine.
Thin provisioned format Use the thin provisioned format. At first, a thin provisioned disk uses only
as much datastore space as the disk initially needs. If the thin disk needs more
space later, it can grow to the maximum capacity allocated to it.
Only VMFS datastore version 3 and later support virtual disks in the thin
provisioned format.
Thick format The thick virtual disk does not change its size and from the very beginning
occupies the entire datastore space provisioned to it.
Option Description
Do not customize Select Do not customize and click Next.
Does not customize any of the guest operating system settings. All settings
remain identical to those of the source virtual machine.
Customize using the Customization Opens the Customization Wizard so that you can select customization
Wizard options for the guest operating system.
Select this option and click Next to launch the Customization Wizard.
n To customize a Linux guest operating system, see “Customize Linux
During Cloning or Deployment,” on page 46.
n To customize a Windows guest operating system, see “Customize
Windows During Cloning or Deployment,” on page 44.
Customize using an existing Uses the settings in a saved customization specification to customize the
customization specification guest operating system.
a Select Customize using an existing customization specification.
b Select the customization specification that you want to use.
c (Optional) Select Use the Customization Wizard to temporarily adjust
the specification before deployment if you want to make changes to the
specification for this deployment only.
d Click Next.
8 Review your selections, and select whether to power on or edit the virtual machine.
Option Description
Power on this virtual machine after Select this option and click Finish.
creation The virtual machine powers on after the deployment task completes.
Edit virtual hardware a Select Edit virtual hardware and click Continue.
b In the Virtual Machine Properties dialog box, make any changes that you
want to make and click OK.
The virtual machine is deployed. You cannot use or edit the virtual machine until the deployment is complete.
This might take several minutes if the deployment involves creating a virtual disk.
VMware, Inc. 39
vSphere Virtual Machine Administration Guide
Prerequisites
You must be connected to vCenter Server to edit a template. You cannot work with templates if you connect
the vSphere Client directly to an ESX/ESXi host.
Procedure
Prerequisites
You must be connected to vCenter Server to edit a template. You cannot work with templates if you connect
the vSphere Client directly to an ESX/ESXi host.
Procedure
2 Enter a new name and click outside the field to save your changes.
Deleting Templates
You can delete a template by removing it from the inventory or deleting the template from the disk. If you
remove the template from the inventory, it remains on the disk and can be reregistered with vCenter Server
to restore it to the inventory.
n Remove Templates from the Inventory on page 41
If you remove a template from the inventory, it is unregistered from the vCenter Server inventory, but
it is not removed from the datastore.
n Delete a Template from the Disk on page 41
Deleted templates are permanently removed from the system.
n Reregister Templates on page 41
Templates can become unregistered from the vCenter Server if they are removed from the inventory or
if the hosts with which they are associated are removed from the vCenter Server and then readded.
40 VMware, Inc.
Chapter 4 Working with Templates and Clones
Prerequisites
You must be connected to vCenter Server to remove a template from the inventory. You cannot work with
templates if you connect directly to an ESX/ESXi host.
Procedure
2 Click OK to confirm removing the template from the vCenter Server database.
Prerequisites
You must be connected to vCenter Server to delete a template. You cannot work with templates if you connect
the vSphere Client directly to an ESX/ESXi host.
Procedure
Reregister Templates
Templates can become unregistered from the vCenter Server if they are removed from the inventory or if the
hosts with which they are associated are removed from the vCenter Server and then readded.
Procedure
1 Start the vSphere client, and log in to the vCenter Server system.
3 Right-click the datastore that contains the template and select Browse Datastore.
If you want the template to retain its original name, do not enter a name in the Add to Inventory wizard.
vCenter Server will use the original name if the field in the wizard is left blank.
7 Select a host or cluster on which to store the template, and click Next.
The template is registered to the host. You can view the template from the host’s Virtual Machine tab.
VMware, Inc. 41
vSphere Virtual Machine Administration Guide
Prerequisites
You must be connected to vCenter Server to convert a template to a virtual machine. You cannot work with
templates if you connect directly to an ESX/ESXi host.
Procedure
Option Description
Run the virtual machine on a Select the host and click Next.
standalone host.
Run the virtual machine in a cluster Select the cluster and click Next.
with DRS automatic placement.
Run the virtual machine in a cluster a Select the cluster and click Next.
without DRS automatic placement. b Select a host within the cluster and click Next.
If the template resides on a legacy VMFS2 datastore, you must select the host on which the template was
created as the destination for the virtual machine.
3 Select a resource pool in which to run the clone and click Next.
Customizing guest operating systems can help prevent conflicts that can result if virtual machines with
identical settings are deployed, such as conflicts due to duplicate computer names.
You can specify the customization settings by choosing to launch the Guest Customization wizard during the
cloning or deployment process. Alternatively, you can create customization specifications, which are
customization settings stored in the vCenter Server database. During the cloning or deployment process, you
can select a customization specification to apply to the new virtual machine.
Use the Customization Specification Manager to manage customization specifications you create with the
Guest Customization wizard.
42 VMware, Inc.
Chapter 4 Working with Templates and Clones
Virtual machines that reside on hosts running ESX Server 3.0.x or earlier have additional disk requirements:
n On a Windows guest operating system, the active partition (the partition containing boot.ini) and the
system partition (the partition containing the system directory, for example, \WINNT or WINDOWS) must be
on the same virtual disk. The active partition and the system partition do not need to be the same partition.
n On a Linux guest operating system, the virtual disk containing the system partition (the partition
containing the /etc directory) must reside on the SCSI 0:0 node.
Windows Requirements
Customization of Windows guest operating systems requires the following conditions:
n Microsoft Sysprep tools must be installed on the vCenter Server system. See Appendix A, “Installing the
Microsoft Sysprep Tools,” on page 153.
n The ESX/ESXi host that the virtual machine is running on must be 3.5 or later.
Guest operating system customization is supported on multiple Windows operating systems. To verify
customization support for Windows operating systems and compatible ESX/ESXi hosts, see VMware vSphere
Compatibility Matrixes.
Linux Requirements
Customization of Linux guest operating systems requires the following conditions:
n Perl must be installed in the Linux guest operating system.
n The clone or template must have a root volume formatted with an ext2, ext3, or ReiserFS file system.
Guest operating system customization is supported on multiple Linux distributions. To verify customization
support for Linux distributions and compatible ESX/ESXi hosts, see VMware vSphere Compatibility Matrixes.
The script is executed by the Windows command-line script host (cscript.exe). The script can be written in
any compatible scripting language, including JScript or VBScript. See the Microsoft documentation for
cscript.exe for more information on writing scripts.
Procedure
1 Create the script and save it on the vCenter Server system's local disk.
2 In the vSphere Client connected to vCenter Server, select Administration > vCenter Server Settings.
VMware, Inc. 43
vSphere Virtual Machine Administration Guide
d In the Value text box, type the path to the script file on the vCenter Server system and click Add.
5 Click OK.
You can now select the option to use an application to generate computer names or IP addresses during
customization.
Prerequisites
Ensure that all requirements for customization are met. See “Guest Operating System Customization
Requirements,” on page 42.
To perform this procedure, launch the Customization wizard when cloning a virtual machine or deploying
from a template. See “Clone a Virtual Machine,” on page 34 or “Deploy a Virtual Machine from a Template,”
on page 38.
Procedure
1 Type the virtual machine owner’s name and organization and click Next.
2 Specify how to determine the guest operating system's computer name and click Next.
The operating system uses this name to identify itself on the network. On Linux systems, it is called the
host name.
Option Description
Use a specific name a Type a name.
The name can contain alphanumeric characters and the hyphen (-)
character. It cannot contain periods (.) or blank spaces and cannot be
made up of digits only. Names are case-insensitive.
b (Optional) To ensure that the name is unique, select Append a numeric
value to ensure uniqueness. This appends a hyphen followed by a
numeric value to the virtual machine name.
Use the virtual machine’s name The computer name that vCenter Server creates is identical to the name of
the virtual machine on which the guest operating system is running.
Prompt the user for a name in the The vSphere Client prompts you to enter a name after the cloning or
Deploy wizard deployment is complete.
Use a custom application configured Enter a parameter that can be passed to the custom application.
with vCenter Server to generate a
name
44 VMware, Inc.
Chapter 4 Working with Templates and Clones
3 Provide licensing information for the Windows operating system and click Next.
Option Description
For non-server operating systems Type the Windows product key for the new guest operating system.
For server operating systems a Type the Windows product key for the new guest operating system.
b Select Include Server License Information.
c Select either Per seat or Per server.
d (Optional) If you selected Per server, enter the maximum number of
simultaneous connections you want the server to accept.
4 Configure the administrator password for the virtual machine and click Next.
a Type a password for the administrator account, and confirm the password by typing it again.
NOTE You can change the administrator password only if the administrator password on the source
Windows virtual machine is blank. If the source Windows virtual machine or template already has a
password, the administrator password does not change.
b (Optional) To log users into the guest operating system as Administrator, select the check box, and
select the number of times to log in automatically.
5 Select the time zone for the virtual machine and click Next.
6 (Optional) On the Run Once page, specify commands to be run the first time a user logs into the guest
operating system and click Next.
See the Microsoft Sysprep documentation for more information on Run Once commands.
7 Select the type of network settings to apply to the guest operating system.
Option Description
Typical settings Select Typical settings and click Next.
vCenter Server configures all network interfaces from a DHCP server using
default settings.
Custom settings a Select Custom settings and click Next.
b For each network interface in the virtual machine, click ....
c Enter IP address and other network settings and click OK.
d When all network interfaces are configured, click Next.
8 Select how the virtual machine will participate in the network and click Next.
Option Description
Workgroup Type a workgroup name. (For example, MSHOME)
Windows Server Domain a Type the domain name.
b Type the user name and password for a user account that has permission
to add a computer to the specified domain.
A Windows Security ID (SID) is used in some Windows operating systems to uniquely identify systems
and users. If you do not select this option, the new virtual machine has the same SID as the virtual machine
or template from which it was cloned or deployed.
Duplicate SIDs do not cause problems when the computers are part of a domain and only domain user
accounts are used. However, if the computers are part of a Workgroup or local user accounts are used,
duplicate SIDs can compromise file access controls. For more information, see the documentation for your
Microsoft Windows operating system.
VMware, Inc. 45
vSphere Virtual Machine Administration Guide
11 Click Finish to save your changes and exit the Guest Customization wizard.
You return to the Deploy Template or Clone Virtual Machine wizard. The customization is carried out after
you complete the Deploy Template or Clone Virtual Machine wizard.
When the new virtual machine boots for the first time, the guest operating system runs finalization scripts to
complete the customization process. The virtual machine might reboot a number of times during this process.
If the guest operating system pauses when the new virtual machine boots, it might be waiting for you to correct
errors, such as an incorrect product key or invalid user name. Open the virtual machine’s console to determine
whether the system is waiting for information.
What to do next
After deploying and customizing non-volume-licensed versions of Windows XP or Windows 2003, you might
need to reactivate your operating system on the new machine.
If the new virtual machine encounters customization errors while it is booting, the errors are logged to %WINDIR
%\temp\vmware-imc. To view the error log, click the Windows Start button and select Programs >
Administrative Tools > Event Viewer.
Prerequisites
Ensure that all requirements for customization are met. See “Guest Operating System Customization
Requirements,” on page 42.
To perform this procedure, launch the Customization wizard when cloning a virtual machine or deploying
from a template. See “Clone a Virtual Machine,” on page 34 or “Deploy a Virtual Machine from a Template,”
on page 38.
Procedure
1 Specify how to determine the host name to identify the guest operating system on the network.
Option Description
Use a specific name a Type a name.
The name can contain alphanumeric characters and the hyphen (-)
character. It cannot contain periods (.) or blank spaces and cannot be
made up of digits only. Names are case-insensitive.
b (Optional) To ensure that the name is unique, select Append a numeric
value to ensure uniqueness. This appends a hyphen followed by a
numeric value to the virtual machine name.
Use the virtual machine’s name The computer name that vCenter Server creates is identical to the name of
the virtual machine on which the guest operating system is running.
Prompt the user for a name in the The vSphere Client prompts you to enter a name after the cloning or
Deploy wizard deployment is complete.
Use a custom application configured Enter a parameter that can be passed to the custom application.
with vCenter Server to generate a
name
2 Enter the Domain Name for the computer and click Next.
46 VMware, Inc.
Chapter 4 Working with Templates and Clones
3 Select the time zone for the virtual machine and click Next.
4 Select the type of network settings to apply to the guest operating system.
Option Description
Typical settings Select Typical settings and click Next.
vCenter Server configures all network interfaces from a DHCP server using
default settings.
Custom settings a Select Custom settings and click Next.
b For each network interface in the virtual machine, click ....
c Enter IP address and other network settings and click OK.
d When all network interfaces are configured, click Next.
You return to the Deploy Template or Clone Virtual Machine wizard. The customization is carried out after
you complete the Deploy Template or Clone Virtual Machine wizard.
When the new virtual machine boots for the first time, the guest operating system runs finalization scripts to
complete the customization process. The virtual machine might reboot a number of times during this process.
If the guest operating system pauses when the new virtual machine boots, it might be waiting for you to correct
errors, such as an incorrect product key or invalid user name. Open the virtual machine’s console to determine
whether the system is waiting for information.
What to do next
If the new virtual machine encounters customization errors while it is booting, the errors are reported using
the guest’s system logging mechanism. View the errors by opening /var/log/vmware-imc/
toolsDeployPkg.log.
vCenter Server saves the customized configuration parameters in the vCenter Server database. If the
customization settings are saved, the administrator, and domain administrator, passwords are stored in
encrypted format in the database. Because the certificate used to encrypt the passwords is unique to each
vCenter Server system, reinstalling vCenter Server, or attaching a new instance of the server the database,
invalidates the encrypted passwords. The passwords must be re-entered before they can be used.
Prerequisites
Ensure that all requirements for customization are met. See “Guest Operating System Customization
Requirements,” on page 42.
VMware, Inc. 47
vSphere Virtual Machine Administration Guide
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
2 Click New.
4 Under Customization Specification Information, enter a name for the specification and an optional
description and click Next.
5 Specify how to determine the host name to identify the guest operating system on the network.
Option Description
Use a specific name a Type a name.
The name can contain alphanumeric characters and the hyphen (-)
character. It cannot contain periods (.) or blank spaces and cannot be
made up of digits only. Names are case-insensitive.
b (Optional) To ensure that the name is unique, select Append a numeric
value to ensure uniqueness. This appends a hyphen followed by a
numeric value to the virtual machine name.
Use the virtual machine’s name The computer name that vCenter Server creates is identical to the name of
the virtual machine on which the guest operating system is running.
Prompt the user for a name in the The vSphere Client prompts you to enter a name after the cloning or
Deploy wizard deployment is complete.
Use a custom application configured Enter a parameter that can be passed to the custom application.
with vCenter Server to generate a
name
6 Enter the Domain Name for the computer and click Next.
7 Select the time zone for the virtual machine and click Next.
8 Select the type of network settings to apply to the guest operating system.
Option Description
Typical settings Select Typical settings and click Next.
vCenter Server configures all network interfaces from a DHCP server using
default settings.
Custom settings a Select Custom settings and click Next.
b For each network interface in the virtual machine, click ....
c Enter IP address and other network settings and click OK.
d When all network interfaces are configured, click Next.
The customization specification you created is listed in the Customization Specification Manager, and can be
used to customize virtual machine guest operating systems.
Prerequisites
Ensure that all requirements for customization are met. See “Guest Operating System Customization
Requirements,” on page 42.
48 VMware, Inc.
Chapter 4 Working with Templates and Clones
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
2 Click New.
3 In the Guest Customization wizard, select Windows from the Target Virtual Machine OS menu.
4 Under Customization Specification Information, enter a name for the specification and an optional
description and click Next.
5 Type the virtual machine owner’s name and organization and click Next.
6 Specify how to determine the guest operating system's computer name and click Next.
The operating system uses this name to identify itself on the network. On Linux systems, it is called the
host name.
Option Description
Use a specific name a Type a name.
The name can contain alphanumeric characters and the hyphen (-)
character. It cannot contain periods (.) or blank spaces and cannot be
made up of digits only. Names are case-insensitive.
b (Optional) To ensure that the name is unique, select Append a numeric
value to ensure uniqueness. This appends a hyphen followed by a
numeric value to the virtual machine name.
Use the virtual machine’s name The computer name that vCenter Server creates is identical to the name of
the virtual machine on which the guest operating system is running.
Prompt the user for a name in the The vSphere Client prompts you to enter a name after the cloning or
Deploy wizard deployment is complete.
Use a custom application configured Enter a parameter that can be passed to the custom application.
with vCenter Server to generate a
name
7 Provide licensing information for the Windows operating system and click Next.
Option Description
For non-server operating systems Type the Windows product key for the new guest operating system.
For server operating systems a Type the Windows product key for the new guest operating system.
b Select Include Server License Information.
c Select either Per seat or Per server.
d (Optional) If you selected Per server, enter the maximum number of
simultaneous connections you want the server to accept.
8 Configure the administrator password for the virtual machine and click Next.
a Type a password for the administrator account, and confirm the password by typing it again.
NOTE You can change the administrator password only if the administrator password on the source
Windows virtual machine is blank. If the source Windows virtual machine or template already has a
password, the administrator password does not change.
b (Optional) To log users into the guest operating system as Administrator, select the check box, and
select the number of times to log in automatically.
9 Select the time zone for the virtual machine and click Next.
10 (Optional) On the Run Once page, specify commands to be run the first time a user logs into the guest
operating system and click Next.
See the Microsoft Sysprep documentation for more information on Run Once commands.
VMware, Inc. 49
vSphere Virtual Machine Administration Guide
11 Select the type of network settings to apply to the guest operating system.
Option Description
Typical settings Select Typical settings and click Next.
vCenter Server configures all network interfaces from a DHCP server using
default settings.
Custom settings a Select Custom settings and click Next.
b For each network interface in the virtual machine, click ....
c Enter IP address and other network settings and click OK.
d When all network interfaces are configured, click Next.
12 Select how the virtual machine will participate in the network and click Next.
Option Description
Workgroup Type a workgroup name. (For example, MSHOME)
Windows Server Domain a Type the domain name.
b Type the user name and password for a user account that has permission
to add a computer to the specified domain.
A Windows Security ID (SID) is used in some Windows operating systems to uniquely identify systems
and users. If you do not select this option, the new virtual machine has the same SID as the virtual machine
or template from which it was cloned or deployed.
Duplicate SIDs do not cause problems when the computers are part of a domain and only domain user
accounts are used. However, if the computers are part of a Workgroup or local user accounts are used,
duplicate SIDs can compromise file access controls. For more information, see the documentation for your
Microsoft Windows operating system.
The customization specification you created is listed in the Customization Specification Manager, and can be
used to customize virtual machine guest operating systems.
Windows 2000, Windows Server 2003, and Windows XP use a text file called sysprep.inf. Windows Server
2008, Windows Vista, and Windows 7 use an XML file called sysprep.xml. You can create these files using a
text editor, or use the Microsoft Setup Manager utility to generate them. For more information about how to
create a custom sysprep answer file, see the documentation for the relevant operating system.
Prerequisites
Ensure that all requirements for customization are met. See “Guest Operating System Customization
Requirements,” on page 42.
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
2 Click New.
3 In the Guest Customization wizard, select Windows from the Target Virtual Machine OS menu.
50 VMware, Inc.
Chapter 4 Working with Templates and Clones
5 Under Customization Specification Information, enter a name for the specification and an optional
description and click Next.
6 Select the option to import or create a sysprep answer file and click Next.
Option Description
Import a Sysprep answer file Click Browse and browse to the file.
Create a Sysprep answer file Type the contents of the file in the text box.
7 Select the type of network settings to apply to the guest operating system.
Option Description
Typical settings Select Typical settings and click Next.
vCenter Server configures all network interfaces from a DHCP server using
default settings.
Custom settings a Select Custom settings and click Next.
b For each network interface in the virtual machine, click ....
c Enter IP address and other network settings and click OK.
d When all network interfaces are configured, click Next.
A Windows Security ID (SID) is used in some Windows operating systems to uniquely identify systems
and users. If you do not select this option, the new virtual machine has the same SID as the virtual machine
or template from which it was cloned or deployed.
Duplicate SIDs do not cause problems when the computers are part of a domain and only domain user
accounts are used. However, if the computers are part of a Workgroup or local user accounts are used,
duplicate SIDs can compromise file access controls. For more information, see the documentation for your
Microsoft Windows operating system.
The customization specification you created is listed in the Customization Specification Manager, and can be
used to customize virtual machine guest operating systems.
Prerequisites
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
Prerequisites
VMware, Inc. 51
vSphere Virtual Machine Administration Guide
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
Prerequisites
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
Prerequisites
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
4 Click Save.
Prerequisites
Before you begin, you must have at least one customization specification saved as an xml file located on a file
system accessible from the vSphere Client.
Procedure
1 From the vSphere Client Home page, select Customization Specifications Manager.
2 Click Import.
3 From the Open dialog, browse to the .xml to import and click Open.
52 VMware, Inc.
Deploying OVF Templates 5
The VMware vSphere Client (vSphere Client) allows you to deploy and export virtual machines, virtual
appliances, and vApps stored in Open Virtual Machine Format (OVF). An appliance is a pre-configured virtual
machine that typically includes a preinstalled guest operating system and other software.
Deploying an OVF template allows you to add pre-configured virtual machines to your vCenter Server or ESX/
ESXi inventory. Deploying an OVF template is similar to deploying a virtual machine from a template.
However, you can deploy an OVF template from any local file system accessible from the vSphere Client
machine, or from a remote web server. The local file systems can include local disks (such as C:), removable
media (such as CDs or USB keychain drives), and shared network drives.
Exporting OVF templates allows you to create virtual appliances that can be imported by other users. You can
use the export function to distribute pre-installed software as a virtual appliance, or as a means of distributing
template virtual machines to users, including users who cannot directly access and use the templates in your
vCenter Server inventory.
About OVF
OVF is a file format that allows for exchange of virtual appliances across products and platforms.
VMware, Inc. 53
vSphere Virtual Machine Administration Guide
NOTE To import a virtual machine that was created by another VMware product and is not in OVF format,
use the VMware vCenter Converter client plug-in. See the vCenter Converter Administration Guide for more
information.
Procedure
Option Action
Deploy from File Browse your file system for an OVF or OVA template.
Deploy from URL Specify a URL to an OVF template located on the internet. Example: http://
vmware.com/VMTN/appliance.ovf
4 If license agreements are packaged with the OVF template, the End User License Agreement page appears.
Agree to accept the terms of the licenses and click Next.
5 (Optional) Edit the name and select the folder location within the inventory where the vApp will reside,
and click Next.
NOTE When the vSphere Client is connected directly to an ESX/ESXi host, the option to select the folder
location does not appear.
6 Select the deployment configuration from the drop-down menu and click Next.
The option selected typically controls the memory settings, number of CPUs and reservations, and
application-level configuration parameters.
NOTE This page appears only if the OVF template contains deployment options.
7 Select the host or cluster on which you want to deploy the OVF template and click Next.
8 Select the host on which you want to run the deployed OVF template, and click Next.
NOTE This page appears only if the destination is a resource pool associated with a cluster with DRS
disabled or in manual mode.
9 Navigate to, and select the resource pool where you want to run the OVF template and click Next.
NOTE This page appears only if the cluster contains a resource pool.
10 Select a datastore to store the deployed OVF template, and click Next.
Datastores are a unifying abstraction for storage locations such as Fibre Channel, iSCSI LUNs, or NAS
volumes. On this page, you select from datastores already configured on the destination cluster or host.
The virtual machine configuration file and virtual disk files are stored on the datastore. Select a datastore
large enough to accommodate the virtual machine and all of its virtual disk files.
54 VMware, Inc.
Chapter 5 Deploying OVF Templates
11 Select the disk format to store the virtual machine virtual disks, and click Next.
Format Description
Thin Provisioned The storage is allocated on demand as data is written to the virtual disks.
Thick Provisioned All storage is immediately allocated.
12 For each network specified in the OVF template, select a network by right-clicking the Destination
Network column in your infrastructure to set up the network mapping and click Next.
13 On the IP Allocation page, configure how IP addresses are allocated for the virtual appliance and click
Next.
Option Description
Fixed You will be prompted to enter the IP addresses in the Appliance Properties
page.
Transient IP addresses are allocated from a specified range when the appliance is
powered on. The IP addresses are released when the appliance is powered
off.
DHCP A DHCP server is used to allocate the IP addresses.
This page does not appear if the deployed OVF template does not contain information about the IP scheme
it supports.
The set of properties that you are prompted to enter depend on the selected IP allocation scheme. For
example, you are prompted for IP related information for the deployed virtual machines only in the case
of a fixed IP allocation scheme.
The progress of the import task appears in the vSphere Client Status panel.
To get to the Virtual Appliance Marketplace page, select File > Browse VA Marketplace from the main menu.
Procedure
u Select an available vApp and click Download Now.
Required privilege:vApp.Export
VMware, Inc. 55
vSphere Virtual Machine Administration Guide
Procedure
1 Select the virtual machine or vApp and select File > Export > Export OVF Template.
2 In the Export OVF Template dialog, type the Name of the template.
NOTE When exporting an OVF template with a name that contains asterisk (*) characters, those characters
turn into underscore characters (_).
3 Enter the Directory location where the exported virtual machine template is saved, or click “...” to browse
for the location.
The C:\ drive is the default location where the template is stored.
4 In the Format field, determine how you want to store the files.
n Select Folder of files (OVF) to store the OVF template as a set of files (.ovf, .vmdk, and .mf) This
format is optimal if you plan to publish the OVF files on a web server or image library. The package
can be imported, for example, into the vSphere client by publishing the URL to the .ovf file.
n Select Single file (OVA) to package the OVF template into a single .ova file. This might be convenient
to distribute the OVF package as a single file if it needs to be explicitly downloaded from a web site
or moved around using a USB key.
By default, the text from the Notes pane on the virtual machine’s Summary tab appears in this text box.
6 Select the checkbox if you want to include image files attached to floppy and CD/DVD devices in the OVF
package.
NOTE This checkbox only shows if the virtual machine is connected to an ISO file or if the floppy drive
is connected to a floppy image.
7 Click OK.
n C:\OvfLib\MyVm.mf
n C:\OvfLib\MyVm-disk1.vmdk
If you type C:\NewFolder\OvfLib for a new OVF folder, the following files might be created:
n C:\NewFolder\OvfLib\MyVm\MyVm.ovI
n C:\NewFolder\OvfLib\MyVm.mf
n C:\NewFolder\OvfLib\MyVm-disk1.vmdk
If you choose to export into the OVA format, and type MyVm, the file C:\MyVm.ova is created.
56 VMware, Inc.
Converting Physical Systems to
Virtual Machines 6
VMware vCenter Guided Consolidation, recommended for smaller IT environments, enables you to convert
physical systems to virtual machines and import them into vSphere. Use the consolidation feature to start
transitioning your physical datacenter to a virtual one, or to further consolidate your physical datacenter as it
grows.
Find You search for and select the physical systems in your datacenter that you want
analyzed.
Analyze Selected physical systems are analyzed and performance data on each selected
system is collected. Generally, the longer the duration of the analysis phase,
the higher the confidence in the vCenter Server’s recommendations.
Consolidate Performance data is compared to the resources available on the virtual machine
host systems. The selected physical systems are converted to virtual machines
and imported into vCenter Server on the recommended hosts where they are
managed along with other components of your virtual environment.
VMware, Inc. 57
vSphere Virtual Machine Administration Guide
Default system credentials enable you to store a set of credentials so that you do not have to enter them each
time you add systems for analysis. You can override default credentials when necessary.
Active domains enable you to register domains with the Consolidation feature. Active domains are scanned
daily so that newly added systems are readily available.
Consolidation Prerequisites
Guided Consolidation requires that at least one host is managed through vSphere. It also requires that you
provide credentials to the target physical systems.
Guided Consolidation can convert systems that are configured to any locale. Before you use the feature, ensure
that the following prerequisites are met:
General Requirements
n The following operating systems on systems targeted for analysis are supported:
n Windows 2000 Professional/Server/Advanced
n Windows XP Professional (32 bit and 64 bit)
58 VMware, Inc.
Chapter 6 Converting Physical Systems to Virtual Machines
Network Connections
The Guided Consolidation server must have access to the ports listed in the Table 6-1.
VMware, Inc. 59
vSphere Virtual Machine Administration Guide
60 VMware, Inc.
Chapter 6 Converting Physical Systems to Virtual Machines
vCenter Collector Discovers domains and systems within domains. Collects performance data on
Service those systems.
vCenter Provider Helper service to vCenter Collector Service. Communicates with target systems
Service and passes the data back to vCenter Collector Service.
The Configuration tab displays name, location, and health of Consolidation services. It also enables you to
configure the following settings:
Default system Used by Guided Consolidation to access target physical systems. If necessary,
credentials the default credentials can be overridden.
Active Domains Guided Consolidation automatically scans active domains and caches
information about the systems in them. This information is updated daily. If
you intend to add systems for analysis by selecting them from a domain, you
must specify the domain as Active.
Procedure
1 Click Change in the Default System Credentials area of the Configuration tab.
VMware, Inc. 61
vSphere Virtual Machine Administration Guide
VMware recommends that you leave domains where new systems are frequently added as Active and that
you remove domains that do not frequently change after their information has been cached. Because scanning
active domains is resource intensive, VMware also recommends that no more than 50 domains are
simultaneously active.
NOTE In some cases it can take the system several hours to collect a domain's containment information.
Procedure
1 From the vSphere Client Home page, select Guided Consolidation > Configuration.
4 Click OK.
You can add systems manually by entering a computer name, IP address or range of IP addresses, or file name.
Alternatively, you can select a domain - it must be active - and select systems found within that domain. You
can analyze up to 100 systems simultaneously.
NOTE After adding a system for analysis, it can take up to one hour before the status of the newly added
system changes from Collecting System Information to Analyzing.
Procedure
Option Description
Manually specify the computers Provide computer names, IP addresses, a range of IP addresses, or path to a
file that contains the computer names or IP addresses of the systems you
want according to the following rules:
n Separate multiple computer names, or IP address, with a comma.
n Multiple IP ranges are not permitted.
n If you chose to use a file, each computer name or IP address must be on
a separate line in the file. The file must be accessible to the vSphere Client.
Select the computers by domains Select the systems you want to analyze.
4 Select whether you want to use the configured default credentials, or whether you want to supply a
different set of credentials.
If you chose to override the default credentials, ensure that you enter a domain-qualified user name (for
example, DOMAIN\username) and password.
5 Click OK.
62 VMware, Inc.
Chapter 6 Converting Physical Systems to Virtual Machines
The recommendation indicates how well suited, based on the collected data, a candidate is to a particular
virtual machine host system. Confidence refers to the reliability of the recommendation and it is a function of
the duration of the analysis. Recommendations based on longer periods of analysis – and therefore more
performance data – receive a higher level of confidence.
NOTE After 24 hours of analysis, vCenter Server indicates a high level of confidence in its recommendations.
However, this can be misleading if a system’s workload varies significantly over weeks or months. To ensure
a high level of confidence in a recommendation, allow the duration of the analysis phase to encompass an
amount of time that includes representative peaks and troughs in the systems’ workload. Analysis can run up
to one month.
VMware, Inc. 63
vSphere Virtual Machine Administration Guide
The option to convert systems manually is available only if the vCenter Converter client plug-in is installed
and enabled on your vSphere Client. You can verify whether vCenter Converter client is installed and enabled
through the Plug-in Manager.
Procedure
1 In the Analysis tab, right-click on a system and select Convert to Virtual Machine > Manually.
Procedure
1 In the Analysis tab, select the systems you want to consolidate and click Plan Consolidation.
2 Select a system.
3 (Optional) Change the name displayed in the Physical Computer column by double-clicking it and
entering a new name.
Your entry will be used as the name for the resultant virtual machine.
4 (Optional) Change destinations, if alternative destinations are available, by clicking in the Destinations
column and selecting a destination from the drop-down menu.
The number of stars displayed in the Destination Rating column indicate the degree to which the host
system can comfortably accommodate the estimated resource needs of the resultant virtual machine.
5 Click Consolidate.
What to do next
You can view task progress in the Recent Tasks pane. You view additional information about the task in the
Tasks tab.
Recent tasks are displayed in the Recent Tasks pane. The Tasks tab lists all consolidation tasks. You can view
detailed information about a task by selecting it. Information about events related to the selected task are
displayed in the Task Details pane.
You can filter the list of tasks by entering criteria in the search field and selecting any combination of the
following:
n Name
n Target
n Status
n Initiated by
64 VMware, Inc.
Chapter 6 Converting Physical Systems to Virtual Machines
n Start Time
n Complete Time
Troubleshooting Consolidation
The topics in this section contain information about identifying and solving problems with Guided
Consolidation.
Problem
Although up to 100 systems can be simultaneously analyzed, you might notice performance issues on the
vCenter Server that are due to running Guided Consolidation.
Cause
Analysis is resource intensive and can negatively impact vCenter Server performance.
Solution
Reduce the number of systems that are being analyzed. If necessary, you can either disable Guided
Consolidation or uninstall the Guided Consolidation Service. If you disable Guided Consolidation, collected
data is preserved and no further data is collected. If you uninstall the Guided Consolidation Service, the data
that has been collected will no longer be usable.
Problem
Windows systems that match all of the following conditions will not be discovered by Guided Consolidation
and will not be listed as candidates for analysis:
n The system is not listed in Microsoft Windows Network. The following commands do not list the system:
NET VIEW
NET VIEW /DOMAIN:the Workgroup or Domain the system belongs to
n The system is listed in Active Directory but does not have the operatingSystem attribute defined. This can
happen if the system never synchronizes with the Active Directory to which it belongs or was improperly
configured.
Solution
n Enable the Computer Browser service on the machine where Guided Consolidation is installed and on
the systems that are not discovered.
n Ensure that the Log On As credentials for VMware vCenter Collector Provider Service met the
prerequisites as mentioned in “Consolidation Prerequisites,” on page 58.
n Manually enter the static IP address of the target system.
VMware, Inc. 65
vSphere Virtual Machine Administration Guide
Problem
n The system is not listed in Microsoft Windows Network. The following commands do not list the system:
NET VIEW
NET VIEW /DOMAIN:the Workgroup or Domain the system belongs to
n The system is listed in Active Directory but does not have the operatingSystem attribute defined. This can
happen if the system never synchronizes with the Active Directory to which it belongs or was improperly
configured.
Solution
1 Set the Guided Consolidation target systems' Network access: Sharing and security model for local
accounts option to Classic - local users authenticate as themselves
4 In the left pane, select one of the following depending on which command you ran in the previous step:
a (gpedit.msc) Local Computer Policy > Computer Configuration > Windows Settings > Security
Settings > Local Policies > Security Options
b (secpol.msc) Security Settings > Local Policies > Security Options > Double-click on Network
access: Sharing and security model for local accounts.
c Double-click on Network access: Sharing and security model for local accounts. Ensure that Classic
- local users authenticate as themselves is selected.
Problem
The list of available domains remains empty for Guided Consolidation installed on Windows Server 2008 and
Windows Vista.
Cause
Some configurations of Windows Vista and Windows Server 2008 prevent Guided Consolidation from
discovering LAN Manager Workgroups. The Link-layer discovery protocol (LLDP), introduced in Windows
2008 Server, is not backward compatible with LAN Manager-based protocols and can not discover machines
with earlier operating systems if those systems do not have the appropriate drivers installed. Additionally,
Guided Consolidation does not use LLDP to perform discovery and will not find systems that can only be
discovered through that protocol, or when the Computer Browser Windows Service is not running.
66 VMware, Inc.
Chapter 6 Converting Physical Systems to Virtual Machines
Solution
Ensure that the Computer Browser Windows Service is enabled on the Windows Vista or Windows Server
2008 system where Guided Consolidation is installed and that it is also enabled on all systems to be discovered.
Alternatively, manually enter the static IP address of the system to be analyzed.
Problem
Temporary network errors can sometimes cause Guided Consolidation to stop analysis on one or more systems,
even when the systems are reachable.
Solution
Right-click on the affected systems and select Resume Analysis.
Procedure
1 On the Guided Consolidation host system, open the Services control panel.
2 Stop theVMware vCenter Management Webservices (applicable when Guided Consolidation and
vCenter Server are not collocated), the VMware Collector for vCenter, and the VMware Provider for
vCenter services.
Procedure
CAUTION Do not uninstall the vCenter Collector Service alone. Doing so prevents Guided Consolidation from
operating and will require that you perform a clean installation of Guided Consolidation, which will delete
existing Guided Consolidation data.
VMware, Inc. 67
vSphere Virtual Machine Administration Guide
68 VMware, Inc.
Configuring and Managing Virtual Machines
VMware, Inc. 69
vSphere Virtual Machine Administration Guide
70 VMware, Inc.
Configuring Virtual Machines 7
You can add or configure most virtual machine properties during the virtual machine creation process or after
you create the virtual machine and install the guest operating system.
You configure virtual machines using the Virtual Machine Properties editor and the Add Hardware wizard,
which you access from the vSphere Client. You can change nearly every characteristic that you selected when
you created the virtual machine. You can upgrade the virtual hardware of a virtual machine or convert virtual
disks from thin to thick using these dialog boxes.
Hardware View existing hardware configuration and access the Add Hardware wizard
to add or remove hardware.
Options View and configure a number of virtual machine properties, such as power
management interaction between the guest operating system and virtual
machine, and VMware Tools settings.
VMware, Inc. 71
vSphere Virtual Machine Administration Guide
n “USB Device Passthrough Configuration from an ESX/ESXi Host to a Virtual Machine,” on page 104
n “Manage Power Management Settings for a Virtual Machine,” on page 113
n “Configure the Virtual Machine Power States,” on page 113
n “Configuring Troubleshooting Options,” on page 115
Not all hardware devices are available to every virtual machine. The host the virtual machine runs on and the
guest operating system must support devices that you add or configurations that you make. You can add or
configure some virtual machine hardware, such as USB device passthrough from an ESX/ESXi host to a virtual
machine, only if the virtual machine uses hardware version 7 or later. The PCI, SIO, and PS2 controllers are
virtual hardware devices that are part of the virtual motherboard, but cannot be configured or removed.
CPU You can configure a virtual machine that runs on an ESX/ESXi host to have one
or more virtual processors. A Virtual machine cannot have more virtual CPUs
than the actual number of logical CPUs on the host. You can change the number
of CPUs allocated to a virtual machine and configure advanced CPU features, such
as the CPU Identification Mask and hyperthreaded core sharing.
DVD/CD-ROM Drive Installed by default when you create a new vSPhere virtual machine. You can
configure DVD/CD-ROM devices to connect to client devices, host devices, or
Datastore ISO files. You can add, remove, or configure DVD/CD-ROM devices.
Floppy Drive Installed by default when you create a new vSPhere virtual machine. You can
connect to a floppy drive located on the ESX/ESXi host, a floppy (.flp) image, or
the floppy drive on your local system. You can add, remove, or configure floppy
devices.
Hard Disk Stores the virtual machine's operating system, program files, and other data
associated with its activities. A virtual disk is a large physical file, or a set of files,
that can be copied, moved, archived, and backed up as easily as any other file.
IDE 0, IDE 1 By default, two Integrated Drive Electronics (IDE) interfaces are presented to the
virtual machine. The IDE interface (controller and cable) is a standard way for a
storage devices (Floppy drives, hard drives and CD-ROM drives) to connect to
the virtual machine.
Keyboard Mirrors the keyboard that is connected to the virtual machine console when you
first connect to the console.
Memory The virtual hardware memory size determines how much memory applications
that are running inside the virtual machine have available to them. A virtual
machine cannot benefit from more memory resources than its configured virtual
hardware memory size.
Network Adapter ESX/ESXi networking features provide communication between virtual machines
on the same host, between virtual machines on different hosts, and between other
virtual and physical machines. When you configure a virtual machine, you can
add network adapters (NICs) and specify the adapter type.
72 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Parallel port Interface for connecting peripherals to the virtual machine. The virtual parallel
port can connect to a parallel port or a file on the host operating system. You can
add, remove, or configure virtual parallel ports.
PCI controller Bus on the virtual machine motherboard that communicates with components
such as hard disks and other devices. One PCI controller is presented to the virtual
machine. You cannot configure or remove this device.
PCI Device You can add up to six PCI VMDirectPath devices to a virtual machine. The devices
must be reserved for PCI passthrough on the host on which the virtual machine
runs.
Pointing device Mirrors the pointing device that is connected to the virtual machine console when
you first connect to the console.
PS2 controller Provides mouse virtualization. One PS2 controller is available to the virtual
machine. By default, when you power on a virtual machine, it uses a PS/2 mouse.
If the victual machine has a virtual mouse drive, or if you load a mouse driver,
vmouse absolute protocol is used. If a USB driver is loaded, the controller sends
a driver over USB protocol. If the USB mouse does not respond, the virtual
machine reverts to the vmouse or PS2 mouse.
Serial Port Interface for connecting peripherals to the virtual machine. The virtual serial port
can connect to a physical serial port, to a file on the host computer, or over the
network. You can also use it to establish a direct connection between two virtual
machines or a connection between a virtual machine and an application on the
host computer. A virtual machine can use up to four virtual serial ports. You can
add, remove, or configure virtual serial ports.
SCSI controller Provides access to virtual disks. The SCSI virtual controller appears to a virtual
machine as different types of controllers, including BusLogic Parallel, LSI Logic
Parallel, LSI Logic SAS, and VMware Paravirtual. You can change the SCSI
controller type, allocate bus sharing for a virtual machine, add a paravirtualized
SCSI controller, and enable or disable VMI paravirtualization.
SCSI device By default, a SCSI device interface is available to the virtual machine. The SCSI
interface is a typical way to connect storage devices (floppy drives, hard drives,
and DVD/CD-ROMs) to a virtual machine. You can add, remove, or configure
SCSI devices.
SIO controller Provides serial and parallel ports, floppy devices, and performs system
management activities. One SIO controller is available to the virtual machine. You
cannot configure or remove this device.
USB controller The USB hardware chip that provides USB function to the USB ports that it
manages. The virtual USB Controller is the software virtualization of the USB host
controller function in the virtual machine.
USB device You can add multiple USB devices, such as security dongles and mass storage
devices, to a virtual machine that runs on an ESX/ESXi host to which the devices
are physically attached.
Table 7-2 shows the virtual machine settings that you can change in the Options tab of the Virtual Machine
Properties Editor.
VMware, Inc. 73
vSphere Virtual Machine Administration Guide
General Options Display name and type of guest operating system. Location of the virtual machine and its
configuration file.
Appliance Options Options for functionality, product information, properties, and OVF settings specific to
virtual appliances.
VMware Tools Power Controls behavior, VMware Tools scripts, and automatic updates.
Table 7-3 shows the advanced virtual machine settings that you can change in the Options tab.
Boot Options Virtual machine boot options. Add a delay before booting or force entry into the BIOS setup
screen.
Fibre Channel NPIV Virtual node and port World Wide Names (WWNs).
CPU/MMU Virtualization Settings for enabling Hardware Page Table Virtualization. In some new processors, controls
the use of hardware support for virtual MMUs.
When you create a virtual machine, you can accept the default hardware version, which always corresponds
to the host on which the virtual machine is created, or an earlier version.
74 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Selecting an earlier hardware version is useful when you want to maintain compatibility with older hosts. A
virtual machine can have an earlier hardware version than that of the host on which it runs in the following
cases:
n You migrate a virtual machine created on an ESX/ESXi 3.x or earlier host to an ESX/ESXi 4.x host.
n You create a new virtual machine on an ESX 4.x host using an existing virtual disk that was created on an
ESX/ESXi 3.x or earlier host.
n You add a virtual disk created on an ESX/ESXi 3.x or earlier host to a virtual machine created on an ESX/
ESXi 4.x host.
Virtual machines with hardware versions earlier than version 4 can run on ESX/ESXi 4.x hosts, but have reduced
performance and capabilities. In particular, you cannot add or remove virtual devices on virtual machines with
hardware versions earlier than version 4 when they run on an ESX/ESXi 4.x host. To make full use of these
virtual machines, upgrade the virtual hardware as described in the Upgrade Guide.
Table 7-5 lists virtual machine hardware versions; the ESX/ESXi versions on which they can be created, edited,
and run; the vCenter Server versions on which they are fully supported; and a brief description of the hardware
version’s capabilities.
ESX/ESXi 4.x create, edit, run create, edit, run run vCenter Server 4.x
ESX Server 3.x – create, edit, run run VirtualCenter Server 2.x and
higher
ESX Server 2.x – – create, edit, run VirtualCenter Server 1.x and
higher
NOTE Virtual machine hardware version 4 might be listed as VM3 in documentation for earlier versions of
ESX and ESXi. Virtual machine hardware version 3 might be listed as VM2 in documentation for earlier versions
of ESX.
Procedure
Option Description
Click the Summary tab. The virtual machine hardware version appears at the top right corner of the
Summary tab.
Right-click the virtual machine and The virtual machine hardware version appears at the top right corner of the
select Edit Settings. Virtual Machine Properties dialog box.
VMware, Inc. 75
vSphere Virtual Machine Administration Guide
Changing the name does not change the name of any virtual machine files or the name of the directory that
the files are located in.
Prerequisites
n Verify that you are connected to the vCenter Server or ESX/ESXi host on which the virtual machine runs.
n Verify that you have access to the virtual machine in the vSphere Client inventory list.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Prerequisites
n Verify that you are connected to the vCenter Server or ESX/ESXi host on which the virtual machine runs.
n Verify that you have access to the virtual machine in the vSphere Client inventory list.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 Record the location of the configuration and working files and click OK to close the dialog box.
You also might see VMware documentation that instructs you to change or add a parameter. In such cases,
you can safely follow the recommended procedure.
CAUTION You must assign a value to configuration parameter keywords. If you don't assign a value, the
keyword can return a value of 0, false, or disable, which can result in a virtual machine that cannot power on.
76 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Prerequisites
n Verify that you are connected to the vCenter Server or ESX/ESXi host on which the virtual machine runs.
n Verify that you have access to the virtual machine in the vSphere Client inventory list.
n You must power off the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
The virtual machine configuration parameters for the guest operating system are changed. You can now install
the guest operating system.
CPU The CPU or processor is the portion of a computer system that carries out the
instructions of a computer program and is the primary element carrying out
the computer's functions.
Core Comprises a logical execution unit containing an L1 cache and functional units
needed to execute programs. Cores can independently execute programs or
threads.
Thread A process that does not have a full stack of memory associated for it. The thread
is tied to a parent process. typically thread processes must run on the same
computer, but can execute simultaneously on separate cores of the same node.
VMware, Inc. 77
vSphere Virtual Machine Administration Guide
Resource sharing Shares specify the relative priority or importance of a virtual machine or
resource pool. If a virtual machine has twice as many shares of a resource as
another virtual machine, it is entitled to consume twice as much of that resource
when these two virtual machines are competing for resources.
Resource allocation You can dynamically change resource allocation policies. For example, if at
year end the workload on Accounting increases, you can increase the
Accounting resource pool reserve.
You can configure a virtual machine that runs on an ESX/ESXi host to have up to eight virtual CPUs. A Virtual
machine cannot have more virtual CPUs than the actual number of logical CPUs on the host. The number of
logical CPUs is the number of physical processor cores or two times that number if hyperthreading is enabled.
For example, if a host has eight logical CPUs, you can configure the virtual machine for 8 virtual CPUs.
Not all guest operating systems support SMP, and some that do require reinstallation if the number of CPUs
changes. For more information about using SMP, search the VMware Knowledge Base.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
A virtual machine has the following user-defined settings that affect its CPU resource allocation.
Limit Places a limit on the consumption of CPU time for a virtual machine. This value
is expressed in MHz.
Reservation Specifies the guaranteed minimum allocation for a virtual machine. The
reservation is expressed in MHz.
Shares Each virtual machine is granted a number of CPU shares. The more shares a
virtual machine has, the more often it gets a time slice of a CPU when there is
no CPU idle time. Shares represent a relative metric for allocating CPU
capacity.
Prerequisites
n Verify that you are connected to the vCenter Server or ESX/ESXi host on which the virtual machine runs.
n Verify that you have access to the virtual machine in the vSphere Client inventory list.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
78 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Option Description
Shares The values Low, Normal, High, and Custom are compared to the sum of all
shares of all virtual machines on the server and, on ESX/ESXi hosts, the
service console. You can use share allocation symbolic values to configure
their conversion into numeric values.
Reservation Guaranteed CPU allocation for this virtual machine.
Limit Upper limit for this virtual machine’s CPU allocation. Select Unlimited to
specify no upper limit.
You can configure how the virtual CPUs are assigned in terms of sockets and cores. For example, you can
configure a virtual machine with four virtual CPUs in the following ways:
n Four sockets with one core per socket
n Two sockets with two cores per socket
n One socket with four cores per socket
Using multicore virtual CPUs can be useful when you run operating systems or applications that can take
advantage of only a limited number of CPU sockets. Previously, each virtual CPU was, by default, assigned
to a single-core socket, so that the virtual machine would have as many sockets as virtual CPUs.
When you configure multicore virtual CPUs for a virtual machine, CPU hot Add/remove is disabled.
For more information about multicore CPUs, see the vSphere Resource Management Guide. You can also search
the VMware KNOVA database for articles about multicore CPUs.
CAUTION You must assign a value to configuration parameter keywords. If you don't assign a value, the
keyword can return a value of 0, false, or disable, which can result in a virtual machine that cannot power on.
Prerequisites
IMPORTANT To use the VMware multicore virtual CPU feature, you must be in compliance with the
requirements of the operating system EULA.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
4 Select the Options tab and Click General in the Advanced options list.
VMware, Inc. 79
vSphere Virtual Machine Administration Guide
You cannot make changes to the name (keyword) after you enter it.
Hyperthreading technology allows a single physical processor to behave like two logical processors. The
hyperthreaded core sharing option provides detailed control over whether to schedule a virtual machine to
share a physical processor core. The processor can run two independent applications at the same time.
Although hyperthreading does not double the performance of a system, it can increase performance by better
utilizing idle resources.
Prerequisites
n The hyperthreaded core sharing option must be enabled in your system's BIOS settings. For more
information, see the Resource Management Guide.
n Power off the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Option Description
Any (default) The virtual CPUs of this virtual machine can share cores with other virtual
CPUs of this or other virtual machines.
None The virtual CPUs of this virtual machine have exclusive use of a processor
core whenever they are scheduled to it. The other hyperthread of the core is
halted while this virtual machine is using the core.
Internal On a virtual machine with exactly two virtual processors, the two virtual
processors are allowed to share one physical core (at the discretion of the
host scheduler), but this virtual machine never shares a core with any other
virtual machine. If this virtual machine has any other number of processors
other than two, this setting is the same as the None setting.
80 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Using CPU affinity, you can assign a virtual machine to a specific processor. This assignment allows you to
restrict the assignment of virtual machines to a specific available processor in multiprocessor systems.
For potential issues with CPU affinity, see the Resource Management Guide.
Prerequisites
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 In the Scheduling Affinity panel, enter a comma-separated list of hyphenated processor ranges.
For example, "0,4-7" would indicate affinity with CPUs 0,4,5,6, and 7. Selecting all processors is identical
to selecting no affinity. You must provide at least as many processor affinities as you have virtual CPUs.
When you configure multicore virtual CPUs for a virtual machine, CPU hot Plug is disabled.
Adding CPU resources to a running virtual machine (with CPU hot plug enabled) disconnects and reconnects
all USB passthrough devices connected to that virtual machine.
Prerequisites
Verify that the virtual machine is running under the following conditions:
n VMware Tools is installed (required for hot plug functionality with Linux guest operating systems).
n The virtual machine has a guest operating system that supports CPU hot plug.
n The virtual machine is using hardware version 7 or later.
n CPU hot plug is enabled on the Options tab of the Virtual Machine Properties dialog box.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Options tab and under Advanced, select Memory/CPU Hotplug.
VMware, Inc. 81
vSphere Virtual Machine Administration Guide
For example, masking the AMD No eXecute (NX) and the Intel eXecute Disable (XD) bits prevents the virtual
machine from using these features, but provides compatibility that allows you to migrate virtual machines to
ESX/ESXi hosts that do not include this capability. When the NX/XD bit is visible to the guest operating system,
the virtual machine can use this feature, but you can migrate the virtual machine only to hosts on which the
feature is enabled.
NOTE You rarely need to change the CPU identification mask configuration settings. Almost all changes are
made only to the NX/XD bit.
See the vSphere Datacenter Administration Guide for detailed information about vMotion compatibility and CPU
masks.
Prerequisites
n Verify that you have access to the virtual machine in the vSphere Client inventory list.
n Power off the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Options tab and under Advanced, select CPUID Mask.
Option Description
Hide the NX/XD flag from guest Increases vMotion compatibility.
Hiding the NX/XD flag increases vMotion compatibility between hosts, but
might disable certain CPU security features.
Expose the NX/XD flag to guest Keeps all CPU security features enabled.
Keep current Advanced setting Uses the NX/XD flag settings specified in the CPU Identification Mask dialog
values for the NX/XD flag box. Enabled only when current settings specify something other than what
is specified in the other NX/XD flag options, for example, if the NX/XD flag
bit setting varies with processor brand.
4 (Optional) To edit mask values other than the NX bit or to set NX mask values to states other than “0” or
“H”, click Advanced.
c Click OK to apply the changes and return to the Virtual Machine Properties dialog box.
82 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Options tab and under Advanced, select CPU/MMU Virtualization.
3 Select an instruction set.
n Automatic
n Use only software virtualization
n Use hardware support for CPU virtualization (VT/AMD-V) only
n Use hardware support for both CPU and MMU virtualization (VT/AMD-V and EPT/RVI)
Memory resource configuration is distinct from the virtual hardware memory size, which you configure on the
Hardware tab. The memory resource setting determines how much of the host's memory is allocated to a virtual
machine. The virtual hardware memory size determines how much memory applications that are running
inside the virtual machine have available to them. A virtual machine cannot benefit from more memory
resources than its configured virtual hardware memory size. The ESX/ESXi host caps memory resource use to
the maximum useful for the virtual machine, so you can accept the default of Unlimited memory resources.
Minimum memory size is 4MB. Minimum and maximum memory size depends on the host and the guest
operating system type. The memory size must be a multiple of 4MB. The maximum for best performance
represents the threshold above which the host's physical memory is insufficient to run the virtual machine at
full speed. This value fluctuates as conditions on the host change (as virtual machines are powered on or off,
for example).
When you add memory to a virtual machine while it is powered on, the amount you add cannot exceed 16
times the amount of memory the virtual machine had when it was powered on.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
VMware, Inc. 83
vSphere Virtual Machine Administration Guide
A virtual machine has three user-defined settings that affect its memory resource allocation.
Limit Places a limit on the consumption of memory for a virtual machine. This value
is expressed in megabytes.
Reservation Specifies the guaranteed minimum allocation for a virtual machine. The
reservation is expressed in megabytes.
Shares Each virtual machine is granted a number of memory shares. The more shares
a virtual machine has, the more often it gets a time slice of a memory when
there is no memory idle time. Shares represent a relative metric for allocating
memory capacity. For more information about share values, see the Resource
Management Guide.
Assigning a virtual machine a reservation larger than its configured memory is wasteful. The vSphere Client
does not allow you to make such an assignment on the Resources tab. If you give a virtual machine a large
reservation and then reduce its configured memory size on the Hardware tab, the reservation is reduced to
match the new configured memory size. You must power off the virtual machine before configuring memory
resources.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Option Description
Shares The values Low, Normal, High, and Custom are compared to the sum of all
shares of all virtual machines on the server and, on ESX/ESXi hosts, the
service console. You can use share allocation symbolic values to configure
their conversion into numeric values.
Reservation Guaranteed memory allocation for this virtual machine.
Limit Upper limit for this virtual machine’s memory allocation.
Unlimited No upper limit is specified.
Prerequisites
n The virtual machine has a guest operating system that supports Memory hot add functionality.
n The virtual machine is using hardware version 7 or later.
n Memory hot add is enabled on the Options tab of the Virtual Machine Properties dialog box.
n VMware Tools is installed.
84 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Options tab and under Advanced, select Memory/CPU Hotplug.
For information about NUMA and advanced memory resources, including usage examples, see the Resource
Management Guide.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 In the NUMA Memory Affinity panel, set the NUMA node affinity for the virtual machine.
n No affinity
n Use memory from nodes
For more information about host swap file settings, see the vSphere Datacenter Administration Guide. For more
information about cluster settings, see the Resource Management Guide.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Option tab and under Advanced, select Swapfile Location.
VMware, Inc. 85
vSphere Virtual Machine Administration Guide
3 Select an option.
Option Description
Default Stores the virtual machine swap file at the default location defined by the
host or cluster swap file settings.
Always store with the virtual Stores the virtual machine swap file in the same folder as the virtual machine
machine configuration file.
Store in the host's swapfile datastore Stores the virtual machine swap file in the swap file datastore defined by the
host or cluster swap file settings.
You can store virtual machine data in a new virtual disk, an existing virtual disk, or a mapped SAN LUN. A
virtual disk, which appears as a single hard disk to the guest operating system, is composed of one or more
files on the host file system. You can easily copy or move virtual disks on the same hosts or between hosts.
For virtual machines running on an ESX/ESXi host, you can store the virtual machine data directly on a SAN
LUN instead of storing it in a virtual disk file. This is useful if you are running applications in your virtual
machines that must know the physical characteristics of the storage device. Additionally, mapping a SAN LUN
allows you to use existing SAN commands to manage storage for the disk.
When you map a LUN to a VMFS volume, vCenter Server creates a raw device mapping (RDM) file that points
to the raw LUN. Encapsulating disk information in a file allows vCenter Server to lock the LUN so that only
one virtual machine can write to it. This file has a .vmdk extension, but the file contains only disk information
that describes the mapping to the LUN on the ESX/ESXi system. The actual data is stored on the LUN. You
cannot deploy a virtual machine from a template and store its data on a LUN. You can store only its data in a
virtual disk file.
NOTE The Manage Paths feature for RDM disks is not available for virtual machines on legacy hosts running
versions of ESX Server earlier than 3.0.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab and select the hard disk to modify.
The name of the disk file and the disk type (thick or thin) appear in the upper-right pane.
4 To change the size of the disk, enter a new value in the Provisioned Size text box.
86 VMware, Inc.
Chapter 7 Configuring Virtual Machines
5 (Optional) Select the virtual disk Independent mode and select an option.
Option Description
Persistent The disk operates normally except that changes to the disk are permanent
even if the virtual machine is reverted to a snapshot.
Nonpersistent The disk appears to operate normally, but whenever the virtual machine is
powered off or reverted to a snapshot, the contents of the disk return to their
original state. All later changes are discarded.
NOTE You cannot use migration with vMotion to migrate virtual machines that use raw disks for clustering
purposes.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Option Action
Create a new virtual disk a Enter the disk capacity.
b Select a thin disk format or a thick disk format to allow the disks to
support clustering features.
c Select a location to store the disk. Store with the virtual machine or
Specify a datastore.
d If you selected Specify a datastore, browse for the datastore location,
and click Next.
Use an Existing Virtual Disk Browse for the disk file path and click Next.
Raw Device Mappings Gives your virtual machine direct access to SAN.
a Select the LUN that you want to use for the raw disk, and click Next.
b Select to store the LUN mapping files on the same datastore as the virtual
machine files, or select a different a datastore, and click Next.
c Select the compatibility mode.
n Physical allows the guest operating system to access the hardware
directly.
n Virtual allows the virtual machine to use VMware snapshots and
other advanced functions.
d Click Next.
VMware, Inc. 87
vSphere Virtual Machine Administration Guide
6 (Optional) Select the virtual disk Independent mode and select an option.
Option Description
Persistent The disk operates normally except that changes to the disk are permanent
even if the virtual machine is reverted to a snapshot.
Nonpersistent The disk appears to operate normally, but whenever the virtual machine is
powered off or reverted to a snapshot, the contents of the disk return to their
original state. All later changes are discarded.
7 Click Next.
You can allocate the host disk's I/O bandwidth to the virtual hard disks of a virtual machine. Disk I/O is a host-
centric resource so you cannot pool it across a cluster.
Shares is a value that represents the relative metric for controlling disk bandwidth to all virtual machines. The
values are compared to the sum of all shares of all virtual machines on the server and, on an ESX host, the
service console.
Disk shares are relevant only within a given ESX/ESXi host. The shares assigned to virtual machines on one
host have no effect on virtual machines on other hosts.
You can select an IOP limit, which sets an upper bound for storage resources that are allocated to a virtual
machine. IOPs are the number of I/O operations per second.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 In the Resource Allocation panel, select the virtual hard disk to change.
4 Click the Shares column and change the value to allocate a number of shares of its disk bandwidth to the
virtual machine.
n Low (500)
n Normal (1000)
n High (2000)
n Custom
When you select a shares symbolic value, the numeric value appears in the Shares Value column. You
can select Custom to enter a user-defined shares value.
5 Click the Limit - IOPS column and enter the upper limit of storage resources to allocate to the virtual
machine.
88 VMware, Inc.
Chapter 7 Configuring Virtual Machines
You can change the SCSI controller configuration for a virtual machine on an ESX/ESXi host only.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab and select a SCSI Controller in the hardware list.
Option Description
None Virtual disks cannot be shared by other virtual machines.
Virtual Virtual disks can be shared by virtual machines on the same server.
Physical Virtual disks can be shared by virtual machines on any server.
The choice of SCSI controller does not affect whether your virtual disk is an IDE or SCSI disk. The IDE adapter
is always ATAPI. The default for your guest operating system is already selected. Older guest operating
systems default to the BusLogic adapter.
If you create an LSI Logic virtual machine and add a virtual disk that uses BusLogic adapters, the virtual
machine boots from the BusLogic adapters disk. LSI Logic SAS is available only for virtual machines with
hardware version 7. Disks with snapshots might not experience performance gains when used on LSI Logic
SAS, VMware Paravirtual, and LSI Logic Parallel adapters.
You can change the SCSI controller configuration for a virtual machine on an ESX/ESXi host only.
CAUTION Changing the SCSI controller type might result in a virtual machine boot failure.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab, select a SCSI controller, and click Change Type.
VMware, Inc. 89
vSphere Virtual Machine Administration Guide
PVSCSI adapters are available for virtual machines running hardware version 7 and later. They are supported
on the following guest operating systems:
n Windows Server 2008 R2 (64bit)
n Windows Server 2008 (32bit and 64bit)
n Windows Server 2003 (32bit and 64bit)
n Windows XP (32bit and 64bit)
n Windows Vista (32bit and 64bit)
n Windows 7 (32bit and 64bit)
n Red Hat Linux 5 (32bit and 64bit)
b Run the VMware Tools configuration with the kernel-version parameter and pass the kernel version
within the guest:
vmware-config-tools.pk --kernel-version kernel_version
90 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Enabling paravirtualization uses one of the virtual machine’s six virtual PCI slots. Enabling paravirtualization
can limit how and where the virtual machine can be migrated. Consider the following before enabling this
feature:
n These hosts support VMI paravirtualization: ESX/ESXi 3.5 and greater, and Workstation 6.0 and greater.
Hardware version 4 virtual machines with paravirtualization enabled that are created on ESX hosts can
be migrated to Workstation hosts without loss of functionality.
n A virtual machine with paravirtualization enabled and that is powered off can be moved manually to a
host that does not support paravirtualization. However, this can result in reduced performance.
n A virtual machine with paravirtualization enabled and that is powered on or in a suspended power state
can not be migrated to a host that does not support paravirtualization.
n Automated vCenter Server DRS migrations of virtual machines with paravirtualization enabled to hosts
that do not support paravirtualization are not allowed.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
PVSCSI adapters are best suited for environments, especially SAN environments, running I/O-intensive
applications.
Windows 2003 and 2008 guest operating systems support boot disk devices attached to a PVSCSI adapter.
PVSCSI adapters do not support bootable disks on Red Hat Linux 5 virtual machines. You must configure such
virtual machines with a primary SCSI adapter other than PVSCSI to support a disk where the system software
is installed.
Prerequisites
An existing virtual machine with a guest operating system and VMware Tools installed.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
VMware, Inc. 91
vSphere Virtual Machine Administration Guide
For device node SCSI (0:2), 0 is the controller number and 2 is the number of the device that is attached to
the controller. If you select a node on which devices already exist (for example, SCSI 0:3) you will add a
SCSI device to the existing adapter. To add a new adapter, you must select an unused device node (for
example 1:0).
New SCSI Controller (adding) and New SCSI Device (adding) appear in the Hardware list.
The type of network adapters that are available depend on the following factors:
n The virtual machine version, which depends on what host created it or most recently updated it.
n Whether the virtual machine has been updated to the latest version for the current host.
n The guest operating system.
92 VMware, Inc.
Chapter 7 Configuring Virtual Machines
E1000 Emulated version of the Intel 82545EM Gigabit Ethernet NIC, with drivers
available in most newer guest operating systems, including Windows XP and
later and Linux versions 2.4.19 and later.
Flexible Identifies itself as a Vlance adapter when a virtual machine boots, but initializes
itself and functions as either a Vlance or a VMXNET adapter, depending on
which driver initializes it. With VMware Tools installed, the VMXNET driver
changes the Vlance adapter to the higher performance VMXNET adapter.
Vlance Emulated version of the AMD 79C970 PCnet32 LANCE NIC, an older 10 Mbps
NIC with drivers available in most 32bit guest operating systems except
Windows Vista and later. A virtual machine configured with this network
adapter can use its network immediately.
VMXNET 2 (Enhanced) Based on the VMXNET adapter but provides high-performance features
commonly used on modern networks, such as jumbo frames and hardware
offloads. VMXNET 2 (Enhanced) is available only for some guest operating
systems on ESX/ESXi 3.5 and later.
For network adapter compatibility considerations, see the VMware Compatibility Guide.
If you do not upgrade a virtual machine to correspond with an upgrade to a newer version of an ESX/ESXi
host, your adapter settings remain unchanged. If you upgrade your virtual machine to take advantage of newer
virtual hardware, your default adapter settings will likely change to be compatible with the guest operating
system and upgraded host hardware.
To verify the network adapters that are available to your supported guest operating system for a particular
version of vSphere ESX/ESXi, see the VMware Compatibility Guide.
Manually assigned MAC addresses for virtual machines on ESX/ESXi hosts must begin with the OUI 00:50:56.
The address must have the form 00:50:56:XX:YY:ZZ, where XX is a hexadecimal number between 00 and 3F,
and YY and ZZ are hexadecimal numbers between 00 and FF.
VMware, Inc. 93
vSphere Virtual Machine Administration Guide
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab and select the appropriate NIC in the Hardware list.
3 To connect the virtual NIC when the virtual machine is powered on, select Connect at power on.
5 Under Network connection, use the drop-down menu to select the network label you want the virtual
machine to use.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
5 In the Network connection panel, select either a named network with a specified label or a legacy network.
6 To connect the virtual NIC when the virtual machine is powered on, select Connect at power on.
7 Click Next.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab, and select a Serial port in the Hardware list.
94 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Option Description
Connected To connect or disconnect the device while the virtual machine is running.
Connect at power on To connect the device whenever you power on the virtual machine. You can
change this setting when the virtual machine is either powered on or
powered off.
Option Action
Use physical serial port Select Use physical serial port for the virtual machine to use a physical serial
port on the host computer.
Use output file Select Use output file to send output from the virtual serial port to a file on
the host computer. Use the drop-down menu to select a serial port to use.
Use named pipe a Select Use named pipe to set up a direct connection between two virtual
machines or a connection between a virtual machine and an application
on the host computer.
b Use the default pipe name or enter another pipe name in the Pipe Name
list.
For a serial pipe for a virtual machine on an ESX/ESXi host, type /tmp/
socket or another UNIX socket name.
c Select the Near end and Far end of the pipe from the drop-down menus.
Connect over the network a Select Use network to connect through a remote network.
b Enter a Port URI or select Use Virtual Serial Port Concentrator (vSPC)
and enter the vSPC URI location.
This option forces the affected virtual machine to use interrupt mode, which yields CPU time if the
only task it is trying to do is poll the virtual serial port.
n Deselect Yield CPU on Poll to configure this serial port to use interrupt mode as opposed to polled
mode and click Next.
Polled mode is of interest primarily to developers who are using debugging tools that communicate
over a serial connection. Polled mode causes the virtual machine to consume a disproportionate share
of CPU time. This makes the host and other guests run sluggishly.
VMware, Inc. 95
vSphere Virtual Machine Administration Guide
Use physical serial port Uses an external modem or a hand-held device in your virtual machine.
on the host
Output to file Captures the data that a program running in the virtual machine sends to the
virtual serial port.
Connect to a named pipe Enables two virtual machines or a virtual machine and a process on the host to
communicate as if they were physical machines connected by a serial cable. For
example, this can be used for remote debugging on a virtual machine.
Connect via a remote Enables a serial connection to and from a virtual machine's serial port over the
network network.
Virtual Serial Port Concentrator (vSPC) aggregates traffic from multiple serial
ports onto one management console. It behaves similarly as physical serial port
concentrators. Using a vSPC also allows network connections to a virtual
machine's serial ports to migrate seamlessly when the virtual machine is
migrated using vMotion.
Prerequisites
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
4 On the Serial Port Type page, select the type of media for the port to access.
Option Action
Use physical serial port on the host Click Next and select the port on the host computer that you want to use for
this serial connection from the drop-down menu.
Output to file Click Next and browse to the location of the file on the host to store the output
of the virtual serial port.
Connect to named pipe a Click Next and in the Pipe Name and Attributes panel, use the default
pipe name or enter another pipe name.
b Select the Near end and Far end of the pipe from the drop-down menus.
Connect over the Network a Click Next and select Server or Client.
b Enter a Port URI or select Use Virtual Serial Port Concentrator (vSPC)
and enter the vSPC URI location.
96 VMware, Inc.
Chapter 7 Configuring Virtual Machines
Option Description
Connected Connects or disconnects the device while the virtual machine is running.
Connect at power on Connects the device whenever you power on the virtual machine. You can
change this setting when the virtual machine is either powered on or
powered off.
This option forces the affected virtual machine to use interrupt mode, which yields CPU time if the
only task it is trying to do is poll the virtual serial port.
n Deselect Yield CPU on Poll to configure this serial port to use interrupt mode as opposed to polled
mode and click Next.
Polled mode is of interest primarily to developers who are using debugging tools that communicate
over a serial connection. Polled mode causes the virtual machine to consume a disproportionate share
of CPU time. This makes the host and other guests run sluggishly.
7 Review the information on the Ready to Complete page, and click Finish.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab and select the appropriate Parallel port in the Hardware list.
3 (Optional) Deselect Connect at power on if you do not want the parallel port device to be connected when
the virtual machine powers on.
4 Select the type of media you would like the parallel port to access.
n If you select Use physical parallel port on the host, select the port from the drop-down menu.
n If you select Output to file, browse to the location of the file.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
VMware, Inc. 97
vSphere Virtual Machine Administration Guide
4 Select the type of media that you would like the parallel port to access.
Option Action
Use Physical parallel port on the host a Click Next.
b Select the port from the drop-down menu.
Output to file a Click Next.
b Browse to the location of the file.
5 (Optional) In the Device status panel, deselect Connect at power on if you do not want the parallel port
device to be connected when the virtual machine powers on.
6 Click Next.
7 Review the information on the Ready to Complete page, and click Finish.
Each virtual port is identified by a pair of world wide names (WWNs): a world wide port name (WWPN) and
a world wide node name (WWNN). These WWNs are assigned by vCenter Server.
For detailed information on how to configure NPIV for a virtual machine, see the Fibre Channel SAN
Configuration Guide.
You can view or edit the virtual machines WWNs on the Options tab.
Prerequisites
n To edit the virtual machine’s WWNs, power off the virtual machine.
n Verify that the virtual machine has a datastore containing a LUN that is available to the host.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Options tab and under Advanced select Fibre Channel NPIV.
3 (Optional) Select the Temporarily Disable NPIV for this virtual machine check box.
98 VMware, Inc.
Chapter 7 Configuring Virtual Machines
The administrator needs the assignments to configure virtual machine access to the LUN.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 Select or deselect the Connected check box to connect or disconnect the device.
4 If you do not want the CD-ROM drive connected when the virtual machine starts, deselect Connect at
power on.
The host CD-ROM device is accessed through emulation mode. Passthrough mode is not functional for
local host CD-ROM access. You can write or burn a remote CD only through pass-through mode access,
but in emulation mode you can only read a CD-ROM from a host CD-ROM device.
7 In the drop-down menu under Virtual Device Node, select the node the drive uses in the virtual machine.
What to do next
To connect this device, you must power on the virtual machine, then click the Connect CD/DVD button in the
toolbar.
VMware, Inc. 99
vSphere Virtual Machine Administration Guide
When you add a CD/DVD-ROM drive that is backed by USB CD/DVD drive on the host, you must add the
drive as a SCSI device. Hot adding and removing SCSI devices is not supported.
You cannot use vMotion to migrate virtual machines that have CD drives that are backed by the physical CD
drive on the host. You must disconnect these devices before you migrate the virtual machine.
Prerequisites
Verify that the host is powered off before you add USB CD/DVD-ROM devices.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 Select or deselect the Connected check box to connect or disconnect the device.
4 If you do not want the CD-ROM drive connected when the virtual machine starts, deselect Connect at
power on.
5 Select Host Device under Device Typeand select a device from the drop-down menu.
6 In the drop-down menu under Virtual Device Node, select the node the drive uses in the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 Select or deselect the Connected check box to connect or disconnect the device.
4 If you do not want the CD-ROM drive connected when the virtual machine starts, deselect Connect at
power on.
5 Select Datastore ISO File under Device Type and click Browse to navigate to the file.
6 In the drop-down menu under Virtual Device Node, select the node the drive uses in the virtual machine.
If you are adding a CD/DVD-ROM drive that is backed by USB CD/DVD drive on the host, you must add the
drive as a SCSI device. Hot adding and removing SCSI devices is not supported.
You cannot use vMotion to migrate virtual machines that have CD drives that are backed by the physical CD
drive on the host. You must disconnect these devices before you migrate the virtual machine.
Prerequisites
Verify that the host is powered off before you add USB CD/DVD-ROM devices.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Option Description
Use physical drive a Select Client or Host as the location.
b Select the drive you want to use from the drop-down menu.
c Select a Pass through (recommended) or ATAPI emulation connection
type.
Use ISO Image Enter the path and filename for the image file, or click Browse to navigate to
the file.
5 If you do not want the CD-ROM drive connected when the virtual machine starts, deselect Connect at
power on.
6 Click Next.
7 Select the virtual device node the drive uses in the virtual machine and click Next.
8 Review the information on the Ready to Complete window, and click Finish or click Back to change the
settings.
You cannot use vMotion to migrate virtual machines that have floppy drives that are backed by the physical
floppy drive on the host. You must disconnect these devices before you migrate the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 Under Device Status, select Connect at power on to connect this virtual machine to the floppy drive when
the virtual machine is powered on.
Option Description
Client Device Select this option to connect the floppy device to a physical floppy device on
the system running the vSphere Client.
To connect the device, you must click the Connect Floppy button in the
toolbar when you power on the virtual machine.
Host Device a Select this option to connect the floppy device to a physical floppy device
on the host.
b Select the specific device from the drop-down list.
Option Description
Use existing floppy image in a Select this option to connect the virtual device to an existing floppy image
datastore on a datastore accessible to the host.
b Click Browse and select the floppy image.
Create new floppy image in datastore a Select this option to create a new floppy image on a datastore accessible
to the host.
b Click Browse and browse to the location for the floppy image.
c Enter a name for the floppy image and click OK.
You cannot use vMotion to migrate virtual machines that have floppy drives that are backed by the physical
floppy drive on the host. You must disconnect these devices before you migrate the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
5 Click Next.
7 To have the floppy drive connected to the virtual machine when you power it on, select Connect at power
on.
8 Click Next.
9 Review the information on the Ready to Complete page, and click Finish.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
5 To connect this virtual machine to the server’s SCSI device when the virtual machine is powered on, select
Connect at power on.
6 Under Virtual device node, select the virtual device node where you want this device to appear in the
virtual machine.
You can also select the check box to indicate that the virtual device is set up in the same way as the physical
unit.
7 Review the information in the Ready to Complete page, and click Finish.
8 Click OK to save your changes and close the dialog box.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab and select a SCSI device in the Hardware list.
Under Virtual device node, select the virtual device node where you want this device to appear in the
virtual machine.
PCI devices connected to a host can be marked as available for passthrough from the Hardware Advanced
Settings in the Configuration tab for the host.
Prerequisites
®
n To use VMDirectPath, verify that the host has Intel Virtualization Technology for Directed I/O (VT-d) or
AMD I/O Virtualization Technology (IOMMU) enabled in the BIOS.
n Verify that the PCI devices are connected to the host and marked as available for passthrough.
n Verify that the virtual machine is using hardware version 7.
Procedure
1 Select the virtual machine from the inventory panel and click Virtual Machine > Edit Settings.
3 In the Add Hardware wizard, select PCI Device and click Next.
4 Select the passthrough device to connect to the virtual machine from the drop-down list and click Next.
5 Click Finish.
Prerequisites
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
Virtual machine communication is no longer restricted to the host it runs on. Other virtual machines that run
on the same host can now communicate with the unrestricted virtual machine.
Procedure
1 In the vSphere Client inventory, right-click a virtual machine and select Edit Settings.
Option Description
Auto-detect video settings Applies common video settings to the guest operating system.
Reserve memory n Display Resolution
n Color Depth
Enter Total video RAM The default setting for total video RAM is 4MB, which is sufficient for a
maximum screen resolution of 1176x885. For higher screen resolutions, set
this option to 16MB.
A USB device is available to only one virtual machine at a time. When a device is connected to a powered-on
virtual machine, it is not available to connect to other virtual machines that run on the host. When you remove
the active connection of a USB device from a virtual machine, it becomes available to connect to other virtual
machines that run on the host. host.
Connecting a USB passthrough device to a virtual machine that runs on the ESX/ESXi host to which the device
is physically attached requires an arbitrator, a controller, and a physical USB device or device hub.
USB Arbitrator Manages connection requests and routes USB device traffic. The arbitrator is
installed and enabled by default on ESX/ESXi hosts. It scans the host for USB
devices and manages device connection among virtual machines that runs on
the host. It routes device traffic to the correct virtual machine instance for
delivery to the guest operating system. The arbitrator monitors the USB device
and prevents other virtual machines from using it until you release it from the
virtual machine it is connected to.
USB Controller The USB hardware chip that provides USB function to the USB ports that it
manages. The virtual USB Controller is the software virtualization of the USB
host controller function in the virtual machine.
USB controller hardware and modules that support USB 2.0 and USB 1.1
devices must exist on the host. Only one virtual USB controller is available to
each virtual machine. The controller supports multiple USB 2.0 and USB 1.1
USB devices in the virtual computer. The controller must be present before you
can add USB devices to the virtual machine.
USB Devices You can add up to 20 USB devices to a virtual machine. This is the maximum
number of devices supported for simultaneous connection to one virtual
machine. The maximum number of USB devices supported on a single ESX/
ESXi host for simultaneous connection to one or more virtual machines is also
20. VMware provides support for multiple USB devices.
For a list of supported USB devices for passthrough from an ESX/ESXi host to
a virtual machine, see the VMware knowledge base article at
http://kb.vmware.com/kb/1021345.
With autoconnect enabled, the device connection automatically re-establishes in the following cases:
n The virtual machine is cycling through power operations, such as Power Off/Power On, Reset, Pause/
Resume.
n The device is unplugged from the host then plugged back in to the same USB port.
n The device is power cycled but has not changed its physical connection path.
n The device is mutating identity during a different stage of usage.
The USB passthrough autoconnect feature identifies the device by using the USB path of the device on the host.
That is, it uses the physical topology and port location, rather than the device identity. This feature can seem
confusing if you expect the autoconnect feature to match the connection target by device ID.
If the same device is plugged back in to the host through a different USB path (that is, a different port), it will
not be able to automatically re-establish connection with the virtual machine. If you unplug the device from
the host and plug in a different device to the same USB path, the new device appears and is connected to the
virtual machine by the autoconnect feature enabled by the previous device connection.
Autoconnect is useful in cases where devices mutate during usage. For example, for iPhones and other such
devices, the device VID:PID changes during software or firmware upgrades. The upgrade process disconnects
and reconnects the devices to the USB port.
The USB port is speed-specific. The autoconnect feature assumes that devices do not transition from USB 1.1
(low/full speed) to USB 2.0 (high speed) or the reverse. You cannot interchange USB 2.0 high speed devices
with USB 1.1 devices. For example, you might connect a USB 2.0 high-speed device to a port and connect that
device to the virtual machine. If you unplug the device from the host and plug a USB 1.1 device into the same
port, the device does not connect to the virtual machine.
For a list of supported USB devices for passthrough from an ESX/ESXi host to a virtual machine, see the VMware
knowledge base article at http://kb.vmware.com/kb/1021345.
The features listed in Table 7-6 are available with USB device passthrough.
Table 7-6. VMware Features Available for USB Passthrough from an ESX/ESXi Host to a Virtual Machine
Feature Supported with USB Device Passthrough
DRS Yes
Fault Tolerance No
vMotion Yes
If all USB devices connected to a virtual machine have vMotion support enabled, you can migrate that virtual
machine with the connected USB devices. For details, see “Configuring USB Passthrough Devices for vMotion,”
on page 109.
If a host with connected USB devices resides in a DRS cluster with distributed power management (DPM)
enabled, you must disable DPM for that host. Otherwise DPM might turn off the host with the device, which
would disconnect the device from the virtual machine that is using it.
Virtual Machine Functions that Can Result in Data Loss with USB Devices
Virtual machine functions can affect USB device behavior. Before you start the following tasks, be aware of
how the operation affects USB device connections.
n Before you hot add memory, CPU, or PCI devices, you must remove any USB devices. Hot adding these
resources disconnects USB devices, which might result in data loss.
n Before you suspend a virtual machine, make sure that a data transfer is not in progress. During the
suspend/resume process, USB devices behave as if they have been disconnected, then reconnected. For
information about suspend and resume behavior after migration with vMotion, see “Configuring USB
Passthrough Devices for vMotion,” on page 109.
n Before you change the state of the arbitrator, make sure that USB devices residing on the host are not
attached to a virtual machine. If USB devices become unavailable to a virtual machine, it is possible that
a host administrator has disabled the arbitrator. When an administrator stops or disconnects the arbitrator
for troubleshooting or other purposes, USB devices attached to that host become unavailable to the virtual
machine. If a data transfer is taking place at this time, you might lose the data. To reestablish the arbitrator,
the administrator must reboot the host.
USB physical bus topology defines how USB devices connect to the host. Support for USB device passthrough
to a virtual machine is available if the physical bus topology of the device on the host does not exceed tier
seven. The first tier is the USB host controller and root hub. The last tier is the target USB device. You can
cascade up to five tiers of external (or internal) hubs between the root hub and the target USB device. An
internal USB hub attached to the root hub or built into a compound device counts as one tier.
The quality of the physical cables, hubs, devices, and power conditions can affect USB device performance. To
ensure the best results, keep the host USB bus topology as simple as possible for the target USB device, and
use caution when you deploy new hubs and cables into the topology. The following conditions can affect USB
behavior:
n Communication delay between the host and virtual machine increases as the number of cascading hubs
increases.
n Connecting or chaining multiple external USB hubs increases device enumeration and response time,
which can introduce uncertainly to the power support to the connected USB devices.
n Chaining hubs together also increases the chance of port and hub error, which can cause the device to lose
connection to a virtual machine.
n Certain hubs can cause USB device connections to be unreliable, so use care when you add a new hub to
an existing setup. Connecting certain USB devices directly to the host rather than to a hub or extension
cable might resolve their connection or performance issues.
NOTE To prevent additional problems, be aware of the physical constraints of long-term deployment in a
machine room environment. Small devices are easily damaged by being stepped on or knocked loose.
In some cases, you must hard reset the device and hub to restore the device to a working state.
For a list of supported USB devices for passthrough from an ESX/ESXi host to a virtual machine, see the VMware
knowledge base article at http://kb.vmware.com/kb/1021345.
For example, the Aladdin HASP HL Drive USB dongle package contains three devices (0529:0001 HASP dongle,
13fe:1a00 Hub, 13fe:1d00 Kingston Drive). The Virtualization process filters out the USB hub. The remaining
Aladdin HASP HL Drive USB dongle devices (one Aladdin HASP dongle and one Kingston Drive) appear to
the virtual machine as individual devices. You must add each device separately to make it accessible to the
virtual machine.
Each ESX/ESXi host has several USB ports. The number of ports on each host depends on the physical setup
of the host. When you calculate the depth of hub chaining, remember that on a typical server the front ports
connect to an internal hub.
The USB arbitrator can monitor a maximum of 15 USB controllers. If your system includes controllers that
exceed the 15 controller limit and you connect USB devices to them, the devices are not available to the virtual
machine.
The host treats USB CD/DVD-ROM devices as SCSI devices. Hot adding and removing these devices is not
supported.
Prerequisites
n If a host has attached USB devices and resides in a DRS cluster with DPM enabled, disable DPM for that
host. See the Resource Management Guide for instructions about overriding the default DPM setting for an
individual host.
n Make sure that you know the virtual machine requirements for USB devices. See “Setting Up Physical
USB Connections on an ESX/ESXi Host,” on page 107.
n Verify that the host is powered off before you add USB CD/DVD-ROM devices.
Procedure
u To add a USB device to an ESX/ESXi host, connect the device to an available port or hub.
Allow several minutes for vCenter Server to capture the state of the USB device. vCenter Server polling
delays can cause a lag between the time the physical USB device is attached to the host and when it appears
in the virtual machine Add Hardware wizard.
The USB device appears in the virtual machine Add Hardware wizard device list.
What to do next
The USB arbitrator can monitor a maximum of 15 USB controllers. If your system includes controllers that
exceed the 15 controller limit and you connect USB devices to them, the devices are not available to the virtual
machine.
Prerequisites
n The controller must be present. Add a USB controller, if needed.
n ESX/ESXi hosts must have USB controller hardware and modules that support USB 2.0 and USB 1.1 devices
present.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
5 Click Finish.
When you reopen the Properties Editor, the controller appears on the Hardware tab.
What to do next
If a virtual machine has USB devices attached that pass through to an ESX/ESXi host, you can migrate that
virtual machine with the devices attached.
n If you resume a suspended virtual machine that has a Linux guest operating system, the resume process
might mount the USB devices at a different location on the file system.
n If a host with attached USB devices resides in a DRS cluster with distributed power management (DPM)
enabled, disable DPM for that host. Otherwise DPM might turn off the host with the attached device,
which would disconnect the device from the virtual machine.
For additional vMotion configuration parameters and limitations for virtual machine migration, see the
Datacenter Administration Guide.
Prerequisites
n Verify that the virtual machine is using hardware version 7 or later.
n If a USB device is connected to another virtual machine, you cannot add it until that machine releases it.
n The USB controller must be present. Add a USB controller, if needed. See “Add a USB Controller to a
Virtual Machine,” on page 109.
n Make sure that you know the virtual machine requirements for USB devices. See “USB Device Passthrough
Configuration from an ESX/ESXi Host to a Virtual Machine,” on page 104.
To use vMotion to migrate a virtual machine with multiple USB devices, you must enable all attached USB
devices for vMotion. You cannot migrate individual USB devices. For vMotion limitations, see “Configuring
USB Passthrough Devices for vMotion,” on page 109.
If you do not plan to migrate a virtual machine with USB devices attached, deselect the Support vMotion
option when you add the USB device. This reduces migration complexity, which results in better performance
and stability.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
You can add multiple USB devices, but only one device at a time.
6 Click Finish.
When you reopen the Properties editor, the USB device appears on the Properties Editor Hardware tab. The
device type and ID appear in the right pane.
To minimize the risk of data loss, follow the instructions to safely unmount or eject hardware for your operating
system. Safely removing hardware allows accumulated data to be transmitted to a file. Windows operating
systems typically include a "Remove Hardware" icon located in the System Tray. Linux operating systems use
the umount command.
NOTE It might be necessary to use the sync command instead of or in addition to the umount command, for
example after you issue a dd command on Linux or other UNIX operating systems.
Procedure
1 Unmount or eject the USB device from the guest operating system.
2 Right-click the virtual machine and select Edit Settings.
4 Click Remove and click OK to save your changes and close the dialog box.
Prerequisites
Verify that all USB devices are removed from the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 Click Remove.
The controller is no longer connected to the virtual machine, but remains available to add at a later time.
Use caution when you remove USB devices from a host, for example, when you plan to do maintenance on
the host. The device might still be connected to a virtual machine that migrated to another host. If data transfer
is taking place, you can lose data. Also use caution when you stop or disconnect the USB arbitrator. When you
disable the arbitrator, devices connected to the virtual machine become unavailable.
Prerequisites
Procedure
u Follow the device manufacturers instructions to safely remove the device.
When you remove the device from the host, it is no longer available to the virtual machines that run on
the host.
Error Message When You Try to Migrate Virtual Machine with USB Devices Attached
Migration with vMotion cannot proceed and issues a confusing error message when multiple USB passthrough
devices are connected to the virtual machine and one or more devices are not enabled for vMotion.
Problem
The Migrate Virtual Machine wizard runs a compatibility check before a migration operation begins. If
unsupported USB devices are detected, the compatibility check fails and an error message similar to the
following appears: Currently connected device 'USB 1' uses backing 'path:1/7/1', which is not
accessible.
Cause
You must select all USB devices on a virtual machine for migration for vMotion to be successful. If one or more
devices are not enabled for vMotion, migration will fail.
Solution
1 Make sure that the devices are not in the process of transferring data before removing them.
Problem
Cause
A data transfer was interrupted or nonsupported devices are being used. For example, if a guest driver sends a
SCSI REPORT LUNS command to some unsupported USB flash drives, the device stops responding to all
commands.
Solution
1 Physically detach the USB device from the ESX/ESXi host and reattach it.
2 Fully shut down the host (not reset) and leave it powered off for at least 30 seconds to ensure that the host
USB bus power is fully powered down.
Power Management options are not available on every guest operating system. Wake on LAN supports only
Windows guest operating systems and is not available on Vlance NICs, or when a Flexible NIC is operating
in Vlance mode (that is, the current VMware Tools are not installed on the guest operating system).
Wake on LAN can resume virtual machines that are in an S1 sleep state only. It cannot resume suspended,
hibernated, or powered off virtual machines.
Prerequisites
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
4 (Optional) Select Wake on LAN for virtual machine traffic on and select the virtual NICs to trigger this
action.
You can modify many virtual machine configurations while the virtual machine is running, but you might
need to change the virtual machine power state for some configurations.
Table 7-7 lists available power buttons and describes their behavior.
Shuts down the guest operating system or powers off the virtual machine. A
power off operation displays a confirmation dialog box indicating that the guest
operating system might not shut down properly. Use this power off option only
when necessary.
Suspends the virtual machine without running a script when VMware Tools is
not installed. When VMware Tools is installed and available, a suspend action
runs a script, and suspends the virtual machine.
Resets the virtual machine when VMware Tools is not installed. Restarts the guest
operating system when VMware Tools is installed and available. A reset
operation displays a confirmation dialog box indicating that the guest operating
system is not shut down properly.
Prerequisites
n Verify that the vSphere Client is logged in to a vCenter Server.
n Verify that you have access to at least one virtual machine in the inventory.
n Verify that you have privileges to perform the intended power operation on the virtual machine.
n To set optional power functions, you must install VMWare Tools in the virtual machine.
n Power off the virtual machine before editing the VMware Tools options.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
3 In the right panel, select the Power Controls for the virtual machine.
Option Description
Shut Down Guest Uses VMware Tools to initiate an orderly system shut down of the virtual
machine. This type of powering off is known as a "soft" power operation. Soft
power operations are possible only if the tools are installed in the guest
operating system.
Power Off Immediately stops the virtual machine. This type of powering off is known
as a "hard" power operation.
System Default Follows system settings. The current value of the system settings is shown
in parentheses.
Option Description
Suspend Pauses all virtual machine activity.
System Default Follows system settings. The current value of the system setting is shown in
parentheses.
Option Description
Restart Guest Uses VMware Tools to initiate an orderly reboot. (This type of reset is known
as a "soft" power operation. Soft power operations are possible only if the
tools are installed in the guest operating system.)
Reset Shuts down and restarts the guest operating system without powering off
the virtual machine. (This type of reset is known as a "hard" power
operation.)
System Default Follows system settings; the current value of the system setting is shown in
parentheses.
What to do next
Delaying the boot operation is useful for changing BIOS settings such as the boot order. For example, you can
change the BIOS settings to force a virtual machine to boot from a CD-ROM.
Prerequisites
n vSphere Client logged in to a vCenter Server
n Access to at least one virtual machine in the inventory
n Privileges to edit boot options for the virtual machine
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Select the Options tab and under Advanced select Boot Options.
3 In the Power on Boot Delay panel, select the time in milliseconds to delay the boot operation.
4 (Optional) Select whether to force entry into the BIOS setup screen the next time the virtual machine boots.
Enable Logging
You can enable logging to collect log files to help troubleshoot issues with your virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
4 Click OK.
Disable Acceleration
You can temporarily disable acceleration to allow a virtual machine to successfully run or install software.
In rare instances, you might find that when you install or run software in a virtual machine, the virtual machine
appears to stop responding. Generally, the problem occurs early in the program’s execution. Often, you can
get past the problem by temporarily disabling acceleration in the virtual machine.
This setting slows down virtual machine performance, so only use it for getting past the problem with running
the program. After the program stops encountering problems, deselect Disable acceleration. Then you might
be able to run the program with acceleration.
You can enable and disable acceleration when the virtual machine is running.
Procedure
Procedure
2 To enable debugging mode, select an option from the Debugging and Statistics section.
Option Description
Run normally Collects debugging information.
Record debugging information Collects debugging and performance information. Use this option to aid
troubleshooting when the guest operating system crashes or is not behaving
properly.
When you install VMware Tools, you install the following components:
n The VMware Tools service (vmtoolsd.exe on Windows guests or vmtoolsd on Linux and Solaris guests).
This service synchronizes the time in the guest operating system with the time in the host operating system.
On Windows guests, it also controls grabbing and releasing the mouse cursor.
n A set of VMware device drivers, including an SVGA display driver, the vmxnet networking driver for some
guest operating systems, the BusLogic SCSI driver for some guest operating systems, the memory control
driver for efficient memory allocation between virtual machines, the sync driver to quiesce I/O for
Consolidated Backup, and the VMware mouse driver.
n The VMware Tools control panel, which lets you modify settings, shrink virtual disks, and connect and
disconnect virtual devices.
You can also use the command-line interface of the VMware Tools configuration utility in the guest
operating system to perform these tasks. See the VMware Tools Configuration Utility User's Guide.
n A set of scripts that helps you to automate guest operating system operations. The scripts run when the
virtual machine’s power state changes if you configure them to do so.
n The VMware user process (VMwareUser.exe on Windows guests or vmware-user on Linux and Solaris
guests), which enables you to copy and paste text between the guest and managed host operating systems.
On Linux and Solaris guests, this process controls grabbing and releasing the mouse cursor when the
SVGA driver is not installed.
The VMware Tools user process is not installed on NetWare operating systems. Instead, the vmwtool
program is installed. It controls the grabbing and releasing of the mouse cursor. It also allows you to copy
and paste text.
You can optionally install WYSE Multimedia Redirector, which improves streaming video performance in
Windows guest operating systems running on WYSE thin client devices.
The installers for VMware Tools for Windows, Linux, Solaris, and NetWare guest operating systems are built
into ESX/ESXi as ISO image files. An ISO image file looks like a CD-ROM to your guest operating system and
even appears as a CD-ROM disc in Windows Explorer. You do not use an actual CD-ROM disc to install
VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image
file.
When you choose to install VMware Tools, vCenter Server temporarily connects the virtual machine’s first
virtual CD-ROM disk drive to the ISO image file that contains the VMware Tools installer for your guest
operating system. You are ready to begin the installation process.
Limitations
VMware Tools has the following limitations:
n Shrink disk is not supported.
n For Microsoft Windows NT, the default scripts for suspend and resume do not work.
n The mouse driver installation fails in X windows versions earlier than 4.2.0.
NOTE If you do not have VMware Tools installed in your virtual machine, you cannot use the shutdown or
restart options. You can use only the Power options. If you want to shut down the guest operating system,
shut it down from within the virtual machine console before you power off the virtual machine.
To determine the status of VMware Tools, select the virtual machine and click the Summary tab. The VMware
Tools label indicates whether VMware Tools is installed and current, installed and not current, or not installed.
For Windows 2000 and above, VMware Tools installs the VmUpgradeHelper tool to restore the network
configuration.
NOTE During VMware Tools installation, a Windows guest operating system might display a message
indicating that the package has not been signed. If this message appears, click Install Anyway to continue the
installation.
Prerequisites
n Verify that a supported guest operating system is installed on the virtual machine.
n Verify that you have an ESX/ESXi license or are using evaluation mode.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Power > Power On.
2 Click the Console tab to make sure that the guest operating system starts successfully, and log in if
necessary.
3 Right-click the virtual machine and select Guest > Install/Upgrade VMware Tools.
This step initiates the installation process by mounting the VMware Tools bundle on the guest operating
system.
5 If the New Hardware wizard appears go through the wizard and accept the defaults.
What to do next
Verify the status of VMware Tools by checking the VMware Tools label on the virtual machine Summary tab.
OK should appear in the VMware Tools label.
Before you install or upgrade VMware Tools on a virtual machine, determine the status of VMware Tools. To
do this, select the virtual machine and click the Summary tab. The VMware Tools label indicates whether
VMware Tools is installed and current, installed and not current, or not installed.
Prerequisites
n Verify that a supported guest operating system is installed on the virtual machine.
n Verify that you have an ESX/ESXi license or are using evaluation mode.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Power > Power On.
2 Click the Console tab to make sure that the guest operating system starts successfully, and log in if
necessary.
3 Right-click the virtual machine and select Guest > Install/Upgrade VMware Tools.
This step initiates the installation process by mounting the VMware Tools bundle on the guest operating
system.
8 In a terminal window, such as root (su -), run the vmware-config-tools.pl command to configure
VMware Tools.
Respond to the questions that appear on the screen. Press Enter to accept the default values if appropriate
for your configuration.
What to do next
Verify the status of VMware Tools by checking the VMware Tools label on the virtual machine Summary tab.
OK should appear in the VMware Tools label.
Prerequisites
n Verify that a supported guest operating system is installed on the virtual machine.
n Verify that you have an ESX/ESXi license or are using evaluation mode.
Before you install or upgrade VMware Tools on a virtual machine, determine the status of VMware Tools.
Select the virtual machine and click the Summary tab. The VMware Tools label indicates whether VMware
Tools is installed and current, installed and not current, or not installed.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Power > Power On.
2 Click the Console tab to make sure that the guest operating system starts successfully, and log in if
necessary.
3 Right-click the virtual machine and select Guest > Install/Upgrade VMware Tools.
This step initiates the installation process by mounting the VMware Tools bundle on the guest operating
system.
5 In the virtual machine console, log in as root (su -) and, if necessary, create the /mnt/cdrom directory:
mkdir /mnt/cdrom
Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not
use the mount and umount commands in this procedure.
Some Linux distributions use different device names or organize the /dev directory differently. Modify
the following commands to reflect the conventions used by your distribution:
mount /dev/cdrom /mnt/cdrom
cd /tmp
9 List the contents of the /mnt/cdrom/ directory, and note the filename of the VMware Tools tar installer.
ls /mnt/cdrom
If you attempt to install a tar installation over an rpm installation, the installer detects the previous
installation and must convert the installer database format before continuing.
11 Unmount the CD-ROM image:
umount /dev/cdrom
./vmware-install.pl
For each configuration question, press Enter to accept the default value.
What to do next
Verify the status of VMware Tools by checking the VMware Tools label on the virtual machine Summary tab.
OK should appear in the VMware Tools label.
Before you install or upgrade VMware Tools on a virtual machine, determine the status of VMware Tools. To
do this, select the virtual machine and click the Summary tab. The VMware Tools label indicates whether
VMware Tools is installed and current, installed and not current, or not installed.
Prerequisites
n Verify that a supported guest operating system is installed on the virtual machine.
n Verify that you have an ESX/ESXi license or are using evaluation mode.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Power > Power On.
2 Click the Console tab to make sure that the guest operating system starts successfully, and log in if
necessary.
3 Right-click the virtual machine and select Guest > Install/Upgrade VMware Tools.
This step initiates the installation process by mounting the VMware Tools bundle on the guest operating
system.
5 In the virtual machine console, log in as root (su -) and, if necessary, mount the VMware Tools virtual
CD-ROM image, as follows.
Usually, the Solaris volume manager mounts the CD-ROM under /cdrom/vmwaretools. If the CD-ROM is
not mounted, restart the volume manager using the following commands.
/etc/init.d/volmgt stop
/etc/init.d/volmgt start
6 After the CD-ROM is mounted, change to a working directory (for example, /tmp) and extract VMware
Tools.
cd /tmp
gunzip -c /cdrom/vmwaretools/vmware-solaris-tools.tar.gz | tar xf -
Respond to the configuration questions on the screen. Press Enter to accept the default values.
What to do next
Verify the status of VMware Tools by checking the VMware Tools label on the virtual machine Summary tab.
OK should appear in the VMware Tools label.
Before you upgrade VMware Tools on a virtual machine, determine the status of VMware Tools. To do this,
select the virtual machine and click the Summary tab. The VMware Tools label indicates whether VMware
Tools is installed and current, installed and not current, or not installed.
Prerequisites
n Verify that a supported guest operating system is installed on the virtual machine.
n Verify that you have an ESX/ESXi license or are using evaluation mode.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Power > Power On.
2 Click the Console tab to make sure that the guest operating system starts successfully, and log in if
necessary.
3 Right-click the virtual machine and select Guest > Install/Upgrade VMware Tools.
This step initiates the installation process by mounting the VMware Tools bundle on the guest operating
system.
5 In the virtual machine console, load the CD-ROM driver so the CD-ROM device mounts the ISO image
as a volume. To open the Netware Server Console, select Novell > Utilities > Server Console.
When the installation finishes, the message VMware Tools for NetWare are now running appears in the Logger
Screen (NetWare 6.5 and NetWare 6.0 guests) or the Console Screen (NetWare 5.1 guests).
What to do next
Verify the status of VMware Tools by checking the VMware Tools label on the virtual machine Summary tab.
OK should appear in the VMware Tools label.
Use this dialog box to configure time synchronization between host and guest, notifications of VMware Tools
updates (for Windows and Linux guests only), and specifying which scripts to run when the virtual machine’s
power state changes.
Procedure
u Select an option for your guest operating system.
Option Action
Windows a Open a console to the virtual machine.
b Double-click the VMware Tools icon in the system tray from inside the
guest operating system.
Linux or Solaris Open the virtual machine console and open a terminal window and enter the
following command: /usr/bin/vmware-toolbox &
NetWare Select Novell > Settings > VMware Tools for NetWare.
Prerequisites
If you use a command-line interface to upgrade VMware Tools, verify that you have the command-line options
for your operating system handy. Command-line options for Linux are documented in the Linux Installer for
Linux Tools. Command-line options for Windows are documented in the MSI for Windows Tools and at the
following Wikipedia entry: http://en.wikipedia.org/wiki/Windows_Installer .
NOTE You can also manually upgrade VMware Tools from within the virtual machine’s operating system by
opening the VMware Tools Properties dialog box (double-click the icon in the system tray) and clicking
Upgrade in the Options tab.
Procedure
3 Select the host or cluster that contains the virtual machines you want to upgrade.
5 Select the virtual machines that you want to upgrade and power them on.
Option Description
Use menu items Right-click the virtual machines to upgrade and select Guest > Install/
Upgrade Tools.
Use a command-line interface Enter the command-line options for your operating system in the Advanced
Options field.
What to do next
You can track the upgrade progress on the Tasks & Events tab.
NOTE Automatic VMware Tools upgrade is not supported for virtual machines with Solaris or NetWare guest
operating systems.
Prerequisites
n Verify that the virtual machines have a version of VMware Tools shipped with ESX Server 3.0.1 or greater
installed.
n Verify that the virtual machines are hosted on ESX Server 3.0.1 or later and vCenter Server 2.0.1 or later.
n Verify that the virtual machines are running a Linux or Windows guest OS that is supported by ESX Server
3.0.1 or later and vCenter Server 2.0.1 or later.
n Verify that the virtual machine is powered on.
Procedure
3 Select Check and upgrade Tools during power cycling in the Advanced pane.
The next time the virtual machine is powered on, it checks the ESX/ESXi host for a newer version of VMware
Tools. If one is available, it is installed and the guest operating system is restarted (if required).
Procedure
4 From inside the virtual machine, click OK to confirm that you want to install VMware Tools and open the
InstallShield wizard.
n If you have autorun enabled in your guest operating system (the default setting for Windows
operating systems), a dialog box appears.
n If autorun is not enabled, run the VMware Tools installer. Click Start > Run and enter
D:\setup.exe, where D: is your first virtual CD-ROM drive.
5 Click Next.
7 Click the red X next to each optional feature you want to install, and select This feature will be installed
on local hard drive.
8 Click Next.
9 Click Finish.
Prerequisites
Procedure
3 Select the actions you want from the drop-down menus under Power Controls.
You can accept the system defaults for the toolbar buttons or configure them as follows:
n Configure the stop button on the toolbar to power off the virtual machine or shut down the guest
operating system.
n Configure the pause button on the toolbar to suspend the virtual machine.
n Configure the reset button on the toolbar to reset the virtual machine or restart the guest operating
system.
4 (Optional) Configure VMware Tools scripts to run when you change the virtual machine’s power state by
selecting options under Run VMware Tools scripts.
NOTE For ESX host virtual machines, there are no scripts for resuming and suspending virtual machines.
5 (Optional) Configure VMware Tools to check for and install updates before each power on by selecting the
Check and upgrade Tools before each power on option under Automatic VMware Tools Upgrade.
6 (Optional) Configure the guest operating system to synchronize time with the host by selecting the
Synchronize guest time with host option.
WYSE Multimedia Support is supported on the Windows 2003 and Windows XP guest operating systems only.
WYSE Multimedia Support is installed as part of a VMware Tools installation or upgrade.
Procedure
u Follow the instructions for the custom installation path as described in “Custom VMware Tools
Installation,” on page 125. On the Custom Setup page, select WYSE Multimedia Redirector for
installation.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Power > Power On.
2 Click the Console tab to make sure that the guest operating system starts successfully, and log in if
necessary.
3 In the virtual machine, select Start > Settings > Control Panel > Add or Remove Programs.
5 Click Next.
7 Click the red X next to WYSE Multimedia Redirector and select This feature will be installed on local
hard drive.
8 Click Next.
10 Click Finish.
Prerequisites
Verify that the virtual machine is running on ESX Server 3.0.1 or later and vCenter Server 2.0.1 or later.
Procedure
1 Right-click a powered-on virtual machine and select Guest > Upgrade VMware Tools.
3 Click OK.
A vApp is a container, like a resource pool and can contain one or more virtual machines. A vApp also shares
some functionality with virtual machines. A vApp can power on and power off, and can also be cloned.
In the vSphere Client, a vApp is represented in both the Host and Clusters view and the VM and Template
view. Each view has a specific summary page with the current status of the service and relevant summary
information, as well as operations on the service.
NOTE The vApp metadata resides in the vCenter Server's database, so a vApp can be distributed across multiple
ESX/ESXi hosts. This information can be lost if the vCenter Server database is cleared or if a standalone ESX/
ESXi host that contains a vApp is removed from vCenter Server. You should back up vApps to an OVF package
to avoid losing any metadata.
vApp metadata for virtual machines within vApps do not follow the snapshots semantics for virtual machine
configuration. So, vApp properties that are deleted, modified, or defined after a snapshot is taken remain intact
(deleted, modified, or defined) after the virtual machine reverts to that snapshot or any prior snapshots.
You can use VMware Studio to automate the creation of ready-to-deploy vApps with pre-populated
application software and operating systems. VMware Studio adds a network agent to the guest so that vApps
bootstrap with minimal effort. Configuration parameters specified for vApps appear as OVF properties in the
vCenter Server deployment wizard. For information about VMware Studio and for download, see the VMware
Studio developer page on the VMware web site.
Create a vApp
After you create a datacenter and add a clustered DRS-enabled host or a standalone host to your vCenter Server
system, you can create a vApp.
You can create vApps on folders, standalone hosts, resource pools, DRS-enabled clusters, and within other
vApps.
Procedure
Procedure
u Select File > New > vApp to open the New vApp wizard.
The vApp name can be up to 80 characters long. This name must be unique within the folder.
Procedure
1 On the Name and Folder page, enter a name for the vApp.
If you are creating a vApp from within another vApp, the vApp Inventory Location selection is
unavailable.
3 Click Next.
NOTE This step, selecting a vApp destination, does not appear if you create a vApp from a standalone host,
cluster, resource pool, or another vApp within the inventory.
Procedure
1 On the Destination page, select a standalone host, cluster, or resource pool where this vApp will run and
click Next.
If you selected a DRS-enabled cluster and the cluster is in DRS manual mode, select the host as the
destination for the vApp.
The message in the Compatibility panel indicates whether the validation for this destination succeeded
or whether a specific requirement was not met.
2 Click Next.
Procedure
1 In the Resource Allocation page, allocate CPU and memory resources for this vApp.
2 Click Next.
Procedure
After you create a vApp, you can populate it with virtual machines or other vApps.
Procedure
1 In the inventory, select the vApp in which you want to create the object machine.
An existing virtual machine or another vApp that is not already contained inside the vApp can be moved into
the currently selected vApp.
Procedure
Procedure
NOTE The deployer typically edits the IP allocation policy and properties. The vApp author typically edits
the other, more advanced settings.
3 Click the Start Order tab to edit vApp startup and shutdown options.
4 Click OK.
Procedure
Virtual Machines and vApps with the same start order (or within the same grouping) will start
concurrently with each other.
3 Select the startup and shutdown action for each virtual machine.
4 (Optional) Use the arrow keys to change the time delay for startup and shutdown for each virtual machine.
5 Click OK.
Reservations on vApps and all their child resource pools, child vApps, and child virtual machines count against
the parent resources only when they are powered on.
Procedure
4 Click OK.
Procedure
4 Click OK.
NOTE This option is available only if the vApp was imported and contains a license agreement.
Procedure
3 Click OK.
Procedure
Option Description
Fixed IP addresses are manually configured. No automatic allocation is performed.
Transient IP addresses are automatically allocated using IP pools from a specified
range when the vApp is powered on. The IP addresses are released when the
appliance is powered off.
DHCP A DHCP server is used to allocate the IP addresses. The addresses assigned
by the DHCP server are visible in the OVF environments of virtual machines
started in the vApp.
4 Click OK.
These additional OVF sections originate from the OVF deployment process that created this vApp. Most of
the OVF sections that vCenter Server did not recognize during deployment are accessible here for reference.
Procedure
3 Click OK.
Procedure
3 Set and configure the settings that appear on the summary page of the virtual machine.
If you configure the virtual machine to use the property called webserver_ip and the virtual machine has a
web server, you can enter http://${webserver_ip}/ as the Application URL.
4 (Optional) Click View to test the Product URL and Vendor URL.
7 Click OK.
Procedure
3 Click Properties.
5 Click OK.
Procedure
3 Click IP Allocation.
4 In the Advanced IP Allocation dialog box, you can perform the following actions.
n Select an IP allocation scheme.
n Select the IP protocols supported by the vApp: IPv4, IPv6, or both.
5 Click OK.
Configuring IP Pools
IP pools provide a network identity to vApps. An IP pool is a network configuration that is assigned to a
network used by a vApp. The vApp can then leverage vCenter Server to automatically provide an IP
configuration to its virtual machines.
IP pool ranges are configured with IPv4 and IPv6. vCenter Server uses these ranges to dynamically allocate IP
addresses to virtual machines when a vApp is set up to use transient IP allocation.
Procedure
2 In the IP Pools tab, right-click the IP pool that you want to edit and select Properties.
3 In the Properties dialog box, select the IPv4 or the IPv6 tab, depending on your IP protocol.
6 (Optional) Enter a comma-separated list of host address ranges in the Ranges field.
A range consists of an IP address, a pound sign (#), and a number indicating the length of the range.
The gateway and the ranges must be within the subnet, but must exclude the gateway address.
For example, 10.20.60.4#10, 10.20.61.0#2 indicates that the IPv4 addresses can range from 10.20.60.4 to
10.209.60.13 and 10.20.61.0 to 10.20.61.1.
7 Click OK.
Select DHCP
You can specify that an IPv4 or IPv6 DHCP server is available on the network.
Procedure
1 In the inventory, select the datacenter that contains the vApp you are configuring.
2 In the IP Pools tab, right-click the IP pool that you want to edit and select Properties.
4 Select either the IPv4 DHCP Present or IPv6 DHCP Present check box to indicate that one of the DHCP
servers is available on this network.
5 Click OK.
Procedure
1 In the inventory, select the datacenter that contains the vApp you are configuring.
2 In the IP Pools tab, right-click the IP pool that you want to edit and select Properties.
5 Click OK.
Procedure
2 In the IP Pools tab, right-click the IP pool that you want to edit and select Properties.
4 Enter the server name and port number for the proxy server.
The server name can optionally include a colon and a port number.
5 Click OK.
Procedure
2 In the IP Pools tab, right-click the IP pool that you want to edit and select Properties.
5 Click OK.
Clone a vApp
Cloning a vApp is similar to cloning a virtual machine.
Prerequisites
To clone a vApp, the vSphere Client must be connected to the vCenter Server system.
A host must be selected in the inventory that is running ESX 3.0 or greater, or a DRS-enabled cluster.
Procedure
NOTE This step is available only if you select a cluster that is in DRS manual mode.
Power On a vApp
Each virtual machine within the vApp is powered on according to the startup order configuration.
When powering on a vApp within a DRS cluster in manual mode, no DRS recommendations are generated
for virtual machine placements. The power-on operation performs as if DRS is run in a semiautomatic or
automatic mode for the initial placements of the virtual machines. This does not affect vMotion
recommendations. Recommendations for individual powering on and powering off of virtual machines are
also generated for vApps that are running.
Procedure
u In the Summary page for the service, click Power On.
If a delay is set in the startup settings, the vApp waits for the set length of time before powering up that
virtual machine.
In the Summary tab, the status indicates when the vApp has started and is available. Links to the product and
vendor Web sites are also found under the General section.
Procedure
u In the Summary page for the service, click Power Off.
If a delay is set in the shutdown settings, the vApp waits for the set length of time before powering down
that virtual machine.
Suspend a vApp
A suspended vApp pauses all its running virtual machines until you resume the vApp.
The virtual machines within a vApp are suspended based on their stop order. All virtual machines are
suspended regardless of stop action.
Procedure
1 From the vSphere Client, select the vApp you want to place in suspended state.
Resume a vApp
You can continue the activity of the virtual machines within a vApp that is in a suspended state.
The suspended virtual machines within the vApp are resumed in reverse order to the order in which they were
suspended.
Procedure
Procedure
5 Click OK.
You can connect the vSphere Client directly to an ESX/ESXi host and work with only the virtual machines and
the physical resources available on that host. Connect your vSphere Client to a vCenter Server to manage
virtual machines and pooled physical resources across multiple hosts. Multiple vCenter Server systems can be
joined together in a vCenter Server Connected Group to allow them to be managed with a single vSphere Client
connection.
NOTE You can also create a scheduled task to change the power settings of a virtual machine. Information
about scheduling tasks is included in the Datacenter Administration Guide.
Procedure
1 In the vSphere Client inventory, select the host where the virtual machine is located and click the
Configuration tab.
3 Select Allow virtual machines to start and stop automatically with the system.
Option Action
Default Startup Delay Select the amount of time to delay starting the operating system.
This delay allows time for VMware Tools or the booting system to run scripts.
Continue immediately if the VMware Select to start the operating system immediately after VMware Tools starts.
Tools starts
Default Shutdown Delay Select the amount of time to delay shutdown for each virtual machine.
The shutdown delay applies only if the virtual machine does not shut down
before the delay period elapses. If the virtual machine shuts down before the
delay time is reached, the next virtual machine starts shutting down.
Shutdown Action Select a shutdown option from the drop-down menu.
n Power Off
n Suspend
n Guest Shutdown
Move Up and Move Down Select a virtual machine in the Manual Startup category and use the Move Up
button to move it up to Automatic Startup or Any Oder.
When virtual machines are in the Automatic Startup category, you can use
Move Up and Move Down to order them so that they start in a preferred
sequence. During shutdown, the virtual machines are stopped in the
opposite order.
Edit Click Edit to configure user-specified autostartup and shutdown behavior
for virtual machines in the Automatic Startup or Any Order category.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Open Console .
2 Click anywhere inside the console window to enable your mouse, keyboard, and other input devices to
work in the console.
If a managed host is disconnected, the already discovered virtual machines continue to be listed in the
inventory.
If a managed host is disconnected and reconnected, any changes to the virtual machines on that managed host
are identified, and the vSphere Client updates the list of virtual machines. For example, if node3 is removed
and node4 is added, the new list of virtual machines adds node4 and shows node3 as orphaned.
Prerequisites
Procedure
3 To confirm that you want to remove the virtual machine from the inventory, click OK.
vCenter Server removes references to the virtual machine and no longer tracks its condition.
Prerequisites
Procedure
vCenter Server deletes the virtual machine from its datastore. Disks that are shared with other virtual machines
are not deleted.
Procedure
5 Complete the Add to Inventory wizard to add the virtual machine or template.
You can use a snapshot as a restoration point during a linear or iterative process, such as installing update
packages, or during a branching process, such as installing different versions of a program. Taking snapshots
ensures that each installation begins from an identical baseline.
Understanding Snapshots
A snapshot captures the entire state of the virtual machine at the time you take the snapshot.
Snapshots are useful when you need to revert repeatedly to the same state but you don't want to create multiple
virtual machines.
NOTE VMware does not support snapshots of raw disks, RDM physical mode disks, or independent disks.
Snapshots operate on individual virtual machines. In a team of virtual machines, taking a snapshot preserves
the state only of the active virtual machine.
When you revert to a snapshot, you return all these items to the state they were in at the time you took that
snapshot. If you want the virtual machine to be suspended, powered on, or powered off when you launch it,
make sure that it is in the correct state when you take that snapshot.
While snapshots provide a point-in-time image of the disk that backup solutions can use, do not use snapshots
for your own virtual machine backups. Large numbers of snapshots are difficult to manage, take up large
amounts of disk space, and are not protected in the case of hardware failure.
Because you cannot revert to a snapshot with dynamic disks, quiesced snapshots are not used when backing
up dynamic disks.
Backup solutions, like VMware Data Recovery, use the snapshot mechanism to freeze the state of a virtual
machine. However, the Data Recovery backup method has additional capabilities that mitigate the limitations
of snapshots.
Multiple snapshots refers to the ability to create more than one snapshot of the same virtual machine.
Multiple snapshots are not simply a way of saving your virtual machines. With multiple snapshots, you can
save many positions to accommodate many kinds of work processes.
When taking a snapshot, the state of the virtual disk at the time the snapshot is taken will be preserved. When
this occurs, the guest cannot write to the vmdk file. The delta disk is an additional vmdk file to which the guest
is allowed to write. The delta disk represents the difference between the current state of the virtual disk and
the state that existed at the time the previous snapshot was taken. If more than one snapshot exists, delta disks
can represent the difference (or delta) between each snapshot. For example, a snapshot can be taken, and then
the guest could write to every single block of the virtual disk, causing the delta disk to grow as large as the
entire virtual disk.
When a snapshot is deleted, the changes between snapshots and previous disk states are merged, and all the
data from the delta disk that contains the information about the deleted snapshot is written to the parent disk
and merges with the base disk only when you choose to do so. This can involve a large amount of disk input
and output. This may reduce the virtual machine performance until consolidation is complete.
The amount of time it takes to commit or delete snapshots depends on how much data the guest operating
system has written to the virtual disks since the last snapshot was taken. The required time is directly
proportional to the amount of data (committed or deleted) and the amount of RAM allocated to the virtual
machine.
For additional information about snapshot behavior, see the Knowledge Base article at
http://kb.vmware.com/kb/1015180.
The snapshots taken form a tree. Each time you revert and take another, a branch (child snapshot) is formed.
In the snapshot tree, each snapshot has one parent, but one snapshot might have more than one child. Many
snapshots have no children.
The best time to take a snapshot is when no applications in the virtual machine are communicating with other
computers. The potential for problems is greatest if the virtual machine is communicating with another
computer, especially in a production environment.
For example, if you take a snapshot while the virtual machine is downloading a file from a server on the
network, the virtual machine continues downloading the file and communicating its progress to the server. If
you revert to the snapshot, communications between the virtual machine and the server are confused and the
file transfer fails.
Take a Snapshot
You can take a snapshot while a virtual machine is powered on, powered off, or suspended. If you are
suspending a virtual machine, wait until the suspend operation finishes before you take a snapshot.
Prerequisites
If the virtual machine has multiple disks in different disk modes, power off the virtual machine before you
take a snapshot. For example, if you have a special purpose configuration that requires you to use an
independent disk, you must power off the virtual machine before taking a snapshot. This applies only to
snapshots taken with memory.
Procedure
1 Select Inventory > Virtual Machine > Snapshot > Take Snapshot.
4 (Optional) Select the Snapshot the virtual machine’s memory check box to capture the memory of the
virtual machine.
NOTE Capturing the virtual machine's memory results in a powered off snapshot, even if the virtual
machine is powered on.
5 (Optional) Select the Quiesce guest file system (Needs VMware Tools installed) check box to pause
running processes on the guest operating system so that file system contents are in a known consistent
state when you take the snapshot.
This step applies only to virtual machines that are powered on.
6 Click OK.
When you take the snapshot it is listed in the Recent Tasks field at the bottom of the vSphere Client.
7 Click the target virtual machine to display tasks and events for this machine or, while the virtual machine
is selected, click the Tasks & Events tab.
Prerequisites
Power off and delete any existing snapshots before you attempt to change the disk mode.
Procedure
2 Click the Hardware tab and select the hard disk you want to exclude.
NOTE Any disk, regardless of its type, that is created after you take a snapshot does not appear if you
revert to that snapshot.
Option Description
Persistent Disks in persistent mode behave like conventional disks on your physical
computer. All data written to a disk in persistent mode are written
permanently to the disk.
Nonpersistent Changes to disks in nonpersistent mode are discarded when you power off
or reset the virtual machine. With nonpersistent mode, you can restart the
virtual machine with a virtual disk in the same state every time. Changes to
the disk are written to and read from a redo log file that is deleted when you
power off or reset.
4 Click OK.
The Snapshot Manager window contains the following areas: Snapshot tree, Details region, command buttons,
Navigation region, and a You are here icon.
n Snapshot tree displays all snapshots for the virtual machine.
n You are here icon represents the current and active state of the virtual machine. The You are here icon is
always selected and visible when you open the Snapshot Manager.
Restore a Snapshot
You can restore or revert to the state of any snapshot.
Procedure
1 Select Inventory > Virtual Machine > Snapshot > Snapshot Manager.
NOTE Virtual machines running certain kinds of workloads might take several minutes to resume
responsiveness after reverting from a snapshot. This delay can be improved by increasing the guest
memory.
Delete a Snapshot
You can permanently remove a snapshot from vCenter Server.
Procedure
1 Select Inventory > Virtual Machine > Snapshot > Snapshot Manager.
Clicking Delete All permanently removes all snapshots from the virtual machine.
NOTE Delete commits the snapshot data to the parent and removes the selected snapshot. Delete All
commits all the immediate snapshots before the You are here current state to the base disk and removes
all existing snapshots for that virtual machine.
Restoring Snapshots
To return a virtual machine to its original state, you can restore a snapshot.
Procedure
n The Inventory > Virtual Machine > Snapshot menu contains the command Revert to Snapshot.
n The Snapshot Manager has a Go to button.
Parent Snapshot
The parent snapshot is always the snapshot appearing immediately above the You are here icon in the Snapshot
Manager. The parent snapshot is also the most recently saved version of the current state of the virtual machine.
If you have just taken a snapshot, that stored state is the parent snapshot of the current state (You are here). If
you revert or go to a snapshot, that snapshot becomes the parent of the current state (You are here).
NOTE The parent snapshot is not always the snapshot you took most recently.
Reverting Snapshots
Reverting snapshots immediately activates the parent snapshot of the current state of the virtual machine.
The current disk and memory states are discarded and restored as they were when you took that snapshot. If
your parent snapshot was taken when the virtual machine was powered off, choosing Snapshot > Revert to
Snapshot moves the powered-on virtual machine to that parent state, that is, to a powered-off state.
If the snapshot was taken while the virtual machine was powered on and the virtual machine settings are set
to revert to snapshot when powering off, the virtual machine moves to a suspended state when it reverts to
the parent snapshot. If the no memory option is set, the virtual machine moves to a suspended state, even if
the revert operation is performed, but not through the powered-off action. If the memory option is set, the
power-off revert action puts VM is suspended state. This process is illustrated in Figure 10-1.
NOTE Virtual machines running certain kinds of workloads might take several minutes to resume
responsiveness after reverting from a snapshot. This delay may be improved by increasing the guest memory.
When you revert a virtual machine, the virtual machine returns to the parent snapshot
of the virtual machine (that is, the parent of the current You are here state).
NOTE vApp metadata for virtual machines within vApps does not follow the snapshot semantics for virtual
machine configuration. vApp properties that are deleted, modified, or defined after a snapshot is taken remain
intact (deleted, modified, or defined) after the virtual machine reverts to that snapshot or any prior snapshots.
Procedure
u Select Inventory > Virtual Machine > Snapshot > Revert to Snapshot.
For more information on thin provisioning and disk formats, see ESX Configuration Guide or ESXi Configuration
Guide.
Procedure
2 Click Edit Settings to display the Virtual Machine Properties dialog box.
3 Click the Hardware tab and select the appropriate hard disk in the Hardware list.
The Disk Provisioning section on the right shows the type of your virtual disk, either Thin or Thick.
4 Click OK.
What to do next
If your virtual disk is in the thin format, you can inflate it to its full size.
The thin provisioned disk starts small and at first, uses just as much storage space as it needs for its initial
operations. After having been converted, the virtual disk grows to its full capacity and occupies the entire
datastore space provisioned to it during the disk’s creation.
Procedure
2 Click the Summary tab and, under Resources, double-click the datastore for the virtual machine to open
the Datastore Browser dialog box.
3 Click the virtual machine folder to find the virtual disk file you want to convert. The file has the .vmdk
extension.
The virtual disk in thick format occupies the entire datastore space originally provisioned to it.
NOTE Customization operations will fail if the correct version of sysprep tools is not found.
Ensure you download the correct version for the guest operating system to customize. Microsoft has a different
version of Sysprep for each release and service pack of Windows. You must use the version of Sysprep specific
to the operating system that you are deploying.
Procedure
2 Navigate to the page that contains the download link to the version of the tools you want.
4 Open and expand the .cab file, using a tool such as Winzip.exe or another tool capable of reading Microsoft
CAB files.
The following System Preparation tools support directories were created during vCenter Server
installation:
C:\ALLUSERSPROFILE\Application Data\Vmware\VMware VirtualCenter\sysprep
...\1.1\
...\2k\
...\xp\
...\svr2003\
...\xp-64\
...\svr2003-64\
The ALLUSERSPROFILE is usually \Documents And Settings\All Users\. This is also the location of the
vpxd.cfg file.
After you extract the files from the .cab file, you should see the following files:
...\guest\deptool.chm
...\guest\readme.txt
...\guest\setupcl.exe
...\guest\setupmgr.exe
...\guest\setupmgx.dll
...\guest\sysprep.exe
...\guest\unattend.doc
What to do next
You are now ready to customize a new virtual machine with a supported Windows guest operating system
when you clone an existing virtual machine.
Procedure
1 Insert the Windows operating system CD into the CD-ROM drive (often the D: drive).
3 Open and expand the DEPLOY.CAB file, using a tool such as Winzip.exe or another tool capable of reading
Microsoft CAB files.
4 Extract the files to the directory appropriate to your Sysprep guest operating system.
The following Sysprep support directories were created during vCenter Server installation:
C:\ALLUSERSPROFILE\Application Data\Vmware\VMware VirtualCenter\sysprep
...\1.1\
...\2k\
...\xp\
...\svr2003\
...\xp-64\
...\svr2003-64\
The ALLUSERSPROFILE is usually \Documents And Settings\All Users\. This is also the location of the
vpxd.cfg file.
After you extract the files from the .cab file, you should see the following files:
...\guest\deptool.chm
...\guest\readme.txt
...\guest\setupcl.exe
...\guest\setupmgr.exe
...\guest\setupmgx.dll
...\guest\sysprep.exe
...\guest\unattend.doc
6 Repeat this procedure to extract Sysprep files for each of the Windows guest operating systems that you
plan to customize using vCenter Server.
What to do next
You are now ready to customize a new virtual machine with a supported Windows guest operating system
when you clone an existing virtual machine.
Table B-1 lists common tasks that require more than one privilege. You can use the Applicable Roles on the
inventory objects to grant permission to perform these tasks, or you can create your own roles with the
equivalent required privileges.
On the network that the virtual machine will be assigned Network Consumer or
to: Virtual Machine
Network.Assign Network Administrator
On the network that the virtual machine will be assigned Network Consumer or
to: Virtual Machine
Network.Assign Network Administrator
Take a virtual machine On the virtual machine or a folder of virtual machines: Virtual Machine Power User
snapshot Virtual Machine.State.Create Snapshot or Virtual Machine
Administrator
Move a virtual machine into a On the virtual machine or folder of virtual machines: Virtual Machine
resource pool n Resource.Assign Virtual Machine to Resource Pool Administrator
n Virtual Machine.Inventory.Move
Install a guest operating On the virtual machine or folder of virtual machines: Virtual Machine Power User
system on a virtual machine n Virtual Machine.Interaction.Answer Question or Virtual Machine
n Virtual Machine.Interaction.Console Interaction Administrator
n Virtual Machine.Interaction.Device Connection
n Virtual Machine.Interaction.Power Off
n Virtual Machine.Interaction.Power On
n Virtual Machine.Interaction.Reset
n Virtual Machine.Interaction.Configure CD Media (if
installing from a CD)
n Virtual Machine.Interaction.Configure Floppy
Media (if installing from a floppy disk)
n Virtual Machine.Interaction.Tools Install
On a datastore containing the installation media ISO Virtual Machine Power User
image: or Virtual Machine
Datastore.Browse Datastore (if installing from an ISO Administrator
image on a datastore)
Migrate a virtual machine On the virtual machine or folder of virtual machines: Datacenter Administrator or
with vMotion n Resource.Migrate Resource Pool Administrator
n Resource.Assign Virtual Machine to Resource Pool or Virtual Machine
Administrator
(if destination is a different resource pool from the
source)
Cold migrate (relocate) a On the virtual machine or folder of virtual machines: Datacenter Administrator or
virtual machine n Resource.Relocate Resource Pool Administrator
n Resource.Assign Virtual Machine to Resource Pool or Virtual Machine
Administrator
(if destination is a different resource pool from the
source)
On the destination datastore (if different from the source): Datastore Consumer or
Datastore.Allocate Space Virtual Machine
Administrator
Migrate a Virtual Machine On the virtual machine or folder of virtual machines: Datacenter Administrator or
with Storage vMotion Resource.Migrate Resource Pool Administrator
or Virtual Machine
Administrator
A CPU
abbreviations 9 adding 24
acceleration, disabling 116 advanced settings 80, 81
Active Directory 58 configuration 78
adapters limits 78
Ethernet, See network adapters multicore 79
paravirtual SCSI 25, 90, 91 reservation 78
SCSI 26 shares 78
AMD override mask 82 CPU hot plug 81, 84
analysis CPU identification mask 82
confidence metric 63 CPU security, disabling 82
guided consolidation 62 CPU/MMU Virtualization enablement 83
creating, vApps 130
B creating virtual machines 19
BIOS, changing settings 115 credentials
boot options consolidation 61
changing BIOS settings 115
vCenter Guided Consolidation 61
changing delay 115
custom sysprep answer file 50
customization
C
Linux 42
clones 33
requirements 42
cloning
Windows 42
templates 36, 37
customization specifications
vApps 138 copying 52
virtual machines 17, 34, 37 editing 51
cluster, selecting 21
exporting 52
computer names, generating with a script 43
configuration file parameters, editing 76 for Linux 47
configuring, parallel and serial ports 94 Windows 48, 50
consolidation
analysis results 63 D
cache 65 datacenter 12
confidence metric 63 datastore ISO file 100
credentials 61 datastores, selecting 22
first use 58 debugging and statistics 116
limits 65 deleting, templates 41
prerequisites 58 deploying, OVF templates 53, 54
services 58, 61 DHCP settings 136
settings 58, 61 disk resizing 63
tasks 64 disks
troubleshooting 65 clustering features 27
conversion recommendations 64 format 150
converting, virtual machines to templates 36 independent 146
converting physical systems limits 88
disk resizing 63 modes 87
in smaller IT environments 17 shares 88