VMware vCloud Director - 5.5 Administrator’s Guide

vCloud Director Administrator's Guide
vCloud Director 5.5
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-001256-01
vCloud Director Administrator's 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 © 2010–2014 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc.
3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com

Contents

vCloud Director Administrator's Guide 7
Updated Information 9
Getting Started with vCloud Director 11
1
Overview of vCloud Director Administration 11
Log In to the Web Console 14
System Administrator Home Page 14
Preparing the System 14
Replace SSL Certificates 15
Set User Preferences 16
Adding Resources to vCloud Director 17
2
Adding vSphere Resources 17
Adding Cloud Resources 19
Creating and Provisioning Organizations 25
3
Understanding Leases 25
Understanding Allocation Models 26
Create an Organization 27
Allocate Resources to an Organization 31
Working With Catalogs 39
4
Enable Catalog Sharing, Publishing, and Subscription 39
Create a Catalog 40
Upload a vApp Template 41
Import a vApp Template from vSphere 42
Upload a Media File 42
Import a Media File from vSphere 43
Share a Catalog 43
Publish a Catalog to External Organizations 44
Subscribe to an External Catalog Feed 44
VMware, Inc.
Managing Cloud Resources 47
5
Managing Provider Virtual Datacenters 47
Managing Organization Virtual Datacenters 54
Managing External Networks 65
Managing Edge Gateways 66
Managing Organization Virtual Datacenter Networks 83
Managing Network Pools 97
Managing Cloud Cells 99
3
vCloud Director Administrator's Guide
Managing Service Offerings 100
Managing vSphere Resources 105
6
Managing vSphere vCenter Servers 105
Managing vSphere ESX/ESXi Hosts 107
Managing vSphere Datastores 109
Managing Stranded Items 110
View Resource Pool Properties 110
View Storage Policy Properties 111
Managing Organizations 113
7
Enable or Disable an Organization 113
Delete an Organization 113
Add a Catalog to an Organization 114
Editing Organization Properties 114
Managing Organization Resources 118
Managing Organization vApps and Virtual Machines 118
Managing System Administrators and Roles 123
8
Add a System Administrator 123
Import a System Administrator 124
Enable or Disable a System Administrator 124
Delete a System Administrator 124
Edit System Administrator Profile and Contact Information 125
Send an Email Notification to Users 125
Delete a System Administrator Who Lost Access to the System 125
Import a Group 125
Delete an LDAP Group 126
View Group Properties 126
Roles and Rights 126
Managing System Settings 129
9
Modify General System Settings 129
General System Settings 129
Editing System Email Settings 131
Configuring Blocking Tasks and Notifications 132
Configuring the System LDAP Settings 133
Customize the vCloud Director Client UI 136
Configuring Public Addresses 137
Configure the Account Lockout Policy 139
Configure vCloud Director to use vCenter Single Sign On 139
Monitoring vCloud Director 141
10
Viewing Tasks and Events 141
Monitor and Manage Blocking Tasks 143
View Usage Information for a Provider Virtual Datacenter 143
View Usage Information for an Organization Virtual Datacenter 143
Using vCloud Director's JMX Service 144
4 VMware, Inc.
Viewing the vCloud Director Logs 144
vCloud Director and Cost Reporting 145
Monitoring Quarantined Files 145
Contents
Roles and Rights 149
11
Predefined Roles and Their Rights 149
Index 155
VMware, Inc. 5
vCloud Director Administrator's Guide

vCloud Director Administrator's Guide

The VMware vCloud Director Administrator's Guide provides information to the vCloud Director system administrator about how to add resources to the system, create and provision organizations, manage resources and organizations, and monitor the system.
Intended Audience
This book is intended for anyone who wants to configure and manage a vCloud Director installation. The information in this book is written for experienced system administrators who are familiar with Linux, Windows, IP networks, and VMware vSphere.
VMware, Inc. 7
vCloud Director Administrator's Guide

Updated Information

This vCloud Director Administrator's Guide is updated with each release of the product or when necessary.
This table provides the update history of the vCloud Director Administrator's Guide.
Revision Description
001256-01
001256-00 Initial release.
Corrected a statement about how the allocation pool model works when elastic VDC is disabled in
n
“Understanding Allocation Models,” on page 26.
Added the requirement for 8 CPUs with Full-4 gateway configuration to “Select Gateway and IP
n
Configuration Options for a New Edge Gateway,” on page 67.
Added a topic on enabling VAAI for fast provisioning. See “Enable VAAI for Fast Provisioning on a
n
Datastore,” on page 109.
Added right descriptions to “Predefined Roles and Their Rights,” on page 149.
n
Added requirement for disabling vSAN before creating a provider virtual datacenter in “Create a
n
Provider Virtual Datacenter,” on page 19.
Added information on upgrading an edge gateway in “Upgrade an Edge Gateway,” on page 82.
n
VMware, Inc. 9
vCloud Director Administrator's Guide

Getting Started with vCloud Director 1

The first time you log in to the vCloud Director Web console, the Home tab guides you through the steps to configure your installation.
Overview of vCloud Director Administration on page 11
n
VMware vCloud Director is a software product that provides the ability to build secure, multi-tenant clouds by pooling virtual infrastructure resources into virtual datacenters and exposing them to users through Web-based portals and programmatic interfaces as a fully-automated, catalog-based service.
Log In to the Web Console on page 14
n
You can access the vCloud Director user interface by using a Web browser.
System Administrator Home Page on page 14
n
The Home tab provides links to common tasks and support resources.
Preparing the System on page 14
n
The Home tab in the vCloud Director Web console provides links to the tasks required to prepare the system for use. Links become active after you complete prerequisite tasks.
Replace SSL Certificates on page 15
n
If any members of your vCloud Director server group are using self-signed SSL certificates, you can upgrade them to signed SSL certificates to obtain a higher level of trust within your cloud.
Set User Preferences on page 16
n
You can set certain display and system alert preferences that take effect every time you log in to the system. You can also change the password for your system administrator account.

Overview of vCloud Director Administration

VMware vCloud Director is a software product that provides the ability to build secure, multi-tenant clouds by pooling virtual infrastructure resources into virtual datacenters and exposing them to users through Web-based portals and programmatic interfaces as a fully-automated, catalog-based service.
The VMware vCloud Director Administrator's Guide provides information about adding resources to the system, creating and provisioning organizations, managing resources and organizations, and monitoring the system.
VMware, Inc.
11
vCloud Director Administrator's Guide
vSphere Resources
vCloud Director relies on vSphere resources to provide CPU and memory to run virtual machines. In addition, vSphere datastores provide storage for virtual machine files and other files necessary for virtual machine operations. vCloud Director also utilizes vSphere distributed switches and vSphere port groups to support virtual machine networking.
You can use these underlying vSphere resources to create cloud resources.
Cloud Resources
Cloud resources are an abstraction of their underlying vSphere resources. They provide the compute and memory resources for vCloud Director virtual machines and vApps. A vApp is a virtual system that contains one or more individual virtual machines, along with parameters that define operational details. Cloud resources also provide access to storage and network connectivity.
Cloud resources include provider and organization virtual datacenters, external networks, organization virtual datacenter networks, and network pools. Before you can add cloud resources to vCloud Director, you must add vSphere resources.
Provider Virtual Datacenters
A provider virtual datacenter combines the compute and memory resources of a single vCenter Server resource pool with the storage resources of one or more datastores available to that resource pool.
You can create multiple provider virtual datacenters for users in different geographic locations or business units, or for users with different performance requirements.
Organization Virtual Datacenters
An organization virtual datacenter provides resources to an organization and is partitioned from a provider virtual datacenter. Organization virtual datacenters provide an environment where virtual systems can be stored, deployed, and operated. They also provide storage for virtual media, such as floppy disks and CD ROMs.
A single organization can have multiple organization virtual datacenters.
vCloud Director Networking
vCloud Director supports three types of networks.
External networks
n
Organization virtual datacenter networks
n
vApp networks
n
Some organization virtual datacenter networks and all vApp networks are backed by network pools.
External Networks
An external network is a logical, differentiated network based on a vSphere port group. organization virtual datacenter networks can connect to external networks to provide Internet connectivity to virtual machines inside of a vApp.
Only system administrators create and manage external networks.
Chapter 1 Getting Started with vCloud Director
Organization Virtual Datacenter Networks
An organization virtual datacenter network is contained within a vCloud Director organization virtual datacenter and is available to all the vApps in the organization. An organization virtual datacenter network allows vApps within an organization to communicate with each other. You can connect an organization virtual datacenter network to an external network to provide external connectivity. You can also create an isolated organization virtual datacenter network that is internal to the organization. Certain types of organization virtual datacenter networks are backed by network pools.
Only system administrators can create organization virtual datacenter networks. System administrators and organization administrators can manage organization virtual datacenter networks, although there are some limits to what an organization administrator can do.
vApp Networks
A vApp network is contained within a vApp and allows virtual machines in the vApp to communicate with each other. You can connect a vApp network to an organization virtual datacenter network to allow the vApp to communicate with other vApps in the organization and outside of the organization, if the organization virtual datacenter network is connected to an external network. vApp networks are backed by network pools.
Most users with access to a vApp can create and manage their own vApp networks. Working with vApp networks is described in the VMware vCloud Director User's Guide.
Network Pools
A network pool is a group of undifferentiated networks that is available for use within an organization virtual datacenter. A network pool is backed by vSphere network resources such as VLAN IDs, port groups, or Cloud isolated networks. vCloud Director uses network pools to create NAT-routed and internal organization virtual datacenter networks and all vApp networks. Network traffic on each network in a pool is isolated at layer 2 from all other networks.
Each organization virtual datacenter in vCloud Director can have one network pool. Multiple organization virtual datacenters can share the same network pool. The network pool for an organization virtual datacenter provides the networks created to satisfy the network quota for an organization virtual datacenter.
Only system administrators can create and manage network pools.
Organizations
vCloud Director supports multi-tenancy through the use of organizations. An organization is a unit of administration for a collection of users, groups, and computing resources. Users authenticate at the organization level, supplying credentials established by an organization administrator when the user was created or imported. System administrators create and provision organizations, while organization administrators manage organization users, groups, and catalogs. Organization administrator tasks are described in the VMware vCloud Director User's Guide.
Users and Groups
An organization can contain an arbitrary number of users and groups. Users can be created by the organization administrator or imported from a directory service such as LDAP. Groups must be imported from the directory service. Permissions within an organization are controlled through the assignment of rights and roles to users and groups.
VMware, Inc. 13
vCloud Director Administrator's Guide
Catalogs
Organizations use catalogs to store vApp templates and media files. The members of an organization that have access to a catalog can use the catalog's vApp templates and media files to create their own vApps. A system administrator can allow an organization to publish a catalog to make it available to other organizations. Organizations administrators can then choose which catalog items to provide to their users.

Log In to the Web Console

You can access the vCloud Director user interface by using a Web browser.
For a list of supported browsers, see the VMware vCloud Director Installation and Configuration Guide.
Prerequisites
You must have the system administrator user name and password that you created during the system setup.
Procedure
1 Open a Web browser and navigate to https://hostname.domain.tld/cloud.
For hostname.domain.tld, provide the fully qualified domain name associated with the primary IP address of the vCloud Director server host. For example, https://cloud.example.com/cloud.
2 Type the system administrator user name and password and click Login.
vCloud Director displays a list of the next tasks you should perform.

System Administrator Home Page

The Home tab provides links to common tasks and support resources.
The first time you log in after installing vCloud Director, the Home tab includes a list of quick start tasks, designed to help you get the system up and running. You can continue to access these tasks even after the system is configured.
The Home tab also includes links to many of the most common tasks related to managing cloud resources, organizations, and system users.

Preparing the System

The Home tab in the vCloud Director Web console provides links to the tasks required to prepare the system for use. Links become active after you complete prerequisite tasks.
For more information about each task, see Table 1-1.
Table 11. Quick Start Tasks
Task For More Information
Attach a vCenter “Attach a vCenter Server,” on page 17
Create a Provider Virtual Datacenter “Create a Provider Virtual Datacenter,” on page 19
Create an External Network “Add an External Network,” on page 21
Create a Network Pool “Network Pools,” on page 21
Create an Organization “Create an Organization,” on page 27
Allocate Resources to an Organization “Create an Organization Virtual Datacenter,” on page 54
Table 11. Quick Start Tasks (Continued)
Task For More Information
Add a Network to an Organization “Adding Networks to an Organization Virtual Datacenter,”
Add a Catalog to an Organization “Add a Catalog to an Organization,” on page 114

Replace SSL Certificates

If any members of your vCloud Director server group are using self-signed SSL certificates, you can upgrade them to signed SSL certificates to obtain a higher level of trust within your cloud.
You can use the vCloud Director configuration script to upgrade the SSL certificates on a vCloud Director server. When you run this script on a server that has already been configured, it validates the database connection details and prompts for SSL certificate information, but skips all the other configuration steps, so that the existing configuration is not modified.
Each vCloud Director server requires two SSL certificates, one for each of its IP addresses, in a Java keystore file. You must execute this procedure for each member of your vCloud Director server group. You can use signed certificates (signed by a trusted certification authority) or self-signed certificates. Signed certificates provide the highest level of trust.
Chapter 1 Getting Started with vCloud Director
on page 84
Prerequisites
This procedure requires you to stop vCloud Director services on each server for which you replace certificates. Stopping a server can have an impact on cloud operations.
Have the following information available:
n
Location and password of the keystore file that includes the SSL certificates for this server. See the
n
vCloud Director Installation and Configuration Guide. The configuration script does not run with a privileged identity, so the keystore file and the directory in which it is stored must be readable by any user.
Password for each SSL certificate.
n
Procedure
1 Log in to the target server as root.
2 Stop vCloud Director services on the server.
3 Run the configuration script on the server.
Open a console, shell, or terminal window, and type:
/opt/vmware/vcloud-director/bin/configure
4 Specify the full path to the Java keystore file that holds the new certificates.
Please enter the path to the Java keystore containing your SSL certificates and private keys:/opt/keystore/certificates.ks
5 Enter the keystore and certificate passwords.
Please enter the password for the keystore: Please enter the private key password for the 'http' SSL certificate: Please enter the private key password for the 'consoleproxy' SSL certificate:
The configuration script replaces the certificates and re-starts vCloud Director services on the server.
VMware, Inc. 15
vCloud Director Administrator's Guide
What to do next
If you have acquired new certificates for any other members of the vCloud Director server group, use this procedure to replace the existing certificates on those servers

Set User Preferences

You can set certain display and system alert preferences that take effect every time you log in to the system. You can also change the password for your system administrator account.
Procedure
1 In the title bar of the Web console, click Preferences.
2 Click the Defaults tab.
3 Select the page to display when you log in.
4 Select the number of days or hours before a runtime lease expires that you want to receive an email
notification.
5 Select the number of days or hours before a storage lease expires that you want to receive an email
notification.
6 Click the Change Password tab.
7 (Optional) Type your current password and type your new password twice.
8 Click OK.
16 VMware, Inc.

Adding Resources to vCloud Director 2

vCloud Director derives its resources from an underlying vSphere virtual infrastructure. After you register vSphere resources in vCloud Director, you can allocate these resources for organizations within the vCloud Director installation to use.
This chapter includes the following topics:
“Adding vSphere Resources,” on page 17
n
“Adding Cloud Resources,” on page 19
n

Adding vSphere Resources

vCloud Director relies on vSphere resources to provide CPU and memory to run virtual machines. In addition, vSphere datastores provide storage for virtual machine files and other files necessary for virtual machine operations.
For information about vCloud Director system requirements and supported versions of vCenter Server and ESX/ESXi see the VMware vCloud Director Installation and Configuration Guide.

Attach a vCenter Server

VMware, Inc.
Attach a vCenter Server to make its resources available for use with vCloud Director. After you attach a vCenter Server, you can assign its resource pools, datastores, and networks to a provider virtual datacenter.
Prerequisites
An instance of vShield is installed and configured for vCloud Director. For more information, see the VMware vCloud Director Installation and Configuration Guide.
Procedure
1 Open the Attach New vCenter Wizard on page 18
Open the Attach New vCenter wizard to start the process of attaching a vCenter Server to vCloud Director.
2 Provide vCenter Server Connection and Display Information on page 18
To attach a vCenter Server to vCloud Director, you must provide connection information and a display name for the vCenter Server.
3 Connect to vShield on page 18
vCloud Director requires vShield to provide network services. Each vCenter Server you attach to vCloud Director requires its own instance of vShield.
4 Confirm Settings and Attach the vCenter Server on page 18
Before you attach the new vCenter Server, review the settings you entered.
17
vCloud Director Administrator's Guide
Open the Attach New vCenter Wizard
Open the Attach New vCenter wizard to start the process of attaching a vCenter Server to vCloud Director.
Procedure
1 Click the Manage & Monitor tab and then click vCenters in the left pane.
2 Click the Attach New vCenter button.
The Attach New vCenter wizard launches.
Provide vCenter Server Connection and Display Information
To attach a vCenter Server to vCloud Director, you must provide connection information and a display name for the vCenter Server.
Procedure
1 Type the host name or IP address of the vCenter Server.
2 Select the port number that vCenter Server uses.
The default port number is 443.
3 Type the user name and password of a vCenter Server administrator.
The user account must have the Administrator role in vCenter.
4 Type a name for the vCenter Server.
The name you type becomes the display name for the vCenter Server in vCloud Director.
5 (Optional) Type a description for the vCenter Server.
6 Click Next to save your choices and go to the next page.
Connect to vShield
vCloud Director requires vShield to provide network services. Each vCenter Server you attach to vCloud Director requires its own instance of vShield.
Procedure
1 Type the host name or IP address of the vShield instance to use with the vCenter Server that you are
attaching.
2 Type the user name and password to connect to vShield.
The default user name is admin and the default password is default. You can change these defaults in the vShield user interface.
3 Click Next to save your choices and go to the next page.
Confirm Settings and Attach the vCenter Server
Before you attach the new vCenter Server, review the settings you entered.
Procedure
1 Review the settings for the vCenter Server and vShield.
2 (Optional) Click Back to modify the settings.
3 Click Finish to accept the settings and attach the vCenter Server.
18 VMware, Inc.
Chapter 2 Adding Resources to vCloud Director
vCloud Director attaches the new vCenter Server and registers its resources for provider virtual datacenters to use.
What to do next
Assign a vShield for VMware vCloud Director license key in the vCenter Server.

Assign a vShield License Key in vCenter

After you attach a vCenter Server to vCloud Director, you must use the vSphere Client to assign a vShield for VMware vCloud Director license key.
Prerequisites
The vSphere Client must be connected to the vCenter Server system.
Procedure
1 From a vSphere Client host that is connected to the vCenter Server system, select Home > Licensing.
2 For the report view, select Asset.
3 Right-click the vShield Edge asset and select Change license key.
4 Select Assign a new license key and click Enter Key.
5 Enter the license key, enter an optional label for the key, and click OK.
Use the vShield for VMware vCloud Director license key you received when you purchased vCloud Director. You can use this license key in multiple vCenter Servers.
6 Click OK.

Adding Cloud Resources

Cloud resources are an abstraction of their underlying vSphere resources and provide the compute and memory resources for vCloud Director virtual machines and vApps, and access to storage and network connectivity.
Cloud resources include provider and organization virtual datacenters, external networks, organization virtual datacenter networks, and network pools. Before you can add cloud resources to vCloud Director, you must add vSphere resources.
For more information about organization virtual datacenters, see “Allocate Resources to an Organization,” on page 31.
For more information about organization virtual datacenter networks, see “Managing Organization Virtual
Datacenter Networks,” on page 83

Provider Virtual Datacenters

A provider virtual datacenter combines the compute and memory resources of a single vCenter Server resource pool with the storage resources of one or more datastores connected to that resource pool.
A provider virtual datacenter is the source for organization virtual datacenters.

Create a Provider Virtual Datacenter

You can create a provider virtual datacenter to register vSphere compute, memory, and storage resources for vCloud Director to use. You can create multiple provider virtual datacenters for users in different geographic locations or business units, or for users with different performance requirements.
A provider virtual datacenter can include only a single resource pool from a single vCenter Server.
VMware, Inc. 19
vCloud Director Administrator's Guide
If you plan to add a resource pool that is part of a cluster that uses vSphere HA, make sure you are familiar with how vSphere HA calculates slot size. For more information about slot sizes and customizing vSphere HA behavior, see the VMware vSphere Availability Guide.
Prerequisites
Verify that at least one vCenter Server is attached with an available resource pool to vCloud Director.
n
The resource pool must be in a vCenter cluster configured to use automated DRS. The vCenter Server must have the vShield for VMware vCloud Director license key.
Verify that vSAN is disabled on the vSphere cluster you are using.
n
Set up the VXLAN infrastructure in vShield Manager. See "VXLAN Virtual Wires Management" in the
n
vShield Administration Guide.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Click New Provider VDC.
3 Type a name and optional description.
You can use the name and description fields to indicate the vSphere functions available to the provider virtual datacenter, for example, vSphere HA.
4 Select the latest supported hardware version and click Next.
This selection determines the latest supported hardware version for virtual machines in organization virtual datacenters based on this provider virtual datacenter. Hardware Version 10 requires ESXi 5.5 hosts.
5 Select a vCenter Server and resource pool and click Next.
If the vCenter Server has no available resource pools, no resource pools appear in the list.
6 Select one or more storage policies for the provider virtual datacenter to support, click Add, and click
Next.
7 Click Finish to create the provider virtual datacenter.
vCloud Director creates a provider virtual datacenter and associated VXLAN network pool.
What to do next
You can enable vSAN on the cluster after the provider virtual datacenter has been created.

External Networks

An external network is a logical, differentiated network based on a vSphere port group. An external network provides the interface to the Internet for virtual machines connected to external organization virtual datacenter networks.
For more information about organization virtual datacenter networks, see “Managing Organization Virtual
Datacenter Networks,” on page 83.
20 VMware, Inc.
Chapter 2 Adding Resources to vCloud Director

Add an External Network

Add an external network to register vSphere network resources for vCloud Director to use. You can create organization virtual datacenter networks that connect to an external network.
Prerequisites
A vSphere port group is available. If the port group uses VLAN, it can use only a single VLAN. Port groups with VLAN trunking are not supported.
VMware recommends using an auto-expanding static port group.
Procedure
1 Click the Manage & Monitor tab and click External Networks in the left pane.
2 Click the Add Network button.
3 Select a vCenter Server and a vSphere port group and click Next.
4 Type the network settings and click Next.
5 Type a name and optional description for the network and click Next.
6 Review the network settings and click Finish.
What to do next
You can now create an organization virtual datacenter network that connects to the external network.

Network Pools

A network pool is a group of undifferentiated networks that is available for use in an organization virtual datacenter to create vApp networks and certain types of organization virtual datacenter networks.
A network pool is backed by vSphere network resources such as VLAN IDs, port groups, or cloud isolated networks. vCloud Director uses network pools to create NAT-routed and internal organization virtual datacenter networks and all vApp networks. Network traffic on each network in a pool is isolated at layer 2 from all other networks.
Each organization virtual datacenter in vCloud Director can have one network pool. Multiple organization virtual datacenters can share the same network pool. The network pool for an organization virtual datacenter provides the networks created to satisfy the network quota for an organization virtual datacenter.
A VXLAN network pool is created when you create a provider virtual datacenter. In most cases, this is the only network pool you will need.
VXLAN Network Pools
vSphere VXLAN networks are based on the IETF draft VXLAN standard. These networks support the local­domain isolation equivalent to what is vSphere isolation-backed networks support.
When you create a provider virtual datacenter, a VXLAN network pool is created in vCloud Director. When you use this network pool, VXLAN virtual wires are created in vCenter Server. Most configurations do not require network pools beyond the VXLAN network pool.
This pool is given a name derived from the name of the containing provider virtual datacenter and attached to it at creation. You cannot delete or modify this network pool. You cannot create a VXLAN network pool by any other method. If you rename a provider virtual datacenter, its VXLAN network pool is automatically renamed.
VMware, Inc. 21
vCloud Director Administrator's Guide
vSphere VXLAN networks provide the following benefits.
Logical networks spanning layer 3 boundaries
n
Logical networks spanning multiple racks on a single layer 2
n
Broadcast containment
n
Higher performance
n
Greater scale (up to 16 million network addresses)
n
For more information about VXLAN in a vCloud environment, see the vShield Administration Guide.
Add a Network Pool That Is Backed by VLAN IDs
You can add a VLAN-backed network pool to register vSphere VLAN IDs for vCloud Director to use. A VLAN-backed network pool provides the best security, scalability, and performance for organization virtual datacenter networks.
Prerequisites
Verify that a range of VLAN IDs and a vSphere distributed switch are available in vSphere. The VLAN IDs must be valid IDs that are configured in the physical switch to which the ESX/ESXi servers are connected.
CAUTION The VLANs must be isolated at the layer 2 level. Failure to properly isolate the VLANs can cause a disruption on the network.
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Click Add Network Pool.
3 Select VLAN-backed and click Next.
4 Type a range of VLAN IDs and click Add.
You can create one network for each VLAN ID.
5 Select a vCenter Server and vSphere distributed switch and click Next.
6 Type a name and optional description for the network and click Next.
7 Review the network pool settings and click Finish.
What to do next
You can now create an organization virtual datacenter network that is backed by the network pool or associate the network pool with an organization virtual datacenter and create vApp networks.
Add a Network Pool Backed by vSphere Port Groups
You can add a network pool backed by port groups to register vSphere port groups for vCloud Director to use. Unlike other types of network pools, a port group-backed network pool does not require a vSphere distributed switch and can support port groups associated with third-party distributed switches.
CAUTION The port groups must be isolated from all other port groups at the layer 2 level. The port groups must be physically isolated or must be isolated by using VLAN tags. Failure to properly isolate the port groups can cause a disruption on the network.
Chapter 2 Adding Resources to vCloud Director
Prerequisites
Verify that one or more port groups are available in vSphere. The port groups must be available on each ESX/ESXi host in the cluster, and each port group must use only a single VLAN. Port groups with VLAN trunking are not supported.
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Click Add Network Pool.
3 Select vSphere Port Group-backed and click Next.
4 Select a vCenter Server and click Next.
5 Select one or more port groups, click Add, and click Next.
You can create one network for each port group.
6 Type a name and optional description for the network and click Next.
7 Review the network pool settings and click Finish.
What to do next
You can now create an organization virtual datacenter network that the network pool backs, or associate the network pool with an organization virtual datacenter and create vApp networks.
Add a Network Pool That Is Backed by Cloud Isolated Networks
You can create a network pool that is backed by cloud isolated networks. A cloud isolated network spans hosts, provides traffic isolation from other networks, and is the best source for vApp networks.
An isolation-backed network pool does not require preexisting port groups in vSphere.
Prerequisites
Verify that a vSphere distributed switch is available.
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Click Add Network Pool.
3 Select VCD Network Isolation-backed and click Next.
4 Type the number of networks to create from the network pool.
5 (Optional) Type a VLAN ID.
6 Select a vCenter Server and a vSphere distributed switch and click Next.
7 Type a name and optional description for the network and click Next.
8 Review the network pool settings and click Finish.
vCloud Director creates cloud isolated networks in vSphere as they are needed.
What to do next
You can now create an organization virtual datacenter network that is backed by the network pool or associate the network pool with an organization virtual datacenter and create vApp networks. You can also increase the network pool MTU. See “Set the MTU for a Network Pool Backed by Cloud Isolated
Networks,” on page 24.
VMware, Inc. 23
vCloud Director Administrator's Guide
Set the MTU for a Network Pool Backed by Cloud Isolated Networks
You can specify the maximum transmission units (MTU) that vCloud Director uses for a network pool that is backed by Cloud isolated networks. The MTU is the maximum amount of data that can be transmitted in one packet before it is divided into smaller packets.
When you configure the virtual machine guest operating system and the underlying physical infrastructure with the standard MTU (1500 bytes), the VMware network isolation protocol fragments frames. To avoid frame fragmentation, increase the MTU to at least 1600 bytes for the network pool and the underlying physical network. You can increase the network pool MTU up to, but not greater than, the MTU of the physical network.
If your physical network has an MTU of less than 1500 bytes, decrease the MTU of the network pool to match the underlying physical network.
Prerequisites
Verify that you have a network pool backed by cloud isolated networks. Before you increase the MTU for a network pool, you must ensure that the physical switch infrastructure supports an MTU of greater than 1500, also known as jumbo frames.
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Right-click the network pool name and select Properties.
3 On the Network Pool MTU tab, type the MTU and click OK.
vCloud Director modifies the MTU for the network pool and all other network pools that use the same vSphere distributed switch.
Creating and Provisioning
Organizations 3
Organizations provide resources to a group of users and set policies that determine how users can consume those resources. Create an organization for each group of users that requires its own resources, policies, or both.
This chapter includes the following topics:
“Understanding Leases,” on page 25
n
“Understanding Allocation Models,” on page 26
n
“Create an Organization,” on page 27
n
“Allocate Resources to an Organization,” on page 31
n

Understanding Leases

Creating an organization involves specifying leases. Leases provide a level of control over an organization's storage and compute resources by specifying the maximum amount of time that vApps can be running and that vApps and vApp templates can be stored.
The goal of a runtime lease is to prevent inactive vApps from consuming compute resources. For example, if a user starts a vApp and goes on vacation without stopping it, the vApp continues to consume resources.
A runtime lease begins when a user starts a vApp. When a runtime lease expires, vCloud Director stops the vApp.
The goal of a storage lease is to prevent unused vApps and vApp templates from consuming storage resources. A vApp storage lease begins when a user stops the vApp. Storage leases do not affect running vApps. A vApp template storage lease begins when a user adds the vApp template to a vApp, adds the vApp template to a workspace, downloads, copies, or moves the vApp template.
When a storage lease expires, vCloud Director marks the vApp or vApp template as expired, or deletes the vApp or vApp template, depending on the organization policy you set.
For more information about specifying lease settings, see “Configure Organization Lease, Quota, and Limit
Settings,” on page 31.
Users can configure email notification to receive a message before a runtime or storage lease expires. See
“Set User Preferences,” on page 16 for information about lease expiration preferences.
VMware, Inc.
25
vCloud Director Administrator's Guide

Understanding Allocation Models

An allocation model determines how and when the provider virtual datacenter compute and memory resources that you allocate are committed to the organization virtual datacenter.
Allocation Pool Allocation Model
With the allocation pool allocation model, a percentage of the resources you allocate from the provider virtual datacenter are committed to the organization virtual datacenter. You can specify the percentage for both CPU and memory. This percentage is known as the percentage guarantee factor, and it allows you to overcommit resources.
Starting with vCloud Director 5.1.2, system administrators can configure allocation-pool organization virtual datacenters to be elastic or non-elastic. This is a global setting that affects all allocation-pool organization virtual datacenters. See “Modify General System Settings,” on page 129.
By default, allocation-pool organization virtual datacenters have a elastic allocation pool enabled. Systems upgraded from vCloud Director 5.1 that have allocation-pool organization virtual datacenters with virtual machines spanning multiple resource pools have elastic allocation pool enabled by default.
When allocation-pool virtual datacenters have the elastic allocation pool feature enabled, the organization virtual datacenter spans and uses all resource pools associated with its provider virtual datacenter. As a result, vCPU frequency is now a mandatory parameter for an allocation pool.
Set the vCPU frequency and percentage guarantee factor in such a way that a sufficient number of virtual machines can be deployed on the organization virtual datacenter without CPU being a bottleneck factor.
When a virtual machine is created, the placement engine places it on a provider virtual datacenter resource pool that best fits the requirements of the virtual machine. A subresource pool is created for this organization virtual datacenter under the provider virtual datacenter resource pool, and the virtual machine is placed under that subresource pool.
When the virtual machine powers on, the placement engine checks the provider virtual datacenter resource pool to ensure that it still can power on the virtual machine. If not, the placement engine moves the virtual machine to a provider virtual datacenter resource pool with sufficient resources to run the virtual machine. A subresource pool for the organization virtual datacenter is created if one does not already exist.
The subresource pool is configured with sufficient resources to run the new virtual machine. The subresource pool's memory limit is increased by the virtual machine's configured memory size, and its memory reservation is increased by the virtual machine's configured memory size times the percentage guarantee factor for the organization virtual datacenter. The subresource pool's CPU limit is increased by the number of vCPUs that the virtual machine is configured with times the vCPU frequency specified at the organization virtual datacenter level. The CPU reservation is increased by the number of vCPU configured for the virtual machine times the vCPU specified at the organization virtual datacenter level times the percentage guarantee factor for CPU set at the organization virtual datacenter level. The virtual machine is reconfigured to set its memory and CPU reservation to zero and the virtual machine placement engine places the virtual machine on a provider virtual datacenter resource pool.
The benefits of the allocation-pool model are that a virtual machine can take advantage of the resources of an idle virtual machine on the same subresource pool. This model can take advantage of new resources added to the provider virtual datacenter.
In rare cases, a virtual machine is switched from the resource pool it was assigned at creation to a different resource pool at power on because of a lack of resources on the original resource pool. This change might involve a minor cost to move the virtual machine disk files to a new resource pool.
When the elastic allocation pool feature is disabled, the behavior of allocation-pool organization virtual datacenters is similar to the allocation pool model in vCloud Director 1.5. In this model, the vCPU frequency is not configurable. Overcommitment is controlled by setting the percentage of resources guaranteed.
26 VMware, Inc.
Chapter 3 Creating and Provisioning Organizations
Pay-As-You-Go Allocation Model
With the pay-as-you-go allocation model, resources are committed only when users create vApps in the organization virtual datacenter. You can specify a percentage of resources to guarantee, which allows you to overcommit resources. You can make a pay-as-you-go organization virtual datacenter elastic by adding multiple resource pools to its provider virtual datacenter.
Resources committed to the organization are applied at the virtual machine level.
When a virtual machine is powered on, the placement engine checks the resource pool and assigns it to another resource pool if the original resource pool cannot accommodate the virtual machine. If a sub­resource pool is not available for the resource pool, vCloud Director creates one with an infinite limit and zero rate. The virtual machine's rate is set to its limit times its committed resources and the virtual machine is placed, and the virtual machine placement engine places the virtual machine on a provider virtual datacenter resource pool.
The benefit of the pay-as-you-go model is that it can take advantage of new resources added to the provider virtual datacenter.
In rare cases, a virtual machine is switched from the resource pool it was assigned at creation to a different resource pool at power on because of a lack of resources on the original resource pool. This change might involve a minor cost to move the virtual machine disk files to a new resource pool.
In the pay-as-you-go model, no resources are reserved ahead of time, so a virtual machine might fail to power on if there aren't enough resources. Virtual machines operating under this model cannot take advantage of the resources of idle virtual machines on the same subresource pool, because resources are set at the virtual machine level.
Reservation Pool Allocation Model
All of the resources you allocate are immediately committed to the organization virtual datacenter. Users in the organization can control overcommitment by specifying reservation, limit, and priority settings for individual virtual machines.
Because only one resource pool and one subresource pool are available in this model, the placement engine does not reassign a virtual machine's resource pool when it is powered on. The virtual machine's rate and limit are not modified.
With the reservation pool model, sources are always available when needed. This model also offers fine control over virtual machine rate, limit, and shares, which can lead to optimal use of the reserved resources if you plan carefully.
In this model, reservation is always done at the primary cluster. If sufficient resources are not available to create an organization virtual datacenter on the primary cluster, the organization virtual datacenter creation fails.
Other limitations of this model are that it is not elastic and organization users might set nonoptimal shares, rates, and limits on virtual machines, leading to underuse of resources.

Create an Organization

Creating an organization involves specifying the organization settings and creating a user account for the organization administrator.
Procedure
1 Open the New Organization Wizard on page 28
Open the New Organization wizard to start the process of creating an organization.
VMware, Inc. 27
vCloud Director Administrator's Guide
2 Name the Organization on page 28
Provide a descriptive name and an optional description for your new organization.
3 Specify the Organization LDAP Options on page 29
You can use an LDAP service to provide a directory of users and groups for the organization. If you do not specify an LDAP service, you must create a user account for each user in the organization. Only a system administrator can set LDAP options. An organization administrator cannot modify LDAP options.
4 Add Local Users to the Organization on page 29
Every organization should have at least one local organization administrator account, so that users can log in even if the LDAP and SAML services are unavailable.
5 Set the Organization Catalog Sharing, Publishing, and Subscription Policies on page 30
Catalogs provide organization users with catalogs of vApp templates and media that they can use to create vApps and install applications on virtual machines.
6 Configure Email Preferences on page 30
vCloud Director requires an SMTP server to send user notification and system alert emails. An organization can use the system email settings or use its own email settings.
7 Configure Organization Lease, Quota, and Limit Settings on page 31
Leases, quotas, and limits constrain the ability of organization users to consume storage and processing resources. Use these settings to prevent users from depleting or monopolizing an organization's resources.
8 Confirm Settings and Create the Organization on page 31
Before you create the organization, review the settings you entered.

Open the New Organization Wizard

Open the New Organization wizard to start the process of creating an organization.
Procedure
1 Click the Manage & Monitor tab and then click Organizations in the left pane.
2 Click the New Organization button.
The New Organization wizard starts.

Name the Organization

Provide a descriptive name and an optional description for your new organization.
Procedure
1 Type an organization name.
This name provides a unique identifier that appears as part of the URL that members of the organization use to log in to the organization.
2 Type a display name for the organization.
This name appears in the browser header when an organization member uses the unique URL to log in to vCloud Director. An administrator or organization administrator can change this name later.
3 (Optional) Type a description of the organization.
4 Click Next.
Chapter 3 Creating and Provisioning Organizations

Specify the Organization LDAP Options

You can use an LDAP service to provide a directory of users and groups for the organization. If you do not specify an LDAP service, you must create a user account for each user in the organization. Only a system administrator can set LDAP options. An organization administrator cannot modify LDAP options.
For more information about entering custom LDAP settings, see “Configuring the System LDAP Settings,” on page 133.
Procedure
1 Select the source for organization users.
Option Description
Do not use LDAP
VCD system LDAP service
Custom LDAP service
2 Provide any additional information that your selection requires.
Organization administrator creates a local user account for each user in the organization. You cannot create groups if you select this option.
Use the vCloud Director system LDAP service as the source for organization users and groups.
Connect the organization to its own private LDAP service.
Option Action
Do not use LDAP
VCD system LDAP service
Custom LDAP service
Click Next.
(Optional) Type the distinguished name of the organizational unit (OU) to use to limit the users that you can import into the organization and click Next. If you do not enter anything, you can import all users in the system LDAP service into the organization.
NOTE Specifying an OU does not limit the LDAP groups you can import. You can import any LDAP group from the system LDAP root. However, only users who are in both the OU and the imported group can log in to the organization.
Click Next and enter the custom LDAP settings for the organization.

Add Local Users to the Organization

Every organization should have at least one local organization administrator account, so that users can log in even if the LDAP and SAML services are unavailable.
Procedure
1 Click Add.
2 Type a user name and password.
3 Assign a role to the user.
4 (Optional) Type the contact information for the user.
5 Select Unlimited or type a user quota for stored and running virtual machines and click OK.
These quotas limit the user's ability to consume storage and compute resources in the organization.
6 Click Next.
VMware, Inc. 29
vCloud Director Administrator's Guide

Set the Organization Catalog Sharing, Publishing, and Subscription Policies

Catalogs provide organization users with catalogs of vApp templates and media that they can use to create vApps and install applications on virtual machines.
Catalogs can be shared between organizations in different instances of vCloud Director, between organizations in the same instance of vCloud Director, or remain accessible only within the host organization.
Procedure
1 Set the organization catalog policies.
Option Description
Allow sharing catalogs to other organizations
Allow creation of catalog feeds for consumption by external organizations
Allow subscription to external catalog feeds
2 Click Next.
Allows organization administrators to share this organization's catalogs with other organizations in this instance of vCloud Director.
If you do not select this option, organization administrators are still able to share catalogs within the organization.
Allows organization administrators to share this organization's catalogs with organizations outside this instance of vCloud Director.
Allows organization administrators to subscribe this organization to catalog feeds from outside this instance of vCloud Director.

Configure Email Preferences

vCloud Director requires an SMTP server to send user notification and system alert emails. An organization can use the system email settings or use its own email settings.
Procedure
1 Select an SMTP server option.
Option Description
Use system default SMTP server
Set organization SMTP server
2 Select a notification settings option.
Option Description
Use system default notification settings
Set organization notification settings
3 (Optional) Type a destination email address and click Test Email Settings to verify that all SMTP server
settings are configured as expected.
The organization uses the system SMTP server.
The organization uses its own SMTP server. Type the DNS host name or IP address and port number of the SMTP server. (Optional) Select the Requires authentication check box and type a user name and password.
The organization uses the system notification settings.
The organization uses its own notification settings. Type an email address that appears as the sender for organization emails, type text to use as the subject prefix for organization emails, and select the recipients for organization emails.
4 Click Next.
30 VMware, Inc.
Chapter 3 Creating and Provisioning Organizations

Configure Organization Lease, Quota, and Limit Settings

Leases, quotas, and limits constrain the ability of organization users to consume storage and processing resources. Use these settings to prevent users from depleting or monopolizing an organization's resources.
For more information about leases, see “Understanding Leases,” on page 25.
Procedure
1 Select the lease options for vApps and vApp templates.
Leases provide a level of control over an organization's storage and compute resources by specifying the maximum amount of time that vApps can run and that vApps and vApp templates can be stored. You can also specify what happens to vApps and vApp templates when their storage lease expires.
2 Select the quotas for running and stored virtual machines.
Quotas determine how many virtual machines each user in the organization can store and power on in the organization's virtual datacenters. The quotas that you specify act as the default for all new users added to the organization.
3 Select the limits for resource intensive operations.
Certain vCloud Director operations, for example copy and move, are more resource intensive than others. Limits prevent resource intensive operations from affecting all the users in an organization and also provide a defense against denial-of-service attacks.
4 Select the number of simultaneous VMware Remote Console connections for each virtual machine.
You might want to limit the number of simultaneous connections for performance or security reasons.
NOTE This setting does not affect Virtual Network Computing (VNC) or Remote Desktop Protocol (RDP) connections.
5 (Optional) Select the Account lockout enabled check box, select the number of invalid logins to accept
before locking a user account, and select the lockout interval.
6 Click Next.

Confirm Settings and Create the Organization

Before you create the organization, review the settings you entered.
Procedure
1 Review the settings for the organization.
2 (Optional) Click Back to modify the settings.
3 Click Finish to accept the settings and create the organization.
What to do next
Allocate resources to the organization.

Allocate Resources to an Organization

You allocate resources to an organization by creating an organization virtual datacenter that is partitioned from a provider virtual datacenter. A single organization can have multiple organization virtual datacenters.
Prerequisites
You must have a provider virtual datacenter before you can allocate resources to an organization.
vCloud Director Administrator's Guide
Procedure
1 Open the Allocate Resources Wizard on page 33
Open the Allocate Resources wizard to start the process of creating an organization virtual datacenter for an organization.
2 Select a Provider Virtual Datacenter on page 33
An organization virtual datacenter obtains its compute and storage resources from a provider virtual datacenter. The organization virtual datacenter provides these resources to vApps and virtual machines in the organization.
3 Select an Allocation Model on page 33
The allocation model determines how and when the provider virtual datacenter compute and memory resources that you allocate are committed to the organization virtual datacenter.
4 Configure the Allocation Model on page 34
Configure the allocation model to specify the amount of provider virtual datacenter resources to allocate to the organization virtual datacenter.
5 Allocate Storage on page 35
An organization virtual datacenter requires storage space for vApps and vApp templates. You can allocate storage from the space available on provider virtual datacenter datastores.
6 Select Network Pool and Services on page 36
A network pool is a group of undifferentiated networks used to create vApp networks and internal organization virtual datacenter networks.
7 Configure an Edge Gateway on page 36
You configure an edge gateway to provide connectivity to one or more external networks.
8 Configure External Networks on page 37
Select the external networks that the edge gateway can connect to.
9 Configure IP Settings on a New Edge Gateway on page 37
Configure IP settings for external networks on the new edge gateway.
10 Suballocate IP Pools on a New Edge Gateway on page 37
Suballocate into multiple static IP pools the IP pools that the external networks on the edge gateway provide.
11 Configure Rate Limits on a New Edge Gateway on page 37
Configure the inbound and outbound rate limits for each external network on the edge gateway.
12 Create an Organization Virtual Datacenter Network on page 38
You can create an organization virtual datacenter network that is connected to the new edge gateway.
13 Name the Organization Virtual Datacenter on page 38
You can provide a descriptive name and an optional description to indicate the vSphere functions available for your new organization virtual datacenter.
14 Confirm Settings and Create the Organization Virtual Datacenter on page 38
Before you create the organization virtual datacenter, review the settings you entered.
What to do next
Add a network to the organization.
32 VMware, Inc.
Chapter 3 Creating and Provisioning Organizations

Open the Allocate Resources Wizard

Open the Allocate Resources wizard to start the process of creating an organization virtual datacenter for an organization.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Allocate Resources from the menu.
The Allocate Resources wizard starts.

Select a Provider Virtual Datacenter

An organization virtual datacenter obtains its compute and storage resources from a provider virtual datacenter. The organization virtual datacenter provides these resources to vApps and virtual machines in the organization.
Procedure
1 Select a provider virtual datacenter.
The provider virtual datacenter list displays information about available resources and the networks list displays information about networks available to the selected provider virtual datacenter.
2 Click Next.

Select an Allocation Model

The allocation model determines how and when the provider virtual datacenter compute and memory resources that you allocate are committed to the organization virtual datacenter.
Prerequisites
Verify that you understand which allocation model is appropriate for your environment. See
“Understanding Allocation Models,” on page 26.
Procedure
1 Select an allocation model.
Option Description
Allocation Pool
Pay-As-You-Go
Reservation Pool
For information about the placement engine and virtual machine shares, rates and limits, see the vCloud Director User's Guide.
A percentage of the resources you allocate from the provider virtual datacenter are committed to the organization virtual datacenter. You can specify the percentage for both CPU and memory.
Resources are committed only when users create vApps in the organization virtual datacenter.
All of the resources you allocate are immediately committed to the organization virtual datacenter.
2 Click Next.
VMware, Inc. 33
vCloud Director Administrator's Guide

Configure the Allocation Model

Configure the allocation model to specify the amount of provider virtual datacenter resources to allocate to the organization virtual datacenter.
Procedure
1 Select the allocation model options.
Not all of the models include all of the options.
Option Action
CPU allocation
CPU resources guaranteed
vCPU Speed
Memory allocation
Memory resources guaranteed
Maximum number of VMs
2 Click Next.
Enter the maximum amount of CPU, in GHz, to allocate to virtual machines running in the organization virtual datacenter. This option is available only for Allocation Pool and Reservation Pool allocation models.
Enter the percentage of CPU resources to guarantee to virtual machines running in the organization virtual datacenter. You can overcommit resources by guaranteeing less than 100 percent. This option is available only for Allocation Pool and Pay-As-You-Go allocation models. The default value for Allocation Pool is 50 percent, and the default for Pay-As­You-Go is 20 percent. For an Allocation Pool allocation model, the percentage guarantee also determines what percentage of the CPU allocation is committed for this organization virtual datacenter.
Enter the vCPU speed in GHz. Virtual machines running in the organization virtual datacenter are assigned this amount of GHz per vCPU. This option is available only for a Pay-As-You-Go allocation model.
Enter the maximum amount of memory, in GB, to allocate to virtual machines running in the organization virtual datacenter. This option is available only for Allocation Pool and Reservation Pool allocation models.
Enter the percentage of memory resources to guarantee to virtual machines running in the organization virtual datacenter. You can overcommit resources by guaranteeing less than 100 percent. This option is available only for Allocation Pool and Pay-As-You-Go allocation models. The default for Allocation Pool is 50 percent, and the default for Pay-As­You-Go is 20 percent. For an Allocation Pool allocation model, the percentage guarantee also determines what percentage of the memory allocation is committed for this organization virtual datacenter.
Enter the maximum number of virtual machines that can be created in the organization virtual datacenter.
Example: Configuring an Allocation Model
When you create an organization virtual datacenter, vCloud Director creates a vSphere resource pool based on the allocation model settings you specify.
Table 31. How Allocation Pool Settings Affect Resource Pool Settings When Single Cluster Allocation Pool is Enabled
Allocation Pool Setting
CPU Allocation 25GHz CPU Limit 25GHz
CPU % Guarantee 10% CPU Reservation 2.5GHz
Memory Allocation 50 GB Memory Limit 50GB
Memory % Guarantee 20% Memory Reservation 10GB
Allocation Pool Value Resource Pool Setting Resource Pool Value
Chapter 3 Creating and Provisioning Organizations
Table 32. How Allocation Pool Settings Affect Resource Pool Settings When the Single Cluster Allocation Pool feature is Disabled
Committed Value for this Allocation Pool Setting
CPU Allocation 25GHz CPU Limit Sum of the number of
CPU % Guarantee
Memory Allocation
Memory % Guarantee
Allocation Pool Value Resource Pool Setting
10% CPU Reservation Sum of the number of
50GB Memory Limit Sum of the configured
20% Memory Reservation Sum of the configured
Sub-Resource Pool Value
vCPU times vCPU frequency for all associated virtual machines
vCPU times vCPU frequency times percentage guarantee for CPU for all associated virtual machines
memory size for all associated virtual machines
memory size times the percentage guarantee for memory for all associated virtual machines
Org VDC Across All
Subresource Pools
N/A
2.5GHz
N/A
10GB
Table 33. How Pay-As-You Go Settings Affect Resource Pool Settings
Pay-As-You-Go Setting
CPU % Guarantee 10% CPU Reservation, CPU Limit 0.00GHz, Unlimited
Memory % Guarantee 100% Memory Reservation, Memory
Pay-As-You-Go Value Resource Pool Setting Resource Pool Value
0.00GB, Unlimited
Limit
Resource pools created to support Pay-As-You-Go organization virtual datacenters never have reservations or limits. Pay-As-You-Go settings affect only overcommitment. A 100 percent guarantee means overcommitment is impossible. The lower the percentage, the more overcommitment is possible.
Table 34. How Reservation Pool Settings Affect Resource Pool Settings
Reservation Pool Setting
CPU Allocation 25GHz CPU Reservation, CPU Limit 25GHz, 25GHz
Memory Allocation 50GB Memory Reservation, Memory
Reservation Pool Value Resource Pool Setting Resource Pool Value
50GB, 50GB
Limit

Allocate Storage

An organization virtual datacenter requires storage space for vApps and vApp templates. You can allocate storage from the space available on provider virtual datacenter datastores.
Thin provisioning can help avoid over-allocating storage and save storage space. For a virtual machine with a thin virtual disk, ESX/ESXi provisions the entire space required for the disk's current and future activities. ESX/ESXi commits only as much storage space as the disk needs for its initial operations.
VMware, Inc. 35
vCloud Director Administrator's Guide
Fast provisioning saves time by using vSphere linked clones for certain operations. See “Fast Provisioning of
Virtual Machines,” on page 120.
IMPORTANT Fast provisioning requires vCenter Server 5.0 or later and ESXi 5.0 or later hosts. If the provider virtual datacenter on which the organization virtual datacenter is based contains any ESX/ESXi 4.x hosts, you must disable fast provisioning. If the provider virtual datacenter on which the organization virtual datacenter is based contains any VMFS datastores connected to more than 8 hosts, powering on virtual machines might fail. Make sure that datastores are connected to a maximum of 8 hosts.
Procedure
1 Select the storage policy to allocate and click Add.
2 Enter the amount of storage to allocate.
3 Select the Default instantiation profile from the drop-down menu.
This is the default storage policy used for all virtual machine provisioning operations where the storage policy is not specified at the virtual machine or vApp template level.
4 (Optional) Select the Enable thin provisioning check box to enable thin provisioning for virtual
machines in the organization virtual datacenter.
5 (Optional) Deselect the Enable fast provisioning check box to disable fast provisioning for virtual
machines in the organization virtual datacenter.
6 Click Next.

Select Network Pool and Services

A network pool is a group of undifferentiated networks used to create vApp networks and internal organization virtual datacenter networks.
Procedure
1 Select a network pool or select None.
If you select None, you can add a network pool later.
2 Enter the maximum number of networks that the organization can provision from the network pool.
3 (Optional) Select Enable for each available third-party or edge gateway service to enable.
4 Click Next.

Configure an Edge Gateway

You configure an edge gateway to provide connectivity to one or more external networks.
Procedure
1 (Optional) Select Create a new edge gateway to create and configure an edge gateway.
2 Type a name and optional description for the new Edge gateway.
3 Select a gateway configuration for the edge gateway.
4 Select Enable High Availability to enable high availability on the edge gateway.
5 (Optional) Select Configure IP Settings to manually configure the external interface's IP address.
6 (Optional) Select Sub-Allocate IP Pools to allocate a set of IP addresses for gateway services to use.
7 (Optional) Select Configure Rate Limits to choose the inbound and outbound rate limits for each
externally connected interface.
Chapter 3 Creating and Provisioning Organizations
8 Click Next.

Configure External Networks

Select the external networks that the edge gateway can connect to.
This page appears only if you selected Create a new edge gateway.
Procedure
1 Select an external network from the list and click Add.
Hold down Ctrl to select multiple networks.
2 Select a network to be the default gateway.
3 (Optional) Select Use default gateway for DNS Relay.
4 Click Next.

Configure IP Settings on a New Edge Gateway

Configure IP settings for external networks on the new edge gateway.
This page appears only if you selected Configure IP Settings during gateway configuration.
Procedure
1 Select Manual from the drop-down menu for each external network for which to specify an IP address.
2 Type an IP address for each external network set to Manual and click Next.

Suballocate IP Pools on a New Edge Gateway

Suballocate into multiple static IP pools the IP pools that the external networks on the edge gateway provide.
This page appears only if you selected Sub-Allocate IP Pools during gateway configuration.
Procedure
1 Select an external network and IP pool to suballocate.
2 Type an IP address or range of IP addresses within the IP pool range and click Add.
Repeat this step to add multiple suballocated IP pools.
3 (Optional) Select a suballocated IP pool and click Modify to modify the IP address range of the
suballocated IP pool.
4 (Optional) Select a suballocated IP pool and click Remove to remove the suballocated IP pool.
5 Click Next.

Configure Rate Limits on a New Edge Gateway

Configure the inbound and outbound rate limits for each external network on the edge gateway.
This page appears only if you selected Configure Rate Limits during gateway configuration. Rate limits apply only to external networks backed by distributed port groups with static binding.
Procedure
1 Click Enable for each external network on which to enable rate limits.
2 Type the Incoming Rate Limit in gigabits per second for each enabled external network.
VMware, Inc. 37
vCloud Director Administrator's Guide
3 Type the Outgoing Rate Limit in gigabits per second for each enabled external network and click Next.

Create an Organization Virtual Datacenter Network

You can create an organization virtual datacenter network that is connected to the new edge gateway.
This page appears only if you selected Create a new edge gateway.
Procedure
1 (Optional) Select Create a network for this virtual datacenter connected to this new edge gateway.
2 Type a name and optional description for the new organization virtual datacenter network.
3 (Optional) Select Share this network with other VDCs in the organization.
4 Type a gateway address and network mask for the organization virtual datacenter network.
5 (Optional) Select Use gateway DNS to use the DNS relay of gateway.
This option is available only if the gateway has DNS relay enabled.
6 (Optional) Enter DNS settings to use DNS.
7 Enter an IP address or range of IP addresses and click Add to create a static IP pool.
Repeat this step to add multiple static IP pools.
8 Click Next.

Name the Organization Virtual Datacenter

You can provide a descriptive name and an optional description to indicate the vSphere functions available for your new organization virtual datacenter.
Procedure
1 Type a name and optional description.
2 (Optional) Deselect Enabled.
Disabling the organization virtual datacenter prevents new vApps from being deployed to the virtual datacenter.
3 Click Next.

Confirm Settings and Create the Organization Virtual Datacenter

Before you create the organization virtual datacenter, review the settings you entered.
Procedure
1 Review the settings for the organization virtual datacenter.
2 (Optional) Click Back to modify the settings.
3 (Optional) Select Add networks to this organization after this wizard is finished to immediately create
an organization virtual datacenter network for this virtual datacenter.
4 Click Finish to accept the settings and create the organization virtual datacenter.
When you create an organization virtual datacenter, vCloud Director creates a resource pool in vSphere to provide CPU and memory resources.
38 VMware, Inc.

Working With Catalogs 4

You can create a catalog to make a set of vApp templates or media files available to organizations in a single vCloud Director installation or to organizations across multiple vCloud Director installations.
Organizations use catalogs to store vApp templates and media files. The members of an organization can use catalog items as the building blocks to create their own vApps.
When you share a catalog, the items in the catalog become available to all or selected organizations in the vCloud Director installation. The administrators of each organization can then choose which catalog items to provide to their users.
When you publish a catalog for external organizations to use, the items in the catalog become available to organizations across multiple vCloud Director installations. For an organization outside the vCloud Director installation to access an externally published catalog, the organization must subscribe to the catalog.
Before you can create a published catalog, you must create and provision an organization to contain the catalog.
This chapter includes the following topics:
“Enable Catalog Sharing, Publishing, and Subscription,” on page 39
n
“Create a Catalog,” on page 40
n
“Upload a vApp Template,” on page 41
n
“Import a vApp Template from vSphere,” on page 42
n
“Upload a Media File,” on page 42
n
“Import a Media File from vSphere,” on page 43
n
“Share a Catalog,” on page 43
n
“Publish a Catalog to External Organizations,” on page 44
n
“Subscribe to an External Catalog Feed,” on page 44
n

Enable Catalog Sharing, Publishing, and Subscription

Before you can share or publish an organization's catalogs, you must enable catalog sharing or publishing for the organization. Before you can subscribe to external organization's catalogs, you must enable subscription to external catalogs.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Properties.
VMware, Inc.
39
vCloud Director Administrator's Guide
3 Click Catalog.
Option Description
Allow sharing catalogs to other organizations
Allow creation of catalog feeds for consumption by external organizations
Allow subscription to external catalog feeds

Create a Catalog

You can create a catalog to contain uploaded and imported vApp templates, media files, and other files to make available to all organizations. An organization can have multiple catalogs and control access to each catalog individually.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
Allows organization administrators to share this organization's catalogs with other organizations in this instance of vCloud Director.
If you do not select this option, organization administrators are still able to share catalogs within the organization.
Allows organization administrators to share this organization's catalogs with organizations outside this instance of vCloud Director.
Allows organization administrators to subscribe this organization to catalog feeds from outside this instance of vCloud Director.
2 Right-click the organization name and select Open.
3 Click Catalogs and select My Organization's Catalogs in the left pane.
4 On the Catalogs tab, click Add Catalog.
5 Type a catalog name and optional description and click Next.
6 Select the type of storage to use for vApp templates and ISOs in this catalog and click Next.
Option Description
Use any available storage in the organization
Pre-provision storage on specific storage policy
This catalog uses any available storage in the organization.
Select a virtual datacenter storage policy to use for this catalog's vApp templates and ISOs and click Add. The selected storage policy causes the vApp template size to count against your catalog storage quota.
7 Click Add Members.
a Select which users and groups in the organization can access this catalog.
Select Everyone in this organization to grant catalog access to all users and groups in the
n
organization.
Select Specific users and groups to select users or groups to which to grant catalog access.
n
b Select the access level for users with access to this catalog from the drop-down menu and click OK.
Select Read Only to grant read access to the catalog's vApp templates and ISOs.
n
Select Read/Write to grant read access to the catalog's vApp templates and ISOs, and to allow
n
users to add vApp templates and ISOs to the catalog.
Select Full Control to grant full control of the catalog's contents and settings.
n
40 VMware, Inc.
Chapter 4 Working With Catalogs
8 Click Add Organizations.
a Select which organizations on this vCloud Director installation can access this catalog.
Select All organizations to allow all organizations in the vCloud Director installation to have access to this catalog.
b Select the access level for users with access to this catalog from the drop-down menu and click OK.
Select Read Only to grant read access to the catalog's vApp templates and ISOs.
n
Select Read/Write to grant read access to the catalog's vApp templates and ISOs, and to allow
n
users to add vApp templates and ISOs to the catalog.
Select Full Control to grant full control of the catalog's contents and settings.
n
9 Click Next.
10 (Optional) Select Enabled and click to allow the creation of a catalog feed for consumption by catalogs
outside this vCloud Director installation and supply a password for the catalog feed.
11 (Optional) Select Enable early catalog export to optimize synchronization.
Before selecting this option, verify that you have available storage at the transfer server location for the exported catalog.
12 (Optional) Select Preserve identity information to include BIOS and UUID information in the
downloaded OVF package.
Enabling this option limits portability of the OVF package.
13 Review the catalog settings and click Finish.
The new catalog appears in My Organization's Catalogs. A catalog's displayed status on this page does not reflect the status of the templates and vApps in the catalog.

Upload a vApp Template

You can upload an OVF package as a vApp template to make the template available to other users. vCloud Director supports Open Virtualization Format (OVF) 1.0 and OVF 1.1.
vCloud Director supports OVFs based on the OVF Specification. If you upload an OVF package that includes deployment options, those options are preserved in the vApp template.
You can quarantine files that users upload to vCloud Director so that you can process the files before you accept them. For example, you can scan the files for viruses. See “Quarantine Uploaded Files,” on page 145.
Prerequisites
Verify that the following conditions exist:
The organization to which you are uploading the OVF package has a catalog and an organization
n
virtual datacenter.
The computer from which you are uploading has Java Plug-in 1.6.0_10 or later installed.
n
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
3 Click Catalog and select My Organization's Catalogs in the left pane.
4 On the vApp Templates tab, click Upload.
5 Click Browse, browse to the location of the OVF package, select it, and click Open.
vCloud Director Administrator's Guide
6 Type a name and optional description for the vApp template.
7 Select a catalog and click Upload.
What to do next
Make sure that vSphere Tools is installed on the virtual machines in the vApp. vSphere Tools is required to support guest customization. See the VMware vCloud Director User's Guide.

Import a vApp Template from vSphere

You can import a virtual machine from vSphere and save it as a vApp template in a catalog that is available to other users.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
3 Click Catalog and select My Organization's Catalogs in the left pane.
4 On the vApp Templates tab, click Import from vSphere.
5 Select a vCenter Server and a virtual machine.
6 Type a name and optional description for the vApp template.
7 Select a catalog.
8 Choose whether to move or copy the virtual machine to the catalog.
9 Choose whether to designate the vApp template as a Gold Master in the catalog.
If you mark a vApp template as a Gold Master, this information appears in the list of vApp templates.
10 Click OK.
What to do next
Check that vSphere Tools is installed on the virtual machines in the vApp. vSphere Tools is required to support guest customization. See the VMware vCloud Director User's Guide.

Upload a Media File

You can upload an ISO or FLP file to make the media available to other users.
You can quarantine files that users upload to vCloud Director so that you can process the files before you accept them. For example, you might want to scan the files for viruses. See “Quarantine Uploaded Files,” on page 145.
Prerequisites
Verify that the computer from which you are uploading has Java Plug-in 1.6.0_10 or later installed.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
3 Click Catalog and select My Organization's Catalogs in the left pane.
4 On the Media tab, click Upload.
5 Click Browse, browse to the location of the media file, select it, and click Open.
6 Type a name and optional description for the media file.
7 Select a catalog and click Upload.

Import a Media File from vSphere

You can import a media file from a vSphere datastore and save it in a catalog available to other users.
Prerequisites
You must be a vCloud Director system administrator. You must know which datastore contains the media file and the path to that file.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
3 Click Catalog and select My Organization's Catalogs in the left pane.
4 On the Media tab, click the Import from vSphere button.
5 Type a name and optional description for the media file.
6 Select the source vCenter Server and datastore and type the path to the media file.
Chapter 4 Working With Catalogs
7 Select a catalog.
8 Click OK.

Share a Catalog

You can share a catalog to make its vApp templates and media files available to all organizations in the vCloud Director installation.
Prerequisites
Verify that the organization that contains the catalog allows catalog sharing.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
3 Click Catalog and select My Organization's Catalogs in the left pane.
4 On the Catalogs tab, right-click the catalog name and select Publish Settings.
5 On the Sharing tab, click Add Members.
6 Select which users and groups in the organization can access this catalog.
Option Description
Everyone in this organization
Specific users and groups
All users and groups in the organization have access to this catalog.
Select users or groups to grant catalog access to and click Add.
vCloud Director Administrator's Guide
7 Select the access level for users with access to this catalog from the drop-down menu and click OK.
Option Description
Read Only
Read/Write
Full Control
8 Click Add Organizations.
9 Select which organizations on this vCloud Director installation can access this catalog.
Option Description
All organizations
Specific organizations
10 Click OK and click OK again.
The catalog and all of its contents appear under Public Catalogs for selected users, groups, and organizations in the vCloud Director installation.
Users with access to this catalog have read access to the catalog's vApp templates and ISOs.
Users with access to this catalog have read access to the catalog's vApp templates and ISOs and can add vApp templates and ISOs to the catalog.
Users with access to this catalog have full control of the catalog's contents and settings.
All organizations in the vCloud Director installation have access to this catalog.
Select the organizations to grant catalog access to and click Add.

Publish a Catalog to External Organizations

You can publish a catalog externally to make its vApp templates and media files available to all organizations outside the vCloud Director installation.
Prerequisites
Verify that the organization that contains the catalog allows external catalog publishing.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
3 Click Catalog and select My Organization's Catalogs in the left pane.
4 On the Catalogs tab, right-click the catalog name and select Publish Settings.
5 On the External Publishing tab, select Enabled and supply a password for the catalog feed.
6 Click OK.
What to do next
Provide the subscription URL listed on the External Publishing tab and the password to grant access to the catalog. An organization must subscribe to the catalog to gain access to its contents.

Subscribe to an External Catalog Feed

You subscribe an organization to an external catalog feed to access a catalog from outside the installation of vCloud Director.
Procedure
1 Click the Manage & Monitor tab and click Organizations in the left pane.
2 Right-click the organization name and select Open.
44 VMware, Inc.
Chapter 4 Working With Catalogs
3 Click Catalogs and select My Organization's Catalogs in the left pane.
4 Click Add Catalog and type a name and optional description for the catalog feed.
5 Select Subscribe to an external catalog and click Next.
6 Select the type of storage to use for this catalog feed and click Next.
Option Description
Use any available storage in the organization
Pre-provision storage on specific storage policy
This catalog feed uses any available storage in the organization.
Select a virtual datacenter storage policy to use for this catalog feed and click Add.
7 Click Add Members.
8 Select which users and groups in the organization can access this catalog feed and click OK.
Option Description
Everyone in this organization
Specific users and groups
All users and groups in the organization have access to this catalog feed.
Select users or groups to grant catalog feed access to and click Add.
9 Click Add Organizations.
10 Select which organizations on this vCloud Director installation can access this catalog feed and click
OK.
Option Description
All organizations
Specific organizations
All organizations in the vCloud Director installation have access to this catalog feed.
Select the organizations to grant catalog feed access to and click Add.
11 Click Next.
12 Review the catalog feed settings and click Finish.
vCloud Director Administrator's Guide

Managing Cloud Resources 5

Provider virtual datacenters, organization virtual datacenters, external networks, organization virtual datacenter networks, and network pools are all considered cloud resources. After you add cloud resources to vCloud Director, you can modify them and view information about their relationships with each other.
This chapter includes the following topics:
“Managing Provider Virtual Datacenters,” on page 47
n
“Managing Organization Virtual Datacenters,” on page 54
n
“Managing External Networks,” on page 65
n
“Managing Edge Gateways,” on page 66
n
“Managing Organization Virtual Datacenter Networks,” on page 83
n
“Managing Network Pools,” on page 97
n
“Managing Cloud Cells,” on page 99
n
“Managing Service Offerings,” on page 100
n

Managing Provider Virtual Datacenters

After you create a provider virtual datacenter, you can modify its properties, disable or delete it, and manage its ESX/ESXi hosts and datastores.

Enable or Disable a Provider Virtual Datacenter

You can disable a provider virtual datacenter to prevent the creation of organization virtual datacenters that use the provider virtual datacenter resources.
When you disable a provider virtual datacenter, vCloud Director also disables the organization virtual datacenters that use its resources. Running vApps and powered on virtual machines continue to run, but you cannot create or start additional vApps or virtual machines.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Enable or Disable.
VMware, Inc.
47
vCloud Director Administrator's Guide

Delete a Provider Virtual Datacenter

You can delete a provider virtual datacenter to remove its compute, memory, and storage resources from vCloud Director. The resources remain unaffected in vSphere.
Prerequisites
Disable the provider virtual datacenter.
n
Disable and delete all organization virtual datacenters that use the provider virtual datacenter.
n
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Delete.
3 Click Yes.

Modify a Provider Virtual Datacenter Name and Description

As your vCloud Director installation grows, you might want to assign a more descriptive name or description to an existing provider virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Properties.
3 Type a new name or description and click OK.
You can use the name and description fields to indicate the vSphere functionality available to the provider virtual datacenter, for example, vSphere HA.

Merge Provider Virtual Datacenters

You can merge two or more provider virtual datacenters into a single provider virtual datacenter, combining the resources of all merged provider virtual datacenters.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter to merge other provider virtual datacenters to and select
Merge with.
3 Select one or more provider virtual datacenters to merge with this one and click Add.
Hold down Ctrl to select multiple provider virtual datacenters.
4 (Optional) Enter a new name and description for the provider virtual datacenter.
5 Click OK.
The selected provider virtual datacenters are merged into this provider virtual datacenter.

Enable or Disable a Provider Virtual Datacenter Host

You can disable a host to prevent vApps from starting up on the host. Virtual machines that are already running on the host are not affected.
To perform maintenance on a host, migrate all vApps off of the host or stop all vApps and then disable the host.
48 VMware, Inc.
Chapter 5 Managing Cloud Resources
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Hosts tab.
4 Right-click the host name and select Enable Host or Disable Host.
vCloud Director enables or disables the host for all provider virtual datacenters that use its resources.

Prepare or Unprepare a Provider Virtual Datacenter Host

When you add an ESX/ESXi host to a vSphere cluster that vCloud Director uses, you must prepare the host before a provider virtual datacenter can use its resources. You can unprepare a host to remove it from the vCloud Director environment.
For information about moving running virtual machines from one host to another, see “Move Virtual
Machines from one ESX/ESXi Host to Another,” on page 107.
You cannot prepare a host that is in lockdown mode. After you prepare a host, you can enable lockdown mode.
Prerequisites
Before you can unprepare a host, you must disable it and ensure that no virtual machines are running on the host.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Hosts tab.
4 Right-click the host name and select Prepare Host or Unprepare Host.
vCloud Director prepares or unprepares the host for all provider virtual datacenters that use its resources.

Upgrade an ESX/ESXi Host Agent for a Provider Virtual Datacenter Host

vCloud Director installs agent software on each ESX/ESXi host in the installation. If you upgrade your ESX/ESXi hosts, you also need to upgrade your ESX/ESXi host agents.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Hosts tab.
4 Right-click the host name and select Upgrade Host.
vCloud Director upgrades the host agent. This upgrade affects all provider virtual datacenters that use the host.

Repair a Provider Virtual Datacenter ESX/ESXi Host

If the vCloud Director agent on an ESX/ESXi host cannot be contacted, try to repair the host.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
vCloud Director Administrator's Guide
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Hosts tab.
4 Right-click the host name and select Repair Host.
vCloud Director repairs the host. This operation affects all provider virtual datacenters that use the host.

Enable vSphere VXLAN on an Upgraded Provider Virtual Datacenter

Enable vSphere VXLAN on an upgraded provider virtual datacenter to create a VXLAN network pool for the provider virtual datacenter.
vSphere VXLAN is enabled by default for new provider virtual datacenters.
Prerequisites
Configure VXLAN for your vCloud environment. See the vShield Administrator's Guide.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the Provider virtual datacenter name and select Enable VXLAN.
A VXLAN network pool is created for the provider virtual datacenter. See “VXLAN Network Pools,” on page 21.

Provider Virtual Datacenter Datastores

Provider virtual datacenter datastores provide storage capacity for provider virtual datacenters.
Provider Virtual Datacenter Datastore Metrics
The following information about each provider virtual datacenter datastore appears on the Datastores tab of a provider virtual datacenter.
Table 51. Datastore Metrics
Title Description
Name The name of the provider virtual datacenter datastore.
Enabled A checkmark appears when the provider virtual datacenter
datastore is enabled.
Type The type of file system the datastore uses, either Virtual
Machine File System (VMFS) or Network File System (NFS).
Used The datastore space occupied by virtual machine files,
including log files, snapshots, and virtual disks. When a virtual machine is powered on, the used storage space also includes log files.
Provisioned The datastore space guaranteed to virtual machines. If any
virtual machines are using thin provisioning, some of the provisioned space might not be in use, and other virtual machines can occupy the unused space.
Requested Provisioned storage in use only by vCloud Director-
managed objects on the datastore. If thin provisioning is enabled on vCloud Director, some of the requested space might not be in use.
vCenter The vCenter Server associated with the datastore.
Chapter 5 Managing Cloud Resources

Add a Storage Policy to a Provider Virtual Datacenter

Add a storage policy to a provider virtual datacenter to support the storage policy for organization virtual datacenters backed by the provider virtual datacenter.
Storage policies are created and managed in vSphere. See the vSphere documentation or contact your vSphere administrator.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Storage Policies tab.
4 Click Add Storage Policy.
5 Select a storage policy and click Add.
If you select Any, vCloud Director dynamically adds and removes datastores as they are added to or removed from the provider virtual datacenter's clusters.
6 Click OK.
Support for the storage policy is added to the provider virtual datacenter.
What to do next
Configure organization virtual datacenters backed by the provider virtual datacenter to support the storage policy. See “Add a Storage Policy to an Organization Virtual Datacenter,” on page 64.

Edit the Metadata for a Storage Policy on a Provider Virtual Datacenter

You can edit the metadata for a storage policy on a provider virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Storage Policies tab.
4 Right-click a storage policy and select Properties.
5 Edit the metadata as appropriate and click OK.

Add a Resource Pool to a Provider Virtual Datacenter

You can add additional resource pools to a provider virtual datacenter so that Pay-As-You-Go and Allocation Pool organization virtual datacenters that the provider virtual datacenter provides can expand.
When compute resources are backed by multiple resource pools, they can expand as needed to accommodate more virtual machines.
Prerequisites
Verify that one or more available resource pool exists in the same vCenter datacenter as the provider virtual datacenter's primary resource pool.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
vCloud Director Administrator's Guide
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Resource Pools tab.
4 Click Add Resource Pool.
5 Select the resource pool to add and click Finish.
vCloud Director adds a resource pool for the provider virtual datacenter to use, making elastic all Pay-As­You-Go and Allocation Pool organization virtual datacenters backed by the provider virtual datacenter.
vCloud Director also adds a System VDC resource pool beneath the new resource pool. This resource pool is used for the creation of vShield virtual machines and virtual machines that serve as a template for linked clones. Do not edit or delete the system virtual datacenter resource pool.

Enable or Disable a Provider Virtual Datacenter Resource Pool

When you disable a resource pool, the memory and compute resources of the resource pool are no longer available to the provider virtual datacenter
You must have at least one enabled resource pool on a provider virtual datacenter. Disabling a resource pool does not prevent its resources from being used by processes that are already in progress.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Resource Pools tab.
4 Right-click the resource pool and click Enable or Disable.

Detach a Resource Pool From a Provider Virtual Datacenter

If a provider virtual datacenter has more than one resource pool, you can detach a resource pool from the provider virtual datacenter.
Prerequisites
1 Disable the resource pool on the provider virtual datacenter.
2 Migrate any virtual machines from that resource pool to an enabled resource pool.
3 Redeploy any networks that are affected by the disabled resource pool.
4 Redeploy any edge gateways that are affected by the disabled resource pool.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Resource Pools tab.
4 Right-click the resource pool and click Detach.
Chapter 5 Managing Cloud Resources

Migrate Virtual Machines Between Resource Pools on a Provider Virtual Datacenter

You can migrate virtual machines from one resource pool to another on the same provider virtual datacenter. You can migrate virtual machines to populate a recently added resource pool, to depopulate a resource pool you plan to decommission, or to manually balance the provider virtual datacenter's resources.
Virtual machines that are part of a reservation pool organization virtual datacenter cannot be migrated. Templates and media should be migrated separately using datastore migration.
Prerequisites
Verify that you have at least one resource pool on the provider virtual datacenter other than the resource pool the virtual machines are on.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Resource Pools tab.
4 Right-click the resource pool name and select Open.
5 Right-click the virtual machine name and select Migrate to.
Hold down Ctrl and click to select multiple virtual machines.
6 Choose how to select the destination resource pool for the virtual machine.
Option Description
Automatically select a resource pool
Manually select a resource pool
vCloud Director chooses the destination resource pool for the virtual machines based on the current resource balance of all available resource pools.
Select a resource pool from the list of available resource pools to which to migrate the virtual machines to .
7 Click OK.

Configure Low Disk Space Thresholds for a Provider Virtual Datacenter Datastore

