5.1
Table Of Contents
- vCloud Director User's Guide
- Contents
- vCloud Director User's Guide
- Getting Started with vCloud Director
- Managing Users and Groups
- Managing Cloud Resources
- Managing Virtual Datacenters
- Managing Organization vDC Networks
- Configuring Oganization vDC Network Services
- Configure DHCP for an Organization vDC Network
- Configure the Firewall for an Organization vDC Network
- Add a Firewall Rule to an Organization vDC Network
- Reorder Firewall Rules for an Organization vDC Network
- Enable VPN for an Organization vDC Network
- Create a VPN Tunnel In an Organization
- Create a VPN Tunnel Between Organizations
- Create a VPN Tunnel to a Remote Network
- Enable Static Routing for an Organization vDC Network
- Add Static Routes Between vApp Networks Routed to the Same Organization vDC Network
- Add Static Routes Between vApp Networks Routed to Different Organization vDC Networks
- Reset an Organization vDC Network
- View IP Use for an Organization vDC Network
- Add IP Addresses to an Organization vDC Network IP Pool
- View vApps and vApp Templates That Use an Organization vDC Network
- View Syslog Server Settings for an Organization vDC Network
- Apply Syslog Server Settings to an Organization vDC Network
- Configuring Oganization vDC Network Services
- Managing Expired Items
- Working in an Organization
- Understanding Leases
- Set Up an Organization
- Review Your Organization Profile
- Modify Your Email Settings
- Modify Your Organization's Policies
- Set Default Domain for Organization Virtual Machines
- Enable Your Organization to Use an SAML Identity Provider
- Manage Users and Groups in Your Organization
- Manage Resources in Your Organization
- Manage Virtual Machines in Your Organization
- Viewing Organization Log Tasks and Events
- Working with Catalogs
- Working with Media Files
- Working with vApp Templates
- Open a vApp Template
- Add a vApp Template to My Cloud
- Download a vApp Template
- Upload an OVF Package as a vApp Template
- Resume the Upload of a vApp Template
- Copy a vApp Template from a Public Catalog to an Organization Catalog
- Copy a vApp Template Between an Organization's Catalogs
- Move a vApp Template Between an Organization's Catalogs
- Delete a vApp Template
- Save a vApp as a vApp Template
- Modify vApp Template Properties
- Working with vApps
- Create a vApp From a vApp Template
- Create a New vApp
- Import a Virtual Machine as a vApp
- About the vApp Placement Engine
- Copy a vApp
- Start a vApp
- Start a vApp with an Older Version of VMware Tools
- Stop a vApp
- Suspend a vApp
- Discard the Suspended State of a vApp
- Reset a vApp or Virtual Machine
- View vApp Virtual Machines
- Add a Virtual Machine to a vApp
- Import a Virtual Machine to a vApp from vSphere
- Remove Virtual Machines from a vApp
- Set vApp Start and Stop Options
- Working with Networks in a vApp
- View vApp Networks
- Adding Networks to a vApp
- Configuring Network Services for a vApp Network
- Configure DHCP for an vApp Network
- Configure the Firewall for a vApp Network
- Add a Firewall Rule to a vApp Network
- Reorder Firewall Rules for a vApp Network
- Enable IP Masquerading for a vApp Network
- Add a Port Forwarding Rule to a vApp Network
- Add an IP Translation Rule to a vApp Network
- Reorder Port Forwarding Rules for a vApp Network
- Enable Static Routing for a vApp Network
- Add Static Routes to vApp Networks
- Reset Your vApp Network
- Delete a vApp Network
- Modify Network Properties
- Display the IP Allocations for Your vApp Network
- Configure IP Address Persistence
- View Syslog Server Settings for a vApp Network
- Apply Syslog Server Settings to a vApp Network
- Editing vApp Properties
- Display a vApp Diagram
- Change the Owner of a vApp
- Upgrade the Virtual Hardware Version for a vApp
- Save vApp as a vApp Template to Your Catalog
- Create a Snapshot of a vApp
- Revert a vApp to a Snapshot
- Remove a Snapshot of a vApp
- Copy a vApp to Another vDC
- Move a vApp to Another vDC
- Delete a vApp
- Working with Virtual Machines
- Open a Virtual Machine Console
- Power On a Virtual Machine
- Power Off a Virtual Machine
- Reset a vApp or Virtual Machine
- Suspend a Virtual Machine
- Resume a Suspended Virtual Machine
- Discard the Suspended State of a Virtual Machine
- Insert a CD/DVD
- Eject a CD/DVD
- Insert a Floppy
- Eject a Floppy
- Upgrade the Virtual Hardware Version for a Virtual Machine
- Connect Remotely to a Virtual Machine
- Create a Snapshot of a Virtual Machine
- Revert a Virtual Machine to a Snapshot
- Remove a Snapshot of a Virtual Machine
- Copy or Move a Virtual Machine to a vApp
- Delete a Virtual Machine
- Editing Virtual Machine Properties
- Installing VMware Tools
- Install VMware Tools in a New Virtual Machine with No Guest Operating System
- Installing VMware Tools in a vApp
- Install VMware Tools in a Virtual Machine in a vApp
- Install VMware Tools in a vApp Template
- Install VMware Tools With Guest Customization Disabled
- Upgrade VMware Tools
- Install VMware Tools on a Windows Guest
- Install VMware Tools on a Linux Guest in X with the RPM Installer
- Install VMware Tools on a Linux Guest with the Tar Installer or RPM Installer
- Install VMware Tools on a Solaris Guest
- Guest Operating Systems
- Install a Guest Operating System
- Customizing Your Guest Operating System
- Understanding Guest Customization
- Customizing a Guest OS When Saving a vApp Template as a vApp
- Enable or Disable Guest Customization
- Change Guest Customization Settings for Virtual Machines in a vApp Template
- Power on and Force Recustomization of a Virtual Machine
- Customize Your Windows NT vApp Template
- Customize Your Solaris vApp Template
- Upload a Customization Script
- Reset Your Virtual Machine's Password
- Domain Join Requirements for Windows
- Join a Windows Guest Domain During Guest Operating System Personalization
- Guest Operating System Support
- Index
The placement engine uses the following criteria to select candidate resource pools for a virtual machine.
n
CPU capacity
n
Memory capacity
n
Number of virtual CPUs
n
Hardware version supported by the host
The placement engine filters out disabled resource pools from the candidate list so that no virtual machine is
created on a disabled resource pool. When possible, the placement engine places virtual machines on the same
hub as other virtual machines in the organization vDC.
The placement engine uses the following criteria to select candidate datastores for a vApp and its virtual
machines.
n
Storage capacity
n
Storage profile
The placement engine filters out disabled datastores from the candidate list so that no virtual machine is created
on a disabled datastore.
The placement engine uses the network name to select candidate network pools for a vApp and its virtual
machines.
After the placement engine selects a set of candidate resources, it ranks the resources and picks the best location
for each virtual machine based on the CPU, virtual RAM, and storage configuration of each virtual machine.
While ranking resources, the placement engine examines the current and estimated future resource use.
Estimated future use is calculated based on powered-off virtual machines currently placed on a given resource
pool and their expected use after they are powered on. For CPU and memory, the placement engine looks at
the current unreserved capacity, the maximum use, and the estimated future unreserved capacity. For storage,
it looks at the aggregated provisioned capacity provided by the cluster that each resource pool belongs to. The
placement engine then considers the weighted metrics of the current and future suitability of each resource
pool.
The placement engine favors resource pools that provide the minimum of unreserved capacity for CPU and
memory and free capacity for storage. It also gives lower preference to yellow clusters so that yellow clusters
are only selected if no healthy cluster is available that satisfies the placement criteria.
When a virtual machine is powered on, either as part of starting a vApp or on its own, the placement engine
runs to validate that the resource pool the virtual machine is assigned to has sufficient resources to support
the requirements of the virtual machine. This step is necessary because the resource availability on the resource
pool might have changed since the virtual machine was created on the resource pool. If the resource pool lacks
sufficient capacity to power on the virtual machine, the placement engine finds another compatible resource
pool on the provider vDC that satisfies the requirements of the virtual machine and places the virtual machine
there. This substitution might result in the migration of the virtual machine's VMDKs to a different datastore
if no suitable resource pools are connected to the datastore the VMDKs are located on.
During concurrent deployment situations when a resource pool is close to capacity, the validation of that
resource pool might succeed even though the resource pool lacks the resources to support the virtual machine.
In these cases, the virtual machine cannot power on. If a virtual machine fails to power on in this situation,
start the power on operation again to prompt the placement engine to migrate the virtual machine to a different
resource pool.
When the cluster that a resource pool belongs to is close to capacity, a virtual machine on that resource pool
might still be able to power on even when no individual host has the capacity to power on the virtual machine.
This happens as a result of capacity fragmentation at the cluster level. In such cases, a system administrator
should migrate a few virtual machines out of the cluster so that the cluster maintains sufficient capacity.
Chapter 8 Working with vApps
VMware, Inc. 65