VMware vSphere 5 licensing update explained
With the announcement of VMware vSphere 5 a complete new license model is introduces.
In VMware vSphere 4 the licensing model was per physical processor based on the number of cores per CPU and the physical memory.
The VMware vSphere 5 license model is based per physical processor and the allocated memory (vRAM) across the entire vSphere environment for a particular vSphere 5 edition (pool).
VMware has released a video which explains the new vSphere 5 licensing model.
Update 15 august 2011:
VMware has announced an update in the licensing for vSphere 5. They listens to their customers and changed the licensing. The following things have been updated:
- The vRAM entitlements are increased. See the new entitlements in this post.
- Capped amount of vRAM that is counted for a VM with a max of 1 vSphere Enterprise license (96GB). So an 1TB VM cost 96GB.
- More flexible around transient workloads, and short-term spikes that are typical in test & development environments for example. We will now calculate a 12-month average of consumed vRAM to rather than tracking the high water mark of vRAM.
- VMware launched an official tool “The VMware vSphere Licensing Advisor”. This tool allows users with vSphere 4.1, vSphere 4.0 and Virtual Infrastructure 3.5 environments to calculate and understand their vRAM usage and vRAM capacity as if they upgraded to vSphere 5.0.
Everything in red text is updated.
vSphere 5 licensing facts:
- vRAM = virtual memory configured to a Virtual Machine
- Pooled vRAM = sum of all vRAM entitlements across all vSphere 5 licenses from the same edition in one or more vCenter(s) servers in linked mode
- Only powered-on VMs a counted in the total vRAM.
- vRAM pool must be licensed with the same vSphere edition.
- You can multiple vRAM pools in one or more vCenter servers for example a vSphere 5 standard and vSphere 5 Enterprise license pool
- The vSphere 4 Advanced edition is removed and customers get a free upgrade to Enterprise
vSphere editions and vRAM entitlement
The following vSphere 5 editions are available:
| vSphere 5 edition | Old vRAM (GB) entitlement per Physical CPU | NEW vRAM (GB) entitlement per Physical CPU | Max vCPU/VM |
| vSphere 5 Hypervisor (free version) | 8 | 32 Physical limit (no vRAM entitlement) | 8 |
| vSphere 5 Essentials | 24 (max. 6 processor license, total 192GB) | 32 | 8 |
| vSphere 5 Essentials plus | 24 (max. 6 processor license, total 192GB) | 32 | 8 |
| vSphere 5 Standard | 24 | 32 | 8 |
| vSphere 5 Enterprise | 32 | 64 | 8 |
| vSphere 5 Enterprise plus | 48 | 96 | 32 |
How many licenses do I need?
For existing customers before upgrading to vSphere 5 you need to know if the upgrade can without needing extra licenses.
To calculate how many licenses you need to sum up the total amount of vRAM allocated in all the powered-on VMs and divide that to total amount by the for the particular vSphere 5 edition you are running. Here are two customer cases:
Customer example 1
Stretched cluster across two sites. One VMware vCenter server and 19 VMware vSphere 4 hosts. 2 Clusters.
| Cluster | vSphere 4 hosts | License |
| Cluster Citrix | 10 | Standard |
| Cluster HA&DRS | 9 | Enterprise |
vSphere host hardware:
- HP Proliant DL 380 G6
- 2 x Intel Xeon 5500 CPUs
- 48 GB memory
| VMware vSphere hosts | 19 |
| License type | vSphere 4 Enterprise (9) vSphere 4 standard (10) |
| Total CPU licenses | vSphere 4 Enterprise 18 vSphere 4 standard 20 |
| Max pooled vRAM | vSphere Enterprise gives per CPU 64GB, 18 x 64GB = 1152GB Pooled vRAM
vSphere Standard gives per CPU 32GB, 20 x 32GB = 640 GB Pooled vRAM |
| Current vRAM usage | 312 GB Enterprise pool 320 GB Standard pool |
| Maximum usage RAM (100% use) | 432 GB (9 x 48GB) Enterprise 480 GB (10 x 48GB) Standard |
No additional licenses will be required for this environment.
Customer example 2
Two sites, on every site one vCenter server and 4 VMware vSphere 4 hosts with VMware Site Recovery Manager (SRM).
vSphere host hardware:
- HP Proliant DL 380 G7
- 2 x Intel Xeon 5650 CPUs
- 72 GB memory
Site 1
| VMware vSphere hosts | 4 |
| License type | vSphere 4 Enterprise |
| Total licenses | 8 |
| Max pooled vRAM | vSphere enterprise gives per CPU 64GB, 8 x 64GB = 512GB Pooled vRAM |
| Current vRAM usage | 177 GB |
| Maximum usage RAM (100% use) | 288 GB (4 x 72GB) |
Site 2
| VMware vSphere hosts | 4 |
| License type | vSphere 4 Enterprise |
| Total licenses | 8 |
| Max pooled vRAM | vSphere enterprise gives per CPU 64GB, 8 x 64GB = 512GB Pooled vRAM |
| Current vRAM usage | 68 GB |
| Maximum usage RAM (100% use) | 288 GB (4 x 72GB) |
No additional licenses will be required for this environment even if the 288 GB RAM cannot be full used. This because of the reservation of an X amount of memory in your cluster for the hypervisor, maintenance mode and High Availability (HA).
Cons of the new vSphere 5 licensing
VMware listening to there customers and increased for example the vRAM entitlements. To most of the cons do not apply anymore.
- Customers are or going to upgrade to Microsoft Windows 2008 R2. Our Windows 2008 R2 templates are based 4GB of more depending on the task the VM gets. As we take 4GB as average the following 4GB VMs can be placed with 100% memory use:
| 2 8 |
||
| 6
8 |
||
8 |
||
- The CPU core to memory ratio can be very low. For example for a six core CPU with hyper-treading and a standard license gives a very low ratio 1:1 if we use 4GB VMs.
- You may loss the the flexibility to scale-up the memory without invest in extra vSphere licenses. I have seen a lot of customers who upgrade the memory of their vSphere hosts within 3 a 4 years. With the new vSphere 5 licensing this can lead in buying extra licenses.
- The vSphere 5 Hypervisor version supports 8GB per CPU, a dual CPU sockets hosts gives u 16GB RAM. On this server you can place 3,5 Windows 2008 R2 VM with 4GB VMs. I think the vSphere 5 Hypervisor isn’t going to be used anymore because other hypervisors haven’t this restriction and even offer more functionality.
- No benefit for memory technics such as memory over allocation because the licensing is based on virtual memory configured to a Virtual Machine (vRAM)
Tools
Before upgrading to vSphere 5 you need to know if the upgrade can without needing extra licenses. Here’s are some great PowerCLI script the examine the vRAM usage and licenses used in your current vSphere environment:
- vSphere Licensing Advisor. The VMware vSphere Licensing Advisor allows users with vSphere 4.1, vSphere 4.0 and Virtual Infrastructure 3.5 environments to calculate and understand their vRAM usage and vRAM capacity as if they upgraded to vSphere 5.0. The tool will show you the vRAM capacity and usage for each vSphere 5.0 equivalent edition.
- License Validator by Alan Renouf
- Query vRAM by Luc Dekens
- Calculate vSphere 5 licenses by Hugo Peeters
Other stuff:
- VMware vSphere 5.0 Licensing, Pricing and Packaging whitepaper
- Virtual License Calculator by Rynard Spies
- vKernel free CapacityView tool
VMware has a white paper about the vSphere 5 new licensing structure and can be found here. There is also a vSphere 5 licensing discussion on the VMware Community.
VDI licenses
For VDI desktops VMware a “vSphere Desktop” package license is introduces. This license is a lot easier to understand. For a 100 concurrent desktop license you pay $6500, that is $65 per desktop regardless the processors, memory you have.
More on the desktop licenses:
- VMware blog about the new desktop license
- VMware FAQ about the desktop license
I hope VMware will make the right decisions on the vSphere 5 licensing structure so we can use this great hypervisor for a long time.
VMware vSphere 5 what’s new
VMware announced vSphere 5 yesterday. This is the next generation of their Cloud Infrastructure Suite.
Here’s a list of white papers and technical documents about the new products, features and licensing of VMware vSphere 5:
- What’s New in VMware vSphere 5.0 Platform
- What’s New in VMware vSphere 5.0 Storage
- What’s New in VMware vSphere 5.0 Performance
- What’s New in VMware vSphere 5.0 Networking
- What’s New in VMware vSphere 5.0 Availability
- What’s New in VMware vCloud Director 1.5 Technical Whitepaper
- What’s New in VMware vCenter Site Recovery Manager 5.0 Technical Whitepaper
- What’s New in VMware Data Recovery 2.0 Technical Whitepaper
- VMware vSphere Storage Appliance Technical Whitepaper
- VMware vSphere 5.0 Licensing, Pricing and Packaging
Also the new VMware Certified Professional (VCP 5) exam details are available:
- VMware Certified Professional 5 (VCP 5) information
More information on VMware vSphere 5 are covered in future blog post!
Display or filter VMs that are restarted by VMware HA
When VMware High Availability(HA) comes in action, the VMs are restarted (depending on the HA settings) on other VMware ESX servers in the cluster. It’s handy to know what VMs are restarted.
In the vCenter client the Tasks and Events page size can be increased. Default the vCenter client displays 100 tasks and events. In a cluster with a lot of host and a HA action the 100 tasks and events can be to low. So increasing the size will display the events that list what VMs ate restarted. Increasing can be done by using the following steps:
- Open the vCenter client
- Choose Edit
- Client Settings
- Lists
- Task and Events, Page size
- Increase the value (default value 100)
To find the VMs that are restarted click on the cluster, go to events tab and search for the following message:
Virtual machine <VM> was restarted on <host> since <hostname> failed
This is a time consuming task to filter out these messages.
An easier and quicker way is to use PowerCLI and use the following one-liner:
|
001 |
Get-VIEvent -MaxSamples 500 | select FullFormattedMessage,CreatedTime | Out-GridView |
This one-liner displays the last 500 events in a gridview. Filter on the keyword “restarted” and all the VMs that are restarted are filtered in the gridview.
Unable to commit snapshot after VADP backup
When doing a health check I found the following error during the remove if a snapshot in vCenter:
Unable to access file <unspecified filename> since it is locked
There is a problem when committing the snapshot after the vStorage APIs for Data Protection (VADP) backup of the VM.
In the snapshot manager in vCenter there was no snapshot visible. I needed the be sure that no snapshot is active in the background. This can be very dangerous when snapshots still active and grows. The snapshot can allocate al the free disk space on the datastore and slow down the VM.
By enabling remote Tech Support Mode (TSM) on the VMware ESXi server I needed the be sure that no snapshot is active by using the following command:
find /vmfs/volumes/ -iname "*delta.vmdk"
The command displays all the “delta.vmdk” snapshot files on all the VMFS volumes. This command show that the snapshot is still active.
To “temporally” solve this problem:
Create a manual snapshot of the VM. When the snapshot is created the old “Consolidate Helper-0” is added to the snapshot manager.
Hit the Delete All Button and the two snapshots are committed. When the remove snapshot task is completed (this can take a while depending on the size of the snapshot). Run the find command again and verify if the snapshot is committed.
I see this problem lately with more customers who using VMware vSphere 4.1 Update 1 with different backup solutions such ad Symantec CommVault and Veeam that use VADP. Let’s create a support incident.
Prepare for the VMware VCAP-DCA exam with vSphere Troubleshooting Training
I’m preparing for the VMware Certified Advanced Professional – Datacenter Administration exam. The exam covers 40 questions about real world stuff like installing, configuring and troubleshooting vSphere environments. So you need hand-on experience on installing, configuring and troubleshooting vSphere environments.
For the preparation I use the Trainsignal VMware vSphere Troubleshooting Training video course presented by David Davis.
The Trainsignal VMware vSphere Troubleshooting Training course covers mainly section 6 of the VCAP-DCA blueprint (Perform Advanced Troubleshooting). In 30 high quality video lessons troubleshooting is mainly done by CLI (Command Line Interfaces). Here are some topics that get covered during the course:
- vMA installation and commands
- Configure, viewing, searching and exporting vCenter and VMware ESX(i) log files
- vNetwork Distributed vSwitch (vDS) refresher and private VLANS
- ESXtop / RESXTOP
- Troubleshooting Networks by CLI
- Troubleshooting Storage by CLI (iSCSI and NFS)
- Troubleshooting vCenter
- Configure and troubleshoot ESX firewall
- Troubleshooting VMotion and SVMotion
- Troubleshoot HA and DRS
- Troubleshooting VMs
The vSphere Troubleshooting Training is almost 14 hours, is available on 3 DVDs and online as streaming video (iPad compatible). The complete course outline is available on the website listed on the end. A sample video is available here.
The videos are easy to follow. I think the Trainsignal VMware vSphere Troubleshooting Training it’s a great way to prepare and get hands-on experience needed for the VCAP-DCA exam.
More information can be found here.









Recent Comments