You can configure low disk space thresholds on a datastore to receive an email from vCloud Director when the datastore reaches a specific threshold of available capacity. These warnings alert you to a low disk situation before it becomes a problem.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Open.
3 Click the Datastores tab.
4 Right-click the datastore name and select Properties.
vCloud Director Administrator's Guide
5 Select the disk space thresholds for the datastore.
You can set two thresholds, yellow and red. When you set thresholds on a stand-alone datastore, they apply only to that datastore. If you set thresholds on a storage POD, they apply to all datastores in the storage POD. By default, vCloud Director sets the red threshold to 15% of the stand-alone datastore's or POD's total capacity and the yellow threshold to 25% of the stand-alone datastore or POD's total capacity.
When vCloud Director sends an email alert, the message indicates which threshold was crossed. When a datastore reaches its red threshold, the virtual machine placement engine stops placing virtual machines on the datastore.
Because the default thresholds on a storage POD are based on the total POD capacity, the thresholds might exceed the capacity of individual datastores within the POD. When setting thresholds on a storage POD, take into account the capacity of each datastore in the POD and set thresholds manually rather than accepting the default threshold configurations.
6 Click OK.
vCloud Director sets the thresholds for all provider virtual datacenters that use the datastore. vCloud Director sends an email alert when the datastore crosses the threshold.

Send an Email Notification to Provider Virtual Datacenter Users

You can send an email notification to all users who own objects in the provider virtual datacenter, for example, vApps or media files. You can send an email notification to let users know about upcoming system maintenance, for example.
Prerequisites
Verify that you have a valid connection to an SMTP server.
Procedure
1 Click the Manage & Monitor tab and click Provider VDCs in the left pane.
2 Right-click the provider virtual datacenter name and select Notify.
3 Type the email subject and message and click Send Email.

Managing Organization Virtual Datacenters

After you create an organization virtual datacenter, you can modify its properties, disable or delete it, and manage its allocation model, storage, and network settings.

Create an Organization Virtual Datacenter

Create an organization virtual datacenter to allocate resources to an organization. An organization virtual datacenter is partitioned from a provider virtual datacenter. A single organization can have multiple organization virtual datacenters.
Prerequisites
You must have a provider virtual datacenter before you can allocate resources to an organization.
Procedure
1 Open the New Organization Virtual Datacenter Wizard on page 55
Open the New Organization virtual datacenter wizard to start the process of creating an organization virtual datacenter.
54 VMware, Inc.
Chapter 5 Managing Cloud Resources
2 Select an Organization for the Organization Virtual Datacenter on page 56
You can create an organization virtual datacenter to provide resources to any organization in the vCloud Director system. An organization can have more than one organization virtual datacenter.
3 Select a Provider Virtual Datacenter on page 56
An organization virtual datacenter obtains its compute and storage resources from a provider virtual datacenter. The organization virtual datacenter provides these resources to vApps and virtual machines in the organization.
4 Select an Allocation Model on page 56
The allocation model determines how and when the provider virtual datacenter compute and memory resources that you allocate are committed to the organization virtual datacenter.
5 Configure the Allocation Model on page 57
Configure the allocation model to specify the amount of provider virtual datacenter resources to allocate to the organization virtual datacenter.
6 Allocate Storage on page 58
An organization virtual datacenter requires storage space for vApps and vApp templates. You can allocate storage from the space available on provider virtual datacenter datastores.
7 Select Network Pool and Services on page 59
A network pool is a group of undifferentiated networks used to create vApp networks and internal organization virtual datacenter networks.
8 Configure an Edge Gateway on page 59
You configure an edge gateway to provide connectivity to one or more external networks.
9 Configure External Networks on page 60
Select the external networks that the edge gateway can connect to.
10 Configure IP Settings on a New Edge Gateway on page 60
Configure IP settings for external networks on the new edge gateway.
11 Suballocate IP Pools on a New Edge Gateway on page 60
Suballocate into multiple static IP pools the IP pools that the external networks on the edge gateway provide.
12 Configure Rate Limits on a New Edge Gateway on page 60
Configure the inbound and outbound rate limits for each external network on the edge gateway.
13 Create an Organization Virtual Datacenter Network on page 61
You can create an organization virtual datacenter network that is connected to the new edge gateway.
14 Name the Organization Virtual Datacenter on page 61
You can provide a descriptive name and an optional description to indicate the vSphere functions available for your new organization virtual datacenter.
15 Confirm Settings and Create the Organization Virtual Datacenter on page 61
Before you create the organization virtual datacenter, review the settings you entered.
Open the New Organization Virtual Datacenter Wizard
Open the New Organization virtual datacenter wizard to start the process of creating an organization virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
VMware, Inc. 55
vCloud Director Administrator's Guide
2 Click the add button.
Select an Organization for the Organization Virtual Datacenter
You can create an organization virtual datacenter to provide resources to any organization in the vCloud Director system. An organization can have more than one organization virtual datacenter.
Procedure
1 Select an organization.
2 Click Next.
Select a Provider Virtual Datacenter
An organization virtual datacenter obtains its compute and storage resources from a provider virtual datacenter. The organization virtual datacenter provides these resources to vApps and virtual machines in the organization.
Procedure
1 Select a provider virtual datacenter.
The provider virtual datacenter list displays information about available resources and the networks list displays information about networks available to the selected provider virtual datacenter.
2 Click Next.
Select an Allocation Model
The allocation model determines how and when the provider virtual datacenter compute and memory resources that you allocate are committed to the organization virtual datacenter.
Prerequisites
Verify that you understand which allocation model is appropriate for your environment. See
“Understanding Allocation Models,” on page 26.
Procedure
1 Select an allocation model.
Option Description
Allocation Pool
Pay-As-You-Go
Reservation Pool
For information about the placement engine and virtual machine shares, rates and limits, see the vCloud Director User's Guide.
A percentage of the resources you allocate from the provider virtual datacenter are committed to the organization virtual datacenter. You can specify the percentage for both CPU and memory.
Resources are committed only when users create vApps in the organization virtual datacenter.
All of the resources you allocate are immediately committed to the organization virtual datacenter.
2 Click Next.
56 VMware, Inc.
Chapter 5 Managing Cloud Resources
Configure the Allocation Model
Configure the allocation model to specify the amount of provider virtual datacenter resources to allocate to the organization virtual datacenter.
Procedure
1 Select the allocation model options.
Not all of the models include all of the options.
Option Action
CPU allocation
CPU resources guaranteed
vCPU Speed
Memory allocation
Memory resources guaranteed
Maximum number of VMs
2 Click Next.
Enter the maximum amount of CPU, in GHz, to allocate to virtual machines running in the organization virtual datacenter. This option is available only for Allocation Pool and Reservation Pool allocation models.
Enter the percentage of CPU resources to guarantee to virtual machines running in the organization virtual datacenter. You can overcommit resources by guaranteeing less than 100 percent. This option is available only for Allocation Pool and Pay-As-You-Go allocation models. The default value for Allocation Pool is 50 percent, and the default for Pay-As­You-Go is 20 percent. For an Allocation Pool allocation model, the percentage guarantee also determines what percentage of the CPU allocation is committed for this organization virtual datacenter.
Enter the vCPU speed in GHz. Virtual machines running in the organization virtual datacenter are assigned this amount of GHz per vCPU. This option is available only for a Pay-As-You-Go allocation model.
Enter the maximum amount of memory, in GB, to allocate to virtual machines running in the organization virtual datacenter. This option is available only for Allocation Pool and Reservation Pool allocation models.
Enter the percentage of memory resources to guarantee to virtual machines running in the organization virtual datacenter. You can overcommit resources by guaranteeing less than 100 percent. This option is available only for Allocation Pool and Pay-As-You-Go allocation models. The default for Allocation Pool is 50 percent, and the default for Pay-As­You-Go is 20 percent. For an Allocation Pool allocation model, the percentage guarantee also determines what percentage of the memory allocation is committed for this organization virtual datacenter.
Enter the maximum number of virtual machines that can be created in the organization virtual datacenter.
Example: Configuring an Allocation Model
When you create an organization virtual datacenter, vCloud Director creates a vSphere resource pool based on the allocation model settings you specify.
Table 52. How Allocation Pool Settings Affect Resource Pool Settings When Single Cluster Allocation Pool is Enabled
Allocation Pool Setting
CPU Allocation 25GHz CPU Limit 25GHz
CPU % Guarantee 10% CPU Reservation 2.5GHz
Memory Allocation 50 GB Memory Limit 50GB
Memory % Guarantee 20% Memory Reservation 10GB
Allocation Pool Value Resource Pool Setting Resource Pool Value
vCloud Director Administrator's Guide
Table 53. How Allocation Pool Settings Affect Resource Pool Settings When the Single Cluster Allocation Pool feature is Disabled
Allocation Pool Setting
CPU Allocation 25GHz CPU Limit Sum of the number of
CPU % Guarantee
Memory Allocation
Memory % Guarantee
Allocation Pool Value Resource Pool Setting
10% CPU Reservation Sum of the number of
50GB Memory Limit Sum of the configured
20% Memory Reservation Sum of the configured
Sub-Resource Pool Value
vCPU times vCPU frequency for all associated virtual machines
vCPU times vCPU frequency times percentage guarantee for CPU for all associated virtual machines
memory size for all associated virtual machines
memory size times the percentage guarantee for memory for all associated virtual machines
Committed Value for this
Org VDC Across All
Subresource Pools
N/A
2.5GHz
N/A
10GB
Table 54. How Pay-As-You Go Settings Affect Resource Pool Settings
Pay-As-You-Go Setting
CPU % Guarantee 10% CPU Reservation, CPU Limit 0.00GHz, Unlimited
Memory % Guarantee 100% Memory Reservation, Memory
Pay-As-You-Go Value Resource Pool Setting Resource Pool Value
0.00GB, Unlimited
Limit
Resource pools created to support Pay-As-You-Go organization virtual datacenters never have reservations or limits. Pay-As-You-Go settings affect only overcommitment. A 100 percent guarantee means overcommitment is impossible. The lower the percentage, the more overcommitment is possible.
Table 55. How Reservation Pool Settings Affect Resource Pool Settings
Reservation Pool Setting
CPU Allocation 25GHz CPU Reservation, CPU Limit 25GHz, 25GHz
Memory Allocation 50GB Memory Reservation, Memory
Reservation Pool Value Resource Pool Setting Resource Pool Value
50GB, 50GB
Limit
Allocate Storage
An organization virtual datacenter requires storage space for vApps and vApp templates. You can allocate storage from the space available on provider virtual datacenter datastores.
Thin provisioning can help avoid over-allocating storage and save storage space. For a virtual machine with a thin virtual disk, ESX/ESXi provisions the entire space required for the disk's current and future activities. ESX/ESXi commits only as much storage space as the disk needs for its initial operations.
Chapter 5 Managing Cloud Resources
Fast provisioning saves time by using vSphere linked clones for certain operations. See “Fast Provisioning of
Virtual Machines,” on page 120.
IMPORTANT Fast provisioning requires vCenter Server 5.0 or later and ESXi 5.0 or later hosts. If the provider virtual datacenter on which the organization virtual datacenter is based contains any ESX/ESXi 4.x hosts, you must disable fast provisioning. If the provider virtual datacenter on which the organization virtual datacenter is based contains any VMFS datastores connected to more than 8 hosts, powering on virtual machines might fail. Make sure that datastores are connected to a maximum of 8 hosts.
Procedure
1 Select the storage policy to allocate and click Add.
2 Enter the amount of storage to allocate.
3 Select the Default instantiation profile from the drop-down menu.
This is the default storage policy used for all virtual machine provisioning operations where the storage policy is not specified at the virtual machine or vApp template level.
4 (Optional) Select the Enable thin provisioning check box to enable thin provisioning for virtual
machines in the organization virtual datacenter.
5 (Optional) Deselect the Enable fast provisioning check box to disable fast provisioning for virtual
machines in the organization virtual datacenter.
6 Click Next.
Select Network Pool and Services
A network pool is a group of undifferentiated networks used to create vApp networks and internal organization virtual datacenter networks.
Procedure
1 Select a network pool or select None.
If you select None, you can add a network pool later.
2 Enter the maximum number of networks that the organization can provision from the network pool.
3 (Optional) Select Enable for each available third-party or edge gateway service to enable.
4 Click Next.
Configure an Edge Gateway
You configure an edge gateway to provide connectivity to one or more external networks.
Procedure
1 (Optional) Select Create a new edge gateway to create and configure an edge gateway.
2 Type a name and optional description for the new Edge gateway.
3 Select a gateway configuration for the edge gateway.
4 Select Enable High Availability to enable high availability on the edge gateway.
5 (Optional) Select Configure IP Settings to manually configure the external interface's IP address.
6 (Optional) Select Sub-Allocate IP Pools to allocate a set of IP addresses for gateway services to use.
7 (Optional) Select Configure Rate Limits to choose the inbound and outbound rate limits for each
externally connected interface.
VMware, Inc. 59
vCloud Director Administrator's Guide
8 Click Next.
Configure External Networks
Select the external networks that the edge gateway can connect to.
This page appears only if you selected Create a new edge gateway.
Procedure
1 Select an external network from the list and click Add.
Hold down Ctrl to select multiple networks.
2 Select a network to be the default gateway.
3 (Optional) Select Use default gateway for DNS Relay.
4 Click Next.
Configure IP Settings on a New Edge Gateway
Configure IP settings for external networks on the new edge gateway.
This page appears only if you selected Configure IP Settings during gateway configuration.
Procedure
1 Select Manual from the drop-down menu for each external network for which to specify an IP address.
2 Type an IP address for each external network set to Manual and click Next.
Suballocate IP Pools on a New Edge Gateway
Suballocate into multiple static IP pools the IP pools that the external networks on the edge gateway provide.
This page appears only if you selected Sub-Allocate IP Pools during gateway configuration.
Procedure
1 Select an external network and IP pool to suballocate.
2 Type an IP address or range of IP addresses within the IP pool range and click Add.
Repeat this step to add multiple suballocated IP pools.
3 (Optional) Select a suballocated IP pool and click Modify to modify the IP address range of the
suballocated IP pool.
4 (Optional) Select a suballocated IP pool and click Remove to remove the suballocated IP pool.
5 Click Next.
Configure Rate Limits on a New Edge Gateway
Configure the inbound and outbound rate limits for each external network on the edge gateway.
This page appears only if you selected Configure Rate Limits during gateway configuration. Rate limits apply only to external networks backed by distributed port groups with static binding.
Procedure
1 Click Enable for each external network on which to enable rate limits.
2 Type the Incoming Rate Limit in gigabits per second for each enabled external network.
3 Type the Outgoing Rate Limit in gigabits per second for each enabled external network and click Next.
Chapter 5 Managing Cloud Resources
Create an Organization Virtual Datacenter Network
You can create an organization virtual datacenter network that is connected to the new edge gateway.
This page appears only if you selected Create a new edge gateway.
Procedure
1 (Optional) Select Create a network for this virtual datacenter connected to this new edge gateway.
2 Type a name and optional description for the new organization virtual datacenter network.
3 (Optional) Select Share this network with other VDCs in the organization.
4 Type a gateway address and network mask for the organization virtual datacenter network.
5 (Optional) Select Use gateway DNS to use the DNS relay of gateway.
This option is available only if the gateway has DNS relay enabled.
6 (Optional) Enter DNS settings to use DNS.
7 Enter an IP address or range of IP addresses and click Add to create a static IP pool.
Repeat this step to add multiple static IP pools.
8 Click Next.
Name the Organization Virtual Datacenter
You can provide a descriptive name and an optional description to indicate the vSphere functions available for your new organization virtual datacenter.
Procedure
1 Type a name and optional description.
2 (Optional) Deselect Enabled.
Disabling the organization virtual datacenter prevents new vApps from being deployed to the virtual datacenter.
3 Click Next.
Confirm Settings and Create the Organization Virtual Datacenter
Before you create the organization virtual datacenter, review the settings you entered.
Procedure
1 Review the settings for the organization virtual datacenter.
2 (Optional) Click Back to modify the settings.
3 (Optional) Select Add networks to this organization after this wizard is finished to immediately create
an organization virtual datacenter network for this virtual datacenter.
4 Click Finish to accept the settings and create the organization virtual datacenter.
When you create an organization virtual datacenter, vCloud Director creates a resource pool in vSphere to provide CPU and memory resources.
vCloud Director Administrator's Guide

Enable or Disable an Organization Virtual Datacenter

You can disable an organization virtual datacenter to prevent the use of its compute and storage resources by other vApps and virtual machines. Running vApps and powered on virtual machines continue to run, but you cannot create or start additional vApps or virtual machines.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Right-click the organization virtual datacenter name and select Enable or Disable.

Delete an Organization Virtual Datacenter

You can delete an organization virtual datacenter to remove its compute, memory, and storage resources from the organization. The resources remain unaffected in the source provider virtual datacenter.
Prerequisites
Disable the organization virtual datacenter and move or delete all of its vApps, vApp templates, and media.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Right-click the organization virtual datacenter name and select Delete.
3 Click Yes.

Organization Virtual Datacenter Properties

You can edit the properties of an existing organization virtual datacenter, including the virtual datacenter name and description, allocation model settings, storage settings, and network settings.
Modify an Organization Virtual Datacenter Name and Description on page 62
n
As your vCloud Director installation grows, you might want to assign a more meaningful name or description to an existing organization virtual datacenter.
Edit Organization Virtual Datacenter Allocation Model Settings on page 63
n
You cannot change the allocation model for an organization virtual datacenter, but you can change some of the settings of the allocation model that you specified when you created the organization virtual datacenter.
Edit Organization Virtual Datacenter Storage Settings on page 63
n
After you create and use an organization virtual datacenter, you might decide to provide it with more storage resources from its source provider virtual datacenter. You can also enable or disable thin provisioning and fast provisioning for the organization virtual datacenter.
Edit Organization Virtual Datacenter Network Settings on page 64
n
You can change the maximum number of provisioned networks in an organization virtual datacenter and the network pool from which the networks are provisioned.
Modify an Organization Virtual Datacenter Name and Description
As your vCloud Director installation grows, you might want to assign a more meaningful name or description to an existing organization virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
Chapter 5 Managing Cloud Resources
2 Right-click the organization virtual datacenter name and select Properties.
3 On the General tab, type a new name and description and click OK.
You can use the name and description fields to indicate the vSphere functions available to the organization virtual datacenter, for example, vSphere HA.
Edit Organization Virtual Datacenter Allocation Model Settings
You cannot change the allocation model for an organization virtual datacenter, but you can change some of the settings of the allocation model that you specified when you created the organization virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Right-click the organization virtual datacenter name and select Properties.
3 On the Allocation tab, enter the new allocation model settings and click OK.
Option Action
CPU allocation
CPU resources guaranteed
vCPU Speed
Memory allocation
Memory resources guaranteed
Maximum number of VMs
These settings affect only vApps that you start from this point on. vApps that are already running are not affected. The usage information that vCloud Director reports for this organization virtual datacenter does not reflect the new settings until all running vApps are stopped and started again.
Enter the maximum amount of CPU, in GHz, to allocate to virtual machines running in the organization virtual datacenter. This option is available only for Allocation Pool and Reservation Pool allocation models.
Enter the percentage of CPU resources to guarantee to virtual machines running in the organization virtual datacenter. You can overcommit resources by guaranteeing less than 100%. This option is available only for Allocation Poll and Pay-As-You-Go allocation models.
Enter the vCPU speed in GHz. Virtual machines running in the organization virtual datacenter are assigned this amount of GHz per vCPU. This option is available only for a Pay-As-You-Go allocation model.
Enter the maximum amount of memory, in GB, to allocate to virtual machines running in the organization virtual datacenter. This option is available only for Allocation Pool and Reservation Pool allocation models.
Enter the percentage of memory resources to guarantee to virtual machines running in the organization virtual datacenter. You can overcommit resources by guaranteeing less than 100%. This option is available only for Allocation Poll and Pay-As-You-Go allocation models.
Enter the maximum number of virtual machines that can be created in the organization virtual datacenter.
Edit Organization Virtual Datacenter Storage Settings
After you create and use an organization virtual datacenter, you might decide to provide it with more storage resources from its source provider virtual datacenter. You can also enable or disable thin provisioning and fast provisioning for the organization virtual datacenter.
Fast provisioning requires vCenter Server 5.0 or later and ESXi 5.0 or later hosts. If the provider virtual datacenter on which the organization virtual datacenter is based contains ESX/ESXi 4.x hosts, you must disable fast provisioning. For information about fast provisioning, see “Fast Provisioning of Virtual
Machines,” on page 120.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Right-click the organization virtual datacenter name and select Properties.
vCloud Director Administrator's Guide
3 Click the Storage tab.
4 (Optional) Select Enable thin provisioning to enable thin provisioning for virtual machines in the
organization virtual datacenter.
5 (Optional) Select Enable fast provisioning to enable fast provisioning for virtual machines in the
organization virtual datacenter.
6 Click OK.
Edit Organization Virtual Datacenter Network Settings
You can change the maximum number of provisioned networks in an organization virtual datacenter and the network pool from which the networks are provisioned.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Right-click the organization virtual datacenter name and select Properties.
3 Click the Network Pool tab.
4 (Optional) Select a network pool from the drop-down menu or select None.
If you select None, you can add a network pool later.
5 (Optional) Enter the maximum number of networks that the organization can provision from the
network pool.
6 Click OK.

