New performance and optimizations guides for Cloud and vSphere
http://www.vmware.com/files/pdf/techpaper/VMware-vCloud-Director51-Perf.pdf
vSphere
http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.1.pdf
I thought perhaps we had removed this functionality in vSphere 5.1, but it is still there, just very buried. You have to go into the properties of the Host, Actions/All vCenter Actions/ Add Networking.. (see below)
Here is the published document on how to do it.
This is a guide for deploying vCloud in a LAB environment, these settings are not the most secure or performant, but this should get you up and running with vCloud 5.1 so you can test and learn it. The easiest way is with the appliance, you don’t need to use a MS SQL DB, but occasionally I need to crack open the DB and I am the most comfortable with that technology.
1) Configure the database server.
A database server configured with 16GB of memory, 100GB storage, and 4 CPUs should be adequate for most vCloud Director clusters. (this is for production level quality)
2) Specify Mixed Mode authentication during SQL Server setup.
Windows Authentication is not supported when using SQL Server with vCloud Director.
3) Create the database instance.
The following script creates the database and log files, specifying the proper collation sequence.
USE [master]
GO
CREATE DATABASE [vcloud] ON PRIMARY
(NAME = N'vcloud', FILENAME = N'C:\vcloud.mdf', SIZE = 100MB, FILEGROWTH = 10% )
LOG ON
(NAME = N'vcdb_log', FILENAME = N'C:\vcloud.ldf', SIZE = 1MB, FILEGROWTH = 10%)
COLLATE Latin1_General_CS_AS
GO
The values shown for SIZE are suggestions. You might need to use larger values.
4) Set the transaction isolation level.
The following script sets the database isolation level to READ_COMMITTED_SNAPSHOT.
USE [vcloud]
GO
ALTER DATABASE [vcloud] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE [vcloud] SET ALLOW_SNAPSHOT_ISOLATION ON;
ALTER DATABASE [vcloud] SET READ_COMMITTED_SNAPSHOT ON WITH NO_WAIT;
ALTER DATABASE [vcloud] SET MULTI_USER;
GO
For more about transaction isolation, see http://msdn.microsoft.com/en-us/library/ms173763.aspx.
5) Create the vCloud Director database user account.
The following script creates database user name vcloud with password vcloudpass.
USE [vcloud]
GO
CREATE LOGIN [vcloud] WITH PASSWORD = 'vcloudpass', DEFAULT_DATABASE =[vcloud],
If your like me, you always want to know what changed in the latest version, so here is a list of links to all the new PDF’s
vSphere 5.1 (Marketing Overview)
VMware vCloud Suite (Marketing Overview)
vSphere 5.1 vCenter
vSphere 5.1 Performance
vSphere 5.1 Storage
vSphere 5.1 Networking
vSphere 5.1 Platform
vSphere 5.1 Storage Appliance
vCloud Director 5.1
vSphere Replication
vSphere Data Protection
VMware vCenter Configuration Manager 5.5.1
VMware vCloud® Networking and Security Overview
I’m sure there are more, if you know of any more, let me know and I’ll add it.
If you see an Error such as:
Unable to deploy virtual machines in resource pool "LBM4".
Even though the vDS (VMware Distributed Switch) maximum went up from 4,096 to 20,000 in vSphere 4.1, the vDS won’t be able to go over 8192 unless you manually modify the vDS. You would have already upgraded the vDS from a 4.0 to a 4.1 to have a number this high.
Here is the VMware KB that tells you how to manually increase the size of your vDS
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1038193