Add a Storage Policy to an Organization Virtual Datacenter

Add a storage policy to an organization virtual datacenter to support the storage policy for virtual machines on the provider virtual datacenter.
Prerequisites
One or more storage policies must be associated with the provider virtual datacenter that backs the organization virtual datacenter. See “Add a Storage Policy to a Provider Virtual Datacenter,” on page 51.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Storage Policies tab and click Add.
4 Select a storage policy, click Add and click OK.
Support for the storage policy is added to the organization virtual datacenter.
64 VMware, Inc.

Managing External Networks

After you create an external network, you can modify its name, description, and network specification, add IP addresses to its IP address pool, or delete the network.

Modify an External Network Name and Description

As your vCloud Director installation grows, you might want to assign a more descriptive name or description to an existing external network.
Procedure
1 Click the Manage & Monitor tab and click External Networks in the left pane.
2 Right-click the external network name and select Properties.
3 On the Name and Description tab, type a new name and description and click OK.

Modify an External Network Specification

If the network specification for an external network changes, you can modify its network settings.
Procedure
Chapter 5 Managing Cloud Resources
1 Click the Manage & Monitor tab and click External Networks in the left pane.
2 Right-click the external network name and select Properties.
3 On the Network Specification tab, modify the network settings and click OK.
You cannot modify the network mask or default gateway. If you need an external network with a different netmask or gateway, create one.

Add IP Addresses to an External Network IP Pool

If an external network is running out of IP addresses, you can add more addresses to its IP Pool.
Procedure
1 Click the Manage & Monitor tab and click External Networks in the left pane.
2 Right-click the external network name and select Properties.
3 On the Network Specification tab, type an IP address or a range of IP addresses in the text box and
click Add.
4 Click OK.

Delete an External Network

Delete an external network to remove it from vCloud Director.
Prerequisites
Before you can delete an external network, you must delete all of the edge gateways and organization virtual datacenter networks that rely on it.
Procedure
1 Click the Manage & Monitor tab and click External Networks in the left pane.
2 Right-click the external network name and select Delete Network.
VMware, Inc. 65
vCloud Director Administrator's Guide

Managing Edge Gateways

An edge gateway provides a routed organization virtual datacenter network with connectivity to external networks and can provide services such as load balancing, network address translation, and a firewall.
Edge gateways require vShield. For more information, see the vShield documentation.

Add an Edge Gateway

An edge gateway provides routing and other services to a routed organization virtual datacenter network.
Procedure
1 Open the New Edge Gateway Wizard on page 66
Open the New Edge Gateway wizard to start the process of adding an edge gateway to an organization virtual datacenter.
2 Select Gateway and IP Configuration Options for a New Edge Gateway on page 67
Configure the edge gateway to connect to one or more physical networks.
3 Select External Networks for a New Edge Gateway on page 67
Select the external networks that the edge gateway can connect to.
4 Configure IP Settings on a New Edge Gateway on page 67
Configure IP settings for external networks on the new edge gateway.
5 Suballocate IP Pools on a New Edge Gateway on page 67
Suballocate into multiple static IP pools the IP pools that the external networks on the edge gateway provide.
6 Configure Rate Limits on a New Edge Gateway on page 68
Configure the inbound and outbound rate limits for each external network on the edge gateway.
7 Configure the Name and Description of a New Edge Gateway on page 68
Enter a name and optional description for the edge gateway.
8 Review the Configuration of a New Edge Gateway on page 68
Review the configuration of an edge gateway before completing the add process.
Open the New Edge Gateway Wizard
Open the New Edge Gateway wizard to start the process of adding an edge gateway to an organization virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab and click the add button.
The New Edge Gateway wizard opens.
Chapter 5 Managing Cloud Resources
Select Gateway and IP Configuration Options for a New Edge Gateway
Configure the edge gateway to connect to one or more physical networks.
Procedure
1 Select a gateway configuration for the edge gateway.
Option Description
Compact
Full
Full-4
2 (Optional) Select Enable High Availability to enable high availability on the edge gateway.
3 (Optional) Select Configure IP Settings to manually configure the external interface's IP address.
4 (Optional) Select Sub-Allocate IP Pools to allocate a set of IP addresses for gateway services to use.
Requires less memory and compute resources.
Provides increased capacity and performance. Full and Full-4 configurations provide identical security functions.
Provides increased capacity and performance. Full and Full-4 configurations provide identical security functions. ESXi must have at least 8 vCPU available to deploy a Full-4 edge gateway with high availability enabled .
5 (Optional) Select Configure Rate Limits to choose the inbound and outbound rate limits for each
externally connected interface.
6 Click Next.
Select External Networks for a New Edge Gateway
Select the external networks that the edge gateway can connect to.
Procedure
1 Select an external network from the list and click Add.
Hold down Ctrl to select multiple networks.
2 Select a network to be the Default Gateway.
3 (Optional) Select Use default gateway for DNS Relay.
4 Click Next.
Configure IP Settings on a New Edge Gateway
Configure IP settings for external networks on the new edge gateway.
This page appears only if you selected Configure IP Settings during gateway configuration.
Procedure
1 Select Manual from the drop-down menu for each external network for which to specify an IP address.
2 Type an IP address for each external network set to Manual and click Next.
Suballocate IP Pools on a New Edge Gateway
Suballocate into multiple static IP pools the IP pools that the external networks on the edge gateway provide.
This page appears only if you selected Sub-Allocate IP Pools during gateway configuration.
vCloud Director Administrator's Guide
Procedure
1 Select an external network and IP pool to suballocate.
2 Type an IP address or range of IP addresses within the IP pool range and click Add.
Repeat this step to add multiple suballocated IP pools.
3 (Optional) Select a suballocated IP pool and click Modify to modify the IP address range of the
suballocated IP pool.
4 (Optional) Select a suballocated IP pool and click Remove to remove the suballocated IP pool.
5 Click Next.
Configure Rate Limits on a New Edge Gateway
Configure the inbound and outbound rate limits for each external network on the edge gateway.
This page appears only if you selected Configure Rate Limits during gateway configuration. Rate limits apply only to external networks backed by distributed port groups with static binding.
Procedure
1 Click Enable for each external network on which to enable rate limits.
2 Type the Incoming Rate Limit in gigabits per second for each enabled external network.
3 Type the Outgoing Rate Limit in gigabits per second for each enabled external network and click Next.
Configure the Name and Description of a New Edge Gateway
Enter a name and optional description for the edge gateway.
Procedure
1 Type a Name for the edge gateway.
2 (Optional) Type a Description for the edge gateway.
3 Click Next.
Review the Configuration of a New Edge Gateway
Review the configuration of an edge gateway before completing the add process.
Procedure
1 Review the settings for the new edge gateway and verify they are correct.
2 (Optional) Click Back to make any changes.
3 Click Finish.
Chapter 5 Managing Cloud Resources

Configuring Edge Gateway Services

You can configure services, such as DHCP, firewalls, network address translation (NAT), and VPN for edge gateways. Organization administrators can also configure some network services for their edge gateways.
Configure DHCP for an Edge Gateway
You can configure edge gateways to provide DHCP services to virtual machines connected to associated organization virtual datacenter networks.
Prerequisites
System administrators and organization administrators can configure DHCP.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the DHCP tab and select Enable DHCP.
5 Click Add and type a range of IP addresses.
6 Set the default lease time and maximum lease time or use the default values.
7 Click OK.
vCloud Director updates the edge gateway to provide DHCP services.
NOTE If the DNS settings on a DHCP-enabled edge gateway are changed, the edge gateway no longer provides DHCP services. To correct this issue, disable and reenable DHCP on the edge gateway.
Add a Source NAT rule to an Edge Gateway
A source NAT rule translates the source IP address of outgoing packets on an organization virtual datacenter that are being sent to another organization virtual datacenter network or an external network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the NAT tab and click Add SNAT.
5 Select an organization virtual datacenter network to apply this rule on from the Apply to drop-down
menu.
6 Type the original IP address or range of IP addresses to apply this rule on in the Original (Internal)
source IP/range text box.
7 Type the IP address or range of IP addresses to translate the addresses of outgoing packets to in the
Translated (External) source IP/range text box.
8 Select Enabled and click OK.
The IP addresses of outgoing packets on the organization virtual datacenter network are translated according to the specifications of the source NAT rule.
vCloud Director Administrator's Guide
Add a Destination NAT rule to an Edge Gateway
A destination NAT rule translates the IP address and port of packets received by an organization virtual datacenter network coming from another organization virtual datacenter network or an external network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the NAT tab and click Add DNAT.
5 Select an external network or another organization virtual datacenter network to apply this rule on
from the Apply to drop-down menu.
6 Type the original IP address or range of IP addresses to apply this rule on in the Original (External)
IP/range text box.
7 Choose the Protocol to apply this rule on from the drop-down menu.
To apply this rule on all protocols, select Any.
8 (Optional) Select an Original port to apply this rule to.
9 (Optional) Select an IMCP type to apply this rule to if this rule applies to IMCP.
10 Type the IP address or range of IP addresses for the destination addresses on inbound packets to be
translated to in the Translated (Internal) IP/range text box.
11 (Optional) Select a port for inbound packets to be translated to from the Translated port drop-down
menu.
12 Select Enabled, and click OK.
The destination IP address and port are translated according to the destination NAT rule's specifications.
Configure the Firewall for an Edge Gateway
Edge gateways provide firewall protection for incoming and outgoing sessions.
You can set the default firewall action to deny or allow all traffic. You can also add specific firewall rules to allow or deny traffic that matches the rules to pass through the firewall. These rules take precedence over the set default. See “Add a Firewall Rule for an Edge Gateway,” on page 71
System administrators and organization administrators can configure edge gateway firewalls.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 Click the Firewall tab and select Enable firewall to enable firewall services, or deselect it to disable
firewall services.
70 VMware, Inc.
Chapter 5 Managing Cloud Resources
5 Select the default firewall action.
Option Description
Deny
Allow
Blocks all traffic except when overridden by a firewall rule.
Allows all traffic except when overridden by a firewall rule.
6 (Optional) Select the Log check box to log events related to the default firewall action.
7 Click OK.
Add a Firewall Rule for an Edge Gateway
You can add firewall rules to an edge gateway that supports a firewall. You can create rules to allow or deny traffic that matches the rules to pass through the firewall.
For a firewall rule to be enforced, you must enable the firewall for the edge gateway. See “Configure the
Firewall for an Edge Gateway,” on page 70.
When you add a new firewall rule to an edge gateway, it appears at the bottom of the firewall rule list. For information about setting the order in which firewall rules are enforced, see “Reorder Firewall Rules for an
Edge Gateway,” on page 72.
System administrators and organization administrators can add firewall rules to an edge gateway.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the Firewall tab and click Add.
5 Type a name for the rule.
6 (Optional) Select Match rule on translated IP to have the rule check against translated IP addresses
rather than original IP addresses and choose a traffic direction to apply this rule on.
7 Type the traffic Source.
Option Description
IP address
Range of IP addresses
CIDR
internal
external
any
Type a source IP address to apply this rule on.
Type a range of source IP addresses to apply this rule on.
Type the CIDR notation of traffic to apply this rule on.
Apply this rule to all internal traffic.
Apply this rule to all external traffic.
Apply this rule to traffic from any source.
8 Select a Source port to apply this rule on from the drop-down menu.
9 Type the traffic Destination.
Option Description
IP address
Range of IP addresses
CIDR
internal
Type a destination IP address to apply this rule on.
Type a range of destination IP addresses to apply this rule on.
Type the CIDR notation of traffic to apply this rule on.
Apply this rule to all internal traffic.
vCloud Director Administrator's Guide
Option Description
external
any
10 Select the Destination port to apply this rule on from the drop-down menu.
11 Select the Protocol to apply this rule on from the drop-down menu.
12 Select the action.
A firewall rule can allow or deny traffic that matches the rule.
13 Select the Enabled check box.
14 (Optional) Select the Log network traffic for firewall rule check box.
If you enable this option, vCloud Director sends log events to the syslog server for connections affected by this rule. Each syslog message includes logical network and organization UUIDs.
15 Click OK and click OK again.
Reorder Firewall Rules for an Edge Gateway
Firewall rules are enforced in the order in which they appear in the firewall list. You can change the order of the rules in the list.
Apply this rule to all external traffic.
Apply this rule to traffic with any destination.
When you add a new firewall rule to an edge gateway, it appears at the bottom of the firewall rule list. To enforce the new rule before an existing rule, reorder the rules.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the Firewall tab.
5 Drag the firewall rules to establish the order in which the rules are applied.
6 Click OK.
Enable VPN for an Edge Gateway
You can enable VPN for organization virtual datacenters backed by an edge gateway and create a secure tunnel from one of those organization virtual datacenter networks to another network.
vCloud Director supports VPN between organization virtual datacenter networks backed by edge gateways and both organization virtual datacenter networks in the same organization and remote networks.
System administrators and organization administrators can enable VPN.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the VPN tab and select Enable VPN.
5 (Optional) Click Configure Public IPs, type a public IP address, and click OK.
6 Click OK.
Chapter 5 Managing Cloud Resources
What to do next
Create a VPN tunnel between an organization virtual datacenter network backed by the edge gateway to another network.
Configure Public IPs for External Networks
You can configure a public IP address for external networks associated with an edge gateway.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the VPN tab and click Configure Public IPs.
5 Type an IP address to act as the public IP address for each external network and click OK.
Creating VPN Tunnels on an Edge Gateway
You can create VPN tunnels between organization virtual datacenter networks on the same organization, between organization virtual datacenter networks on different organizations, and between an organization virtual datacenter network and an external network.
vCloud Director does not support multiple VPN tunnels between the same two edge gateways. If there is an existing tunnel between two gateways and you want to add another subnet to the tunnel, delete the existing VPN tunnel and create a new one that includes the new subnet.
Create a VPN Tunnel In an Organization for an Organization Virtual Datacenter Network Backed by an Edge Gateway
You can create a VPN tunnel between an organization virtual datacenter network that is backed by edge gateway and another organization virtual datacenter in the same organization.
System administrators and organization administrators can create VPN tunnels.
If a firewall is between the tunnel endpoints, you must configure it to allow the following IP protocols and UDP ports:
IP Protocol ID 50 (ESP)
n
IP Protocol ID 51 (AH)
n
UDP Port 500 (IKE)
n
UDP Port 4500
n
Prerequisites
Verify that you have at least two routed organization virtual datacenter networks in the organization. One of these networks must be backed by the edge gateway. Both organization virtual datacenter networks must have VPN enabled.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name. and select Edge Gateway Services.
4 Click the VPN tab and click Add.
5 Type a name and optional description.
VMware, Inc. 73
vCloud Director Administrator's Guide
6 Select a network in this organization from the drop-down menu and select local and peer networks.
7 Review the tunnel settings and click OK.
vCloud Director configures both peer network endpoints.
Create a VPN Tunnel Between Organizations
You can create a VPN tunnel between two organization virtual datacenter networks in different organizations. The organizations can be part of the same vCloud Director installation or a different installation.
Both system administrators and organization administrators can create VPN tunnels.
If there is a firewall between the tunnel endpoints, you must configure it to allow the following IP protocols and UDP ports:
IP Protocol ID 50 (ESP)
n
IP Protocol ID 51 (AH)
n
UDP Port 500 (IKE)
n
UDP Port 4500
n
Prerequisites
Verify that you have a routed organization virtual datacenter network in each of the organizations. The organization virtual datacenter networks must have non-overlapping IP subnets and site-to-site VPN enabled.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the VPN tab and click Add.
5 Type a name and optional description.
6 Select a network in another organization from the drop-down menu.
7 Click Connect to another organization, type the login information for the peer organization, and click
Continue.
Option Description
vCloud URL
Organization
Username
Password
The base URL of the vCloud instance that contains the peer organization. For example, https://www.example.com. Do not include /cloud or /cloud/org/orgname in the URL.
The organization name that is used as the unique identifier in the organization URL. For example, if the organization URL is https://www.example.com/cloud/org/myOrg, type myOrg.
The user name of an organization administrator or system administrator that has access to the organization.
The password associated with the user name.
8 Select a peer network.
9 Review the tunnel settings and click Connect.
vCloud Director configures both peer network endpoints.
Chapter 5 Managing Cloud Resources
Create a VPN Tunnel From an Organization Virtual Datacenter Network Backed by an Edge Gateway to a Remote Network
You can create a VPN tunnel between an organization virtual datacenter network that is backed by an edge gateway and a remote network.
System administrators and organization administrators can create VPN tunnels.
If a firewall is between the tunnel endpoints, you must configure it to allow the following IP protocols and UDP ports:
IP Protocol ID 50 (ESP)
n
IP Protocol ID 51 (AH)
n
UDP Port 500 (IKE)
n
UDP Port 4500
n
Prerequisites
Verify that you have a routed remote network that uses IPSec and an organization virtual datacenter network backed by an edge gateway.
Procedure
1 Click the Manage & Monitor tab, and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 Click the VPN tab and click Add.
5 Type a name and optional description.
6 Select a remote network from the drop-down menu.
7 Select the local organization virtual datacenter network.
8 Type the peer settings.
9 Review the tunnel settings and click OK.
vCloud Director configures the organization peer network endpoint.
What to do next
Manually configure the remote peer network endpoint. See “Display Peer Settings for a VPN Tunnel to a
Remote Network,” on page 75.
Display Peer Settings for a VPN Tunnel to a Remote Network
After you create a VPN tunnel to a remote network, display the peer settings for the VPN tunnel and configure the remote network according to those settings.
Prerequisites
A VPN tunnel to a remote network. See “Create a VPN Tunnel From an Organization Virtual Datacenter
Network Backed by an Edge Gateway to a Remote Network,” on page 75.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
vCloud Director Administrator's Guide
4 Click the VPN tab.
5 Select the VPN tunnel to display peer settings for, and click Peer settings.
vCloud Director displays the peer settings to configure on the remote network.
What to do next
Configure the displayed peer settings on the remote network.
Edit VPN Settings
You can edit the settings of an existing VPN tunnel.
Prerequisites
A VPN tunnel on the edge gateway. See “Creating VPN Tunnels on an Edge Gateway,” on page 73.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name and select Edge Gateway Services.
4 Click the VPN tab.
5 Select the VPN tunnel to display peer settings for, and click Edit.
6 Modify the settings as appropriate and click OK.
Enable Static Routing on an Edge Gateway
You can configure an edge gateway to provide static routing services. After you enable static routing on an edge gateway, you can add static routes to allow traffic between vApp networks routed to organization virtual datacenter networks backed by the edge gateway.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Static Routing tab, select Enable static routing, and click OK.
What to do next
Create static routes. See “Add Static Routes Between vApp Networks Routed to the Same Organization
Virtual Datacenter Network,” on page 91 and “Add Static Routes Between vApp Networks Routed to Different Organization Virtual Datacenter Networks,” on page 93.
Managing Load Balancer Service on an Edge Gateway
Edge gateways provide load balancing for TCP, HTTP, and HTTPS traffic.
You map an external, or public, IP address to a set of internal servers for load balancing. The load balancer accepts TCP, HTTP, or HTTPS requests on the external IP address and decides which internal server to use. Port 809 is the default listening port for TCP, port 80 is the default port for HTTP, and port 443 is the default port for HTTPS.
Chapter 5 Managing Cloud Resources
Add a Pool Server to an Edge Gateway on page 77
n
You can add a pool server to manage and share back-end servers flexibly and efficiently. A pool manages health check monitors and load balancer distribution methods.
Edit Pool Server Settings on page 78
n
You can edit the settings of an existing pool server.
Delete a Pool Server on page 79
n
You can delete a server pool from an edge gateway.
Add a Virtual Server to an Edge Gateway on page 79
n
A virtual server is a highly scalable and highly available server built on a cluster of servers called members.
Edit Virtual Server Settings on page 79
n
You can edit the settings of an existing virtual server.
Delete a Virtual Server on page 80
n
You can delete a virtual server from an edge gateway.
Add a Pool Server to an Edge Gateway
You can add a pool server to manage and share back-end servers flexibly and efficiently. A pool manages health check monitors and load balancer distribution methods.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Load Balancer tab, click Pool Servers and click Add.
5 Type a name and optionally a description for the pool server and click Next.
6 Click Enable for each service to support.
7 Select a balancing method from the drop-down menu for each enabled service.
Option Description
IP Hash
Round Robin
URI
Least Connected
Selects a server based on a hash of the source and destination IP address of each packet.
Each server is used in turn according to the weight assigned to it. This is the smoothest and fairest algorithm when the server's processing time remains equally distributed.
The left part of the URI (before the question mark) is hashed and divided by the total weight of the running servers. The result designates which server will receive the request. This ensures that a URI is always directed to the same server as long as no server goes up or down.
Distributes client requests to multiple servers based on the number of connections already on the server. New connections are sent to the server with the fewest connections.
8 (Optional) Change the default port for each enabled service if necessary.
9 Click Next.
10 Change the monitor port if required for each service that is to be supported by this pool.
vCloud Director Administrator's Guide
11 Select the health check mode from the drop-down menu for each service.
Option Description
SSL
HTTP
TCP
12 (Optional) Change the default health check parameters if necessary.
Option Description
Interval
Timeout
Health Threshold
Unhealth Threshold
13 For HTTP, type the URI referenced in the HTTP ping requests.
Tests servers using SSLv3 client hello messages. The server is considered valid only when the response contains server hello messages.
The GET / default method is used to detect server status. Only responses 2xx and 3xx are valid. Other responses (including a lack of response) indicate a server failure.
TCP connection check.
Interval at which a server is pinged.
Time within which a response from the server must be received.
Number of consecutive successful health checks before a server is declared operational.
Number of consecutive unsuccessful health checks before a server is declared dead.
14 Click Next.
15 Click Add to add a back-end server to the pool.
16 Type the IP address of the server.
17 Type the weight to indicate the ratio of how many requests are to be served by this back-end server.
18 Change the default port and monitor port for the server if required.
19 Click OK.
20 (Optional) Repeat Step 15 through Step 19 to add additional servers.
21 Click Next.
22 Verify that the settings for the pool server are correct and click Finish.
Edit Pool Server Settings
You can edit the settings of an existing pool server.
Prerequisites
There must be an existing pool server on the edge gateway. See “Add a Pool Server to an Edge Gateway,” on page 77.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Load Balancer tab, click Pool Servers.
5 Select the pool server to modify and click Edit.
6 Make the appropriate changes and click OK.
Chapter 5 Managing Cloud Resources
Delete a Pool Server
You can delete a server pool from an edge gateway.
Prerequisites
Verify that no virtual servers are using this pool server.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Load Balancer tab, click Pool Servers.
5 Select the pool server and click Delete.
Add a Virtual Server to an Edge Gateway
A virtual server is a highly scalable and highly available server built on a cluster of servers called members.
Prerequisites
The edge gateway must have at least one pool server. See “Add a Pool Server to an Edge Gateway,” on page 77.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Load Balancer tab, click Virtual Servers and click Add.
5 Type a name for the virtual server.
6 (Optional) Type a description for the virtual server.
7 Select an external network from the Applied on drop-down menu.
8 Type the IP address of the virtual server.
9 Select a pool from the drop-down menu to be associated with the virtual server.
10 In Services, select Enable for each service to be supported.
11 Change the default Port, Persistence Method, Cookie Name, and Cookie Mode values for each enabled
service as required.
12 Click Enabled to enable the virtual server.
13 (Optional) Click Log network traffic for virtual server.
14 Click OK.
Edit Virtual Server Settings
You can edit the settings of an existing virtual server.
Prerequisites
There must be an existing virtual server on the edge gateway. See “Add a Virtual Server to an Edge
Gateway,” on page 79.
vCloud Director Administrator's Guide
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Load Balancer tab, click Virtual Servers.
5 Select the virtual server to modify and click Edit.
6 Make the appropriate changes and click OK.
Delete a Virtual Server
You can delete a virtual server from an edge gateway.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Edge Gateway Services.
4 On the Load Balancer tab, click Virtual Servers.
5 Select the virtual server and click Delete.

Editing Edge Gateway Properties

You can change the settings for an existing edge gateway, including high availability, external network settings, IP pools, and rate limits.
Enable High Availability on an Edge Gateway on page 80
n
You can configure an edge gateway for high availability.
Configure External Networks on an Edge Gateway on page 81
n
Add or remove external networks connected to an edge gateway.
Configure External Network IP Settings on an Edge Gateway on page 81
n
Change the IP address for external interfaces on an edge gateway.
Suballocate IP Pools on an Edge Gateway on page 81
n
Suballocate into multiple static IP pools the IP pools that the external networks on an edge gateway provide.
Configure Rate Limits on an Edge Gateway on page 82
n
Configure the inbound and outbound rate limits for each external network on the edge gateway.
Enable High Availability on an Edge Gateway
You can configure an edge gateway for high availability.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Properties.
4 Click the General tab and select Enable HA.
Chapter 5 Managing Cloud Resources
Configure External Networks on an Edge Gateway
Add or remove external networks connected to an edge gateway.
Procedure
1 Click the Manage & Monitor tab, and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Properties.
4 Click the External Networks tab.
5 (Optional) Select an external network from the top list and click Add to add the external network to the
edge gateway.
Hold down Ctrl to select multiple networks.
6 (Optional) Select an external network from the top list and click Remove to remove the external
network from the edge gateway.
Hold down Ctrl to select multiple networks.
7 Select a network to be the Default Gateway.
8 (Optional) Select Use default gateway for DNS Relay.
9 Click OK.
Configure External Network IP Settings on an Edge Gateway
Change the IP address for external interfaces on an edge gateway.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Properties.
4 Click the Configure IP Settings tab.
5 Type a new IP address for each external network to modify, and click OK.
Suballocate IP Pools on an Edge Gateway
Suballocate into multiple static IP pools the IP pools that the external networks on an edge gateway provide.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Properties.
4 Click the Sub-Allocate IP Pools tab.
5 Select an external network and IP pool to suballocate.
6 (Optional) Type an IP address or range of IP addresses within the IP pool range and click Add to add a
suballocated IP pool.
7 (Optional) Select a suballocated IP pool and click Modify to modify the IP address range of the
suballocated IP pool.
VMware, Inc. 81
vCloud Director Administrator's Guide
8 (Optional) Select a suballocated IP pool and click Remove to remove the suballocated IP pool.
9 Click OK.
Configure Rate Limits on an Edge Gateway
Configure the inbound and outbound rate limits for each external network on the edge gateway.
Rate limits apply only to external networks backed by distributed port groups with static binding.
Procedure
1 Click the Manage & Monitor tab, and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Properties.
4 Click the Configure Rate Limits tab.
5 Click Enable for each external network on which to enable rate limits.
6 Type the Incoming Rate Limit in gigabits per second for each enabled external network.
7 Type the Outgoing Rate Limit in gigabits per second for each enabled external network, and click OK.

Upgrade an Edge Gateway

Upgrade an existing edge gateway to improve gateway capacity and performance.
Prerequisites
If you are upgrading an edge gateway with Full configuration and High Availability enabled to Full-4 configuration, ensure that ESXi has at least 8 CPUs.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Upgrade.
Edge gateways with Compact configuration are upgraded to Full configuration, and edge gateways with Full configuration are upgraded to Full-4 configuration.
What to do next
If you upgraded a Compact gateway to Full configuration, you can repeat the upgrade process to upgrade to a gateway with Full-4 configuration.

Delete an Edge Gateway

You can delete an edge gateway to remove it from the organization virtual datacenter.
Prerequisites
Delete any organization virtual datacenter networks that the edge gateway backs.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Delete.
82 VMware, Inc.
Chapter 5 Managing Cloud Resources

View IP Use for an Edge Gateway

You can view a list of IP addresses that external interfaces on an edge gateway are currently using.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select External IP Allocations.

Apply Syslog Server Settings to an Edge Gateway

You can apply syslog server settings to an edge gateway to enable firewall rule logging.
Apply syslog server settings to any edge gateway that was created before the initial creation of those settings. Apply the syslog server settings to an edge gateway any time the settings are changed.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Edge Gateways tab, right-click the edge gateway name, and select Synchronize syslog server
settings.
4 Click Yes.

Managing Organization Virtual Datacenter Networks

System administrators and organization administrators can add, delete, and modify routed and isolated organization virtual datacenter networks. Only a system administrator can add, delete, and modify a direct organization virtual datacenter network.
Adding Networks to an Organization Virtual Datacenter on page 84
n
Add a network to an organization virtual datacenter to enable its virtual machines to communicate with each other or to provide access to the Internet. A single organization virtual datacenter can have multiple networks.
Configuring Organization Virtual Datacenter Network Services on page 86
n
You can configure services, such as DHCP, firewalls, network address translation (NAT), and VPN for certain organization virtual datacenter networks. Organization administrators can also configure some network services for their organization virtual datacenter networks.
Reset an Organization Virtual Datacenter Network on page 94
n
If the network services that are associated with an organization virtual datacenter network are not working as expected, you can reset the network. Network services include DHCP settings, firewall settings, and so on.
View vApps and vApp Templates That Use an Organization Virtual Datacenter Network on page 95
n
You can view a list of the all the vApps and vApp templates that include virtual machines with a NIC connected to an organization virtual datacenter network. You cannot delete an organization virtual datacenter network with connected vApps or vApp templates.
Delete an Organization Virtual Datacenter Network on page 95
n
You can delete an organization virtual datacenter network to remove it from the organization virtual datacenter.
VMware, Inc. 83
vCloud Director Administrator's Guide
View IP Use for an Organization Virtual Datacenter Network on page 95
n
You can view a list of IP addresses that are currently in use in an organization virtual datacenter network IP pool.
Editing Organization Virtual Datacenter Network Properties on page 96
n
You can edit the properties of an existing organization virtual datacenter network, including the network name and description, IP addresses, and DNS settings.

Adding Networks to an Organization Virtual Datacenter

Add a network to an organization virtual datacenter to enable its virtual machines to communicate with each other or to provide access to the Internet. A single organization virtual datacenter can have multiple networks.
Table 56. Types of Organization Virtual Datacenter Networks and Their Requirements
Organization Virtual Datacenter Network Type Description Requirements
External organization virtual datacenter network
- direct connection
External organization virtual datacenter network
- NAT-routed connection
Internal organization virtual datacenter network
Accessible by multiple organizations. Virtual machines belonging to different organizations can connect to and see traffic on this network.
This network provides direct layer 2 connectivity to machines outside of the organization. Virtual machines outside of this organization can connect to virtual machines within the organization directly.
Accessible only by this organization. Only virtual machines within this organization can connect to this network.
This network also provides controlled access to an external network. System administrators and organization administrators can configure network address translation (NAT) and firewall settings to make specific virtual machines accessible from the external network.
On the Org VDC Networks tab, NAT-routed networks display a gateway address.
Accessible only by this organization. Only virtual machines within this organization can connect to and see traffic on this network.
This network provides an organization with an isolated, private network that multiple vApps can connect to. This network provides no connectivity to virtual machines outside this organization. Machines outside of this organization have no connectivity to machines within the organization.
On the Org VDC Networks tab, internal networks do not display an associated gateway address.
External network
vSphere Edge 5.1 and an edge gateway
Network pool
Create an External Direct Organization Virtual Datacenter Network
You can create an external direct organization virtual datacenter network that multiple organizations can access. You typically use the external network to connect to the Internet. The organization connects directly to this network.
Prerequisites
An external network.
84 VMware, Inc.
Chapter 5 Managing Cloud Resources
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab and click Add Network.
4 Select Connect directly to an external network.
5 Select an external network and click Next.
6 Type a name and optional description.
7 (Optional) Select Share this network with other VDCs in the organization to make the organization
virtual datacenter network available to other organization virtual datacenters in the organization.
8 Click Next.
9 Review the settings for the organization virtual datacenter network.
Click Finish to accept the settings and create the organization virtual datacenter network, or click Back to modify the settings.
Create an External Routed Organization Virtual Datacenter Network
You can create an external routed organization virtual datacenter network that only this organization can access.
Prerequisites
Verify that you have an edge gateway on your organization virtual datacenter.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab and click Add Network.
4 Select Create a routed network by connecting to an existing edge gateway.
5 Select an edge gateway and click Next.
6 Type a Gateway address and Network mask for the organization virtual datacenter network.
7 (Optional) Select Use gateway DNS to use the DNS relay of gateway.
This option is available only if the gateway has DNS relay enabled.
8 (Optional) Enter DNS settings to use DNS.
9 (Optional) Enter an IP address or range of IP addresses and click Add to create a static IP pool.
Repeat this step to add multiple static IP pools.
10 Click Next.
11 Type a name and optional description.
12 (Optional) Select Share this network with other VDCs in the organization to make the organization
virtual datacenter network available to other organization virtual datacenters in the organization.
13 Click Next.
14 Review the settings for the organization virtual datacenter network.
Click Finish to accept the settings and create the organization virtual datacenter network, or click Back to modify the settings.
VMware, Inc. 85
vCloud Director Administrator's Guide
Create an Internal Organization Virtual Datacenter Network
You can create an internal organization virtual datacenter network that only this organization can access. The new network provides the organization with an internal network to which multiple vApps can connect.
Prerequisites
Verify that you have a network pool.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab and click Add Network.
4 Select Create an isolated network within this virtual datacenter and click Next.
5 Type a Gateway address and Network mask for the organization virtual datacenter network.
6 (Optional) Select Use gateway DNS to use the DNS relay of gateway.
This option is available only if the gateway has DNS relay enabled.
7 (Optional) Enter DNS settings to use DNS.
8 (Optional) Enter an IP address or range of IP addresses and click Add to create a static IP pool.
Repeat this step to add multiple static IP pools.
9 Click Next.
10 Type a name and optional description.
11 (Optional) Select Share this network with other VDCs in the organization to make the organization
virtual datacenter network available to other organization virtual datacenters in the organization.
12 Click Next.
13 Review the settings and click Finish to accept the settings.
An organization virtual datacenter network is created.

Configuring Organization Virtual Datacenter Network Services

You can configure services, such as DHCP, firewalls, network address translation (NAT), and VPN for certain organization virtual datacenter networks. Organization administrators can also configure some network services for their organization virtual datacenter networks.
Table 5-7 lists the network services that vCloud Director provides to each type of organization virtual
datacenter network.
Table 57. Network Services Available by Network Type
Network Type DHCP Firewall NAT VPN
External organization virtual datacenter network - direct connection
External organization virtual datacenter network - routed connection
Internal organization virtual datacenter network
X X X X
X
Chapter 5 Managing Cloud Resources
Configure DHCP for an Organization Virtual Datacenter Network
You can configure certain organization virtual datacenter networks to provide DHCP services to virtual machines in the organization.
vCloud Director assigns a DHCP IP address to a virtual machine when you power it on if you performed the following tasks:
Enabled DHCP for an organization virtual datacenter network
n
Connected to that network a NIC on a virtual machine in the organization
n
Selected DHCP as the IP mode for that NIC
n
System administrators and organization administrators can configure DHCP.
Prerequisites
Verify that you have a routed organization virtual datacenter network or an internal organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 Click the DHCP tab and select Enable DHCP.
5 Type a range of IP addresses or use the default range.
vCloud Director uses these addresses to satisfy DHCP requests. The range of DHCP IP addresses cannot overlap with the static IP pool for the organization virtual datacenter network.
6 Set the default lease time and maximum lease time or use the default values.
7 Click OK.
vCloud Director updates the network to provide DHCP services.
Enable the Firewall for an Organization Virtual Datacenter Network
You can configure certain organization virtual datacenter networks to provide firewall services. You can enable the firewall on an organization virtual datacenter network to enforce firewall rules on incoming traffic, outgoing traffic, or both.
You can deny all incoming traffic, deny all outgoing traffic, or both. You can also add specific firewall rules to allow or deny traffic that matches the rules to pass through the firewall. These rules take precedence over the generic rules to deny all incoming or outgoing traffic. See “Add a Firewall Rule for an Organization
Virtual Datacenter Network,” on page 88.
System administrators and organization administrators can enable firewalls.
Prerequisites
Verify that you have an external routed organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
VMware, Inc. 87
vCloud Director Administrator's Guide
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 Click the Firewall tab and select Enable firewall.
5 Select the default firewall action.
6 (Optional) Select the Log check box to log events related to the default firewall action.
7 Click OK.
Add a Firewall Rule for an Organization Virtual Datacenter Network
You can add firewall rules to an organization virtual datacenter network that supports a firewall. You can create rules to allow or deny traffic that matches the rules to pass through the firewall.
For a firewall rule to be enforced, you must enable the firewall for the organization virtual datacenter network. See “Enable the Firewall for an Organization Virtual Datacenter Network,” on page 87.
When you add a new firewall rule to an organization virtual datacenter network, it appears at the bottom of the firewall rule list. For information about setting the order in which firewall rules are enforced, see
“Reorder Firewall Rules for an Organization Virtual Datacenter Network,” on page 89.
System administrators and organization administrators can add firewall rules.
Prerequisites
Verify that you have an external NAT-routed organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 Click the Firewall tab and click Add.
5 Type a name for the rule.
6 Select the traffic direction.
7 Type the source IP address and select the source port.
For incoming traffic, the source is the external network. For outgoing traffic, the source is the organization virtual datacenter network.
8 Type the destination IP address and select the destination port.
For incoming traffic, the destination is the organization virtual datacenter network. For outgoing traffic, the destination is the external network.
9 Select the protocol and action.
A firewall rule can allow or deny traffic that matches the rule.
10 Select the Enabled check box.
11 (Optional) Select the Log network traffic for firewall rule check box.
If you enable this option, vCloud Director sends log events to the syslog server for connections affected by this rule. Each syslog message includes logical network and organization UUIDs.
12 Click OK and click OK again.
Chapter 5 Managing Cloud Resources
Reorder Firewall Rules for an Organization Virtual Datacenter Network
Firewall rules are enforced in the order in which they appear in the firewall list. You can change the order of the rules in the list.
When you add a new firewall rule to an organization virtual datacenter network, it appears at the bottom of the firewall rule list. To enforce the new rule before an existing rule, reorder the rules.
Prerequisites
Verify that you have a routed organization virtual datacenter network with two or more firewall rules.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name and
select Configure Services.
4 Click the Firewall tab.
5 Drag the firewall rules to establish the order in which the rules are applied.
6 Click OK.
Enable VPN for an Organization Virtual Datacenter Network
You can enable VPN for an organization virtual datacenter network and create a secure tunnel to another network.
vCloud Director supports VPN between organization virtual datacenter networks in the same organization, organization virtual datacenter networks in different organizations (including organization virtual datacenter networks in different instances of vCloud Director), and remote networks.
System administrators and organization administrators can enable VPN.
Prerequisites
Verify that you have an external routed organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 Click the VPN tab and select Enable VPN.
5 (Optional) Type a public IP address.
6 Click OK.
What to do next
Create a VPN tunnel to another network.
VMware, Inc. 89
vCloud Director Administrator's Guide
Create a VPN Tunnel Within an Organization
You can create a VPN tunnel between two organization virtual datacenter networks in the same organization.
Both system administrators and organization administrators can create VPN tunnels.
If a firewall is between the tunnel endpoints, you must configure it to allow the following IP protocols and UDP ports:
IP Protocol ID 50 (ESP)
n
IP Protocol ID 51 (AH)
n
UDP Port 500 (IKE)
n
UDP Port 4500
n
Prerequisites
Verify that you have at least two routed organization virtual datacenter networks with non-overlapping IP subnets and VPN enabled on both networks.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 Click the VPN tab and click Add.
5 Type a name and optional description.
6 Select a network in this organization from the drop-down menu and select a peer network.
7 Review the tunnel settings and click OK.
vCloud Director configures both peer network endpoints.
Create a VPN Tunnel to a Remote Network
You can create a VPN tunnel between an organization virtual datacenter network and a remote network.
System administrators and organization administrators can create VPN tunnels.
If a firewall is between the tunnel endpoints, you must configure it to allow the following IP protocols and UDP ports:
IP Protocol ID 50 (ESP)
n
IP Protocol ID 51 (AH)
n
UDP Port 500 (IKE)
n
UDP Port 4500
n
Prerequisites
Verify that you have a routed organization virtual datacenter network and a routed remote network that uses IPSec.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
90 VMware, Inc.
Chapter 5 Managing Cloud Resources
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name and
select Configure Services.
4 Click the VPN tab and click Add.
5 Type a name and optional description.
6 Select a remote network from the drop-down menu.
7 Type the peer settings.
8 Review the tunnel settings and click OK.
vCloud Director configures the organization peer network endpoint.
What to do next
Manually configure the remote peer network endpoint.
Enable Static Routing for an Organization Virtual Datacenter Network
You can configure certain organization virtual datacenter networks to provide static routing services. After you enable static routing on an organization virtual datacenter network, you can add static routes to allow traffic between different vApp networks routed to the organization virtual datacenter network.
Prerequisites
Verify that you have a routed organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 On the Static Routing tab, select Enable static routing and click OK.
What to do next
Create static routes. See “Add Static Routes Between vApp Networks Routed to the Same Organization
Virtual Datacenter Network,” on page 91 and “Add Static Routes Between vApp Networks Routed to Different Organization Virtual Datacenter Networks,” on page 93.
Add Static Routes Between vApp Networks Routed to the Same Organization Virtual Datacenter Network
You can add static routes between two vApp networks that are routed to the same organization virtual datacenter network. Static routes allow traffic between the networks.
You cannot add static routes between overlapping networks or fenced vApps. After you add a static route to an organization virtual datacenter network, configure the network firewall rules to allow traffic on the static route.
Static routes function only when the vApps included in the routes are running. If you perform any of the following operations on a vApp that includes static routes, the static routes no longer function and you must remove them manually.
Change the parent network of a vApp
n
Delete a vApp
n
vCloud Director Administrator's Guide
Delete a vApp network
n
Prerequisites
Verify that the networks have the following configurations:
vShield is installed.
n
A routed organization virtual datacenter network.
n
Static routing is enabled on the organization virtual datacenter network.
n
Two vApp networks are routed to the organization virtual datacenter network.
n
The vApp networks are in vApps that were started at least once.
n
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name and
select Configure Services.
4 On the Static Routing tab, click Add.
5 Type a name, network address, and next hop IP.
The network address is for the first vApp network to which to add a static route. The next hop IP is the external IP address of that vApp network's router.
6 Select Within this network and click OK.
7 Click OK.
8 Repeat steps Step 4 through Step 7 to add a route to the second vApp network.
Example: Static Routing Example
vApp Network 1 and vApp Network 2 are both routed to Org VDC Network Shared. You can create static routes on the organization virtual datacenter network to allow traffic between the vApp networks. You can use information about the vApp networks to create the static routes.
Table 58. Network Information
Network Name Network Specification Router External IP Address
vApp Network 1 192.168.1.0/24 192.168.0.100
vApp Network 2 192.168.2.0/24 192.168.0.101
Org VDC Network Shared 192.168.0.0/24 NA
On Org VDC Network Shared, create a static route to vApp Network 1 and another static route to vApp Network 2.
Table 59. Static Routing Settings
Static Route to Network Route Name Network
vApp Network 1 tovapp1 192.168.1.0/24 192.168.0.100 Within this network
vApp Network 2 tovapp2 192.168.2.0/24 192.168.0.101 Within this network
Next Hop IP Address Route
What to do next
Create firewall rules to allow traffic on the static routes. See “Add a Firewall Rule for an Organization
Virtual Datacenter Network,” on page 88.
92 VMware, Inc.
Chapter 5 Managing Cloud Resources
Add Static Routes Between vApp Networks Routed to Different Organization Virtual Datacenter Networks
An organization administrator can add static routes between two vApp networks that are routed to different organization virtual datacenter networks. Static routes allow traffic between the networks.
You cannot add static routes between overlapping networks or fenced vApps. After you add a static route to an organization virtual datacenter network, configure the network firewall rules to allow traffic on the static route. For vApps with static routes, select the Always use assigned IP addresses until this vApp or associated networks are deleted check box.
Static routes function only when the vApps included in the routes are running. If a vApp includes static routes and you perform the following operations, the static routes cannot function and you must remove them manually.
Change the parent network of the vApp
n
Delete a vApp
n
Delete a vApp network
n
Prerequisites
Verify that vCloud Director has the following configurations:
Two organization virtual datacenter networks routed to the same external network.
n
Static routing is enabled on both organization virtual datacenter networks.
n
A vApp network is routed to each organization virtual datacenter network.
n
The vApp networks are in vApps that were started at least once.
n
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Configure Services.
4 On the Static Routing tab, click Add.
5 Type a name, network address, and next hop IP address.
The network address is for the vApp network to which to add a static route. The next hop IP address is the external IP address of the router for the organization virtual datacenter network to which that vApp network is routed.
6 Select To external network and click OK.
7 Click Add.
8 Type a name, network address, and next hop IP address.
The network address is for the vApp network that is routed to this organization virtual datacenter network. The next hop IP address is the external IP address of the router for that vApp network.
9 Select Within this network and click OK.
10 Repeat steps Step 4 through Step 9 to add static routes to the second organization virtual datacenter
network.
VMware, Inc. 93
vCloud Director Administrator's Guide
Example: Static Routing Example
vApp Network 1 is routed to Org VDC Network 1. vApp Network 2 is routed to Org VDC Network 2. You can create static routes on the organization virtual datacenter networks to allow traffic between the vApp networks. You can use information about the vApp networks and organization virtual datacenter networks to create the static routes.
Table 510. Network Information
Network Name Network Specification Router External IP Address
vApp Network 1 192.168.1.0/24 192.168.0.100
vApp Network 2 192.168.11.0/24 192.168.10.100
Org VDC Network 1 192.168.0.0/24 10.112.205.101
Org VDC Network 2 192.168.10.0/24 10.112.205.100
On Org VDC Network 1, create a static route to vApp Network 2 and another static route to vApp Network
1. On Org VDC Network 2, create a static route to vApp Network 1 and another static route to vApp Network 2.
Table 511. Static Routing Settings for Org VDC Network 1
Static Route to Network Route Name Network
vApp Network 2 tovapp2 192.168.11.0/24 10.112.205.100 To external network
vApp Network 1 tovapp1 192.168.1.0/24 192.168.0.100 Within this network
Next Hop IP Address Route
Table 512. Static Routing Settings for Org VDC Network 2
Static Route to Network Route Name Network
vApp Network 1 tovapp1 192.168.1.0/24 10.112.205.101 To external network
vApp Network 2 tovapp2 192.168.11.0/24 192.168.10.100 Within this network
Next Hop IP Address Route
What to do next
Create firewall rules to allow traffic on the static routes. See “Add a Firewall Rule for an Organization
Virtual Datacenter Network,” on page 88.

Reset an Organization Virtual Datacenter Network

If the network services that are associated with an organization virtual datacenter network are not working as expected, you can reset the network. Network services include DHCP settings, firewall settings, and so on.
Before you delete a provider virtual datacenter, reset the organization virtual datacenter networks that depend on it.
No network services are available while an organization virtual datacenter network resets.
Prerequisites
Verify that you have a routed organization virtual datacenter network or an internal organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
Chapter 5 Managing Cloud Resources
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Reset Network.
4 Click Yes.

View vApps and vApp Templates That Use an Organization Virtual Datacenter Network

You can view a list of the all the vApps and vApp templates that include virtual machines with a NIC connected to an organization virtual datacenter network. You cannot delete an organization virtual datacenter network with connected vApps or vApp templates.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name and
select Connected vApps.
4 Click OK.

Delete an Organization Virtual Datacenter Network

You can delete an organization virtual datacenter network to remove it from the organization virtual datacenter.
Prerequisites
Verify that no virtual machines are connected to the organization virtual datacenter network. See “View
vApps and vApp Templates That Use an Organization Virtual Datacenter Network,” on page 95.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Delete.

View IP Use for an Organization Virtual Datacenter Network

You can view a list of IP addresses that are currently in use in an organization virtual datacenter network IP pool.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select IP Allocations.
VMware, Inc. 95
vCloud Director Administrator's Guide

Editing Organization Virtual Datacenter Network Properties

You can edit the properties of an existing organization virtual datacenter network, including the network name and description, IP addresses, and DNS settings.
Add IP Addresses to an Organization Virtual Datacenter Network IP Pool on page 96
n
If an organization virtual datacenter network is running out of IP addresses, you can add more addresses to its IP Pool.
Modify an Organization Virtual Datacenter Network Name and Description on page 96
n
As your vCloud Director installation increases, you might want to assign a more descriptive name or description to an existing organization virtual datacenter network.
Modify an Organization Virtual Datacenter Network DNS Settings on page 97
n
You can change the DNS settings for certain types of organization virtual datacenter networks.
Add IP Addresses to an Organization Virtual Datacenter Network IP Pool
If an organization virtual datacenter network is running out of IP addresses, you can add more addresses to its IP Pool.
Prerequisites
Verify that you have a routed organization virtual datacenter network or an internal organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Properties.
4 Click the Network Specification tab, type an IP address or a range of IP addresses in the text box, and
click Add.
5 Click OK.
Modify an Organization Virtual Datacenter Network Name and Description
As your vCloud Director installation increases, you might want to assign a more descriptive name or description to an existing organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Properties.
4 Type a new name and optional description and click OK.
96 VMware, Inc.
Modify an Organization Virtual Datacenter Network DNS Settings
You can change the DNS settings for certain types of organization virtual datacenter networks.
Prerequisites
Verify that you have a routed organization virtual datacenter network or an internal organization virtual datacenter network.
Procedure
1 Click the Manage & Monitor tab and click Organization VDCs in the left pane.
2 Double-click the organization virtual datacenter name to open the organization virtual datacenter.
3 Click the Org VDC Networks tab, right-click the organization virtual datacenter network name, and
select Properties.
4 Click the Network Specification tab, type the new DNS information, and click OK.

Managing Network Pools

After you create a network pool, you can modify its name or description, or delete it. Depending on the type of network pool, you can also add port groups, cloud isolated networks, and VLAN IDs. You cannot modify or delete VXLAN network pools.
Chapter 5 Managing Cloud Resources
Modify a Network Pool Name and Description on page 97
n
As your vCloud Director installation grows, you might want to assign a more descriptive name or description to an existing network pool.
Add a Port Group to a Network Pool on page 97
n
You can add port groups to a network pool that is backed by port groups.
Add Cloud Isolated Networks to a Network Pool on page 98
n
You can add Cloud isolated networks to a VCD network isolation-backed network pool.
Add VLAN IDs to a Network Pool on page 98
n
You can add VLAN IDs to a network pool that is backed by a VLAN.
Delete a Network Pool on page 98
n
Delete a network pool to remove it from vCloud Director. You cannot delete VXLAN network pools.

Modify a Network Pool Name and Description

As your vCloud Director installation grows, you might want to assign a more descriptive name or description to an existing network pool.
Procedure
1 Click the Manage & Monitor tab and then click Network Pools in the left pane.
2 Right-click the network pool name and select Properties.
3 On the General tab, type a new name or description and click OK.

Add a Port Group to a Network Pool

You can add port groups to a network pool that is backed by port groups.
Prerequisites
Verify that you have a network pool that is backed by a port group
n
VMware, Inc. 97
vCloud Director Administrator's Guide
Verify that you have an available port group in vSphere
n
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Right-click the network pool name and select Properties.
3 On the Network Pool Settings tab, select a port group, click Add, and click OK.

Add Cloud Isolated Networks to a Network Pool

You can add Cloud isolated networks to a VCD network isolation-backed network pool.
Prerequisites
A VCD network isolation-backed network pool
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Right-click the network pool name and select Properties.
3 On the Network Pool Settings tab, type the number of VCD isolated networks and click OK.

Add VLAN IDs to a Network Pool

You can add VLAN IDs to a network pool that is backed by a VLAN.
Prerequisites
Verify that your system includes the following items:
A network pool that is backed by a VLAN
n
Available VLAN IDs in vSphere
n
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Right-click the network pool name and select Properties.
3 On the Network Pool Settings tab, type a VLAN ID range and click Add.
4 Select a vSphere distributed switch and click OK.

Delete a Network Pool

Delete a network pool to remove it from vCloud Director. You cannot delete VXLAN network pools.
Prerequisites
Verify that the following conditions exist:
No organization virtual datacenter is associated with the network pool.
n
No vApps use the network pool
n
No organization virtual datacenter networks use the network pool.
n
Procedure
1 Click the Manage & Monitor tab and click Network Pools in the left pane.
2 Right-click the network pool name and select Delete.
3 Click Yes.

Managing Cloud Cells

You manage cloud cells mostly from the vCloud Director server host on which the cell resides, but you can delete a cloud cell from the vCloud Director Web console.
Table 5-13 lists the basic commands for controlling a cloud cell.
Table 513. Cloud Cell Commands
Command Description
service vmware-vcd start
service vmware-vcd restart
service vmware-vcd stop
When you stop a cell, you may want to display a maintenance message to users that attempt to access that cell using a browser or the vCloud API. See “Turn On Cloud Cell Maintenance Message,” on page 100.
Adding Cloud Cells on page 99
n
To add cloud cells to a vCloud Director installation, install the vCloud Director software on additional Cloud Director server hosts in the same vCloud Director cluster.
Chapter 5 Managing Cloud Resources
Starts the cell
Restarts the cell
Stops the cell
Delete a Cloud Cell on page 99
n
If you want to remove a cloud cell from your vCloud Director installation, in order to reinstall the software, or for some other reason, you can delete the cell.
Turn On Cloud Cell Maintenance Message on page 100
n
If you want to stop a cell and let users know that you are performing maintenance, you can turn on the maintenance message.
Turn Off Cloud Cell Maintenance Message on page 100
n
When you finish performing maintenance on a cell and are ready to restart the cell, you can turn off the maintenance message.

Adding Cloud Cells

To add cloud cells to a vCloud Director installation, install the vCloud Director software on additional Cloud Director server hosts in the same vCloud Director cluster.
For more information, see the VMware vCloud Director Installation and Configuration Guide.

Delete a Cloud Cell

If you want to remove a cloud cell from your vCloud Director installation, in order to reinstall the software, or for some other reason, you can delete the cell.
You can also delete a cell if it becomes unreachable.
Prerequisites
You must stop the cell using the service vmware-vcd stop command.
Procedure
1 Click the Manage & Monitor tab and click Cloud Cells in the left pane.
2 Right-click the cell name and select Delete.
vCloud Director removes information about the cell from its database.
vCloud Director Administrator's Guide

Turn On Cloud Cell Maintenance Message

If you want to stop a cell and let users know that you are performing maintenance, you can turn on the maintenance message.
When the maintenance message is turned on, users who try to log in to the cell from a browser see a message stating that the cell is unavailable because of maintenance. Users who try to reach the cell using the vCloud API receive a similar message.
Procedure
1 Stop the cell by running the service vmware-vcd stop command.
2 Run the /opt/vmware/vcloud-director/bin/vmware-vcd-cell maintenance command.
Users cannot access the cell by using a browser or the vCloud API.

Turn Off Cloud Cell Maintenance Message

When you finish performing maintenance on a cell and are ready to restart the cell, you can turn off the maintenance message.
Procedure
1 Run the /opt/vmware/vcloud-director/bin/vmware-vcd-cell stop command.
2 Start the cell by running the service vmware-vcd start command.
Users can now access the cell by using a browser or the vCloud API.

Managing Service Offerings

Service offerings enable you to offer products and platforms as services in a virtual datacenter.
The following platforms and products are supported.
VMware vFabric Data Director version 2.7
n
Cloud Foundry platform version 1.0
n
To enable service offering integration, see Using the vCloud API to Enable and Configure vCloud Director
Service Offering Integration.
Register an Extension on page 101
n
Register and extension to offer vFabric Data Director or Cloud Foundry services in vCloud Director.
View or Modify Extension Properties on page 102
n
You can view an extension's type and associated service offerings and modify an extension's properties, such as name, namespace, user name, and password.
Associate a Service Offering With an Organization Virtual Datacenter on page 102
n
You can associate extension services with organization virtual datacenters to make those services available to virtual machines on the virtual datacenter.
Disassociate a Service Offering From an Organization Virtual Datacenter on page 102
n
You can dissociate a service offering from an organization virtual datacenter to remove access to the service from virtual machines on the organization virtual datacenter.
Unregister an Extension on page 103
n
You can unregister an extension to remove access to its services from vCloud Director
100 VMware, Inc.
Loading...