Skip navigation
VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
5,907 Views 56 Replies Last post: Jul 27, 2011 5:44 AM by Rumple RSS
1 2 3 4 Previous Next
CCJNL Enthusiast vExpert 83 posts since
Aug 21, 2007
Currently Being Moderated

Jul 14, 2011 10:23 AM

vSphere 5 License Query Script - Results Thread

I'm not sure if this has type of results thread has been started else where but I am interested to see what the real world scenarios are and how VMware's customers may or may not be affected.

 

Some nifty scripts have appeared that cut right to the chase and informs you if you are currently using more or less vRAM that you would be entitled to  under vSphere 5 licensing rules.

 

Check the scripts out here and post your results!!!

  

AuthorLink
Alan Renoufhttp://www.virtu-al.net/2011/07/14/vsphere-5-license-entitlements/
LucDhttp://www.lucd.info/2011/07/13/query-vram/
Hugo Peetershttp://www.peetersonline.nl/index.php/vmware/calculate-vsphere-5-licenses-with-powershell/

 

Cheers!

-Justin

 

Edit:

It is worth noting that as Hugo mentioned on his blog, his script "assumes the environment is homogeneous, so uses only one type of edition."  I've also had feedback that it does not take into consideration how many CPU licenses are registered in vCenter.  Rather it looks at how many CPU licenses are in use by the hosts managed by vCenter.  What that means is that if you own 36 CPU licenses but are only using 22 CPUs, the calculation will be based off of 22, not 36.

kopper27 Expert 428 posts since
Aug 7, 2009
Currently Being Moderated
1. Jul 13, 2011 5:26 PM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

I am getting nothing from this script

 

I added my VC name but I get nothing from it

 

 

$vCenterServerName = "VC_FQDN"
$VC = Connect-VIServer $vCenterServerName
......

is there something else I need to change? or add?

logiboy123 Expert 492 posts since
Oct 31, 2010
Currently Being Moderated
3. Jul 13, 2011 5:44 PM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

I found the PeetersOnline script easier to use;

 

My present company is one of the lucky ones, we are using Enterprise licensing.

 

======
pCpu Count: 38
vRAM (GB):  482
======
Resulting license options:

Edition                                                Entitlement                                       Licenses
-------                                                     -----------                                            --------
Essentials/Essentials Plus/Standard       1 pCpu + 24 GB vRAM                     38 with 430 GB vRAM overhead
Enterprise                                             1 pCpu + 32 GB vRAM                     38 with 734 GB vRAM overhead
Enterprise Plus                                      1 pCpu + 48 GB vRAM                     38 with 1342 GB vRAM overhead
======

kopper27 Expert 428 posts since
Aug 7, 2009
Currently Being Moderated
4. Jul 13, 2011 5:48 PM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

yeah I am using vpshere 4.1 update 1

 

trying the other script

 

to tell you the truth I don't understand the results I might need to read this PDF for licensing

 

vSphere PowerCLI.jpg

Jwalsh2 Novice vExpert 13 posts since
Nov 20, 2008
Currently Being Moderated
6. Jul 13, 2011 6:06 PM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

Also using the other script my results are:

 

 

Counting physical cpu's and vRAM in your environment. Please be patient...
======
pCpu Count: 114
vRAM (GB):  2389
======
Resulting license options:
Edition                                          Entitlement                           Licenses
-------                                             -----------                                 --------
Enterprise Plus                             1 pCpu + 48 GB vRAM           114 with 3083 GB vRAM overhead
======
NOTE: vRAM only counts memory allocated to vm's that are POWERED ON.
NOTE: Please double check the results of this script, since hosts may have been omitted due to errors.
Disclaimer: No rights can be deduced from this calculation.
======
John Walsh | vExpert 2012
chriswahl Expert vExpert 642 posts since
Jun 9, 2008
Currently Being Moderated
7. Jul 13, 2011 6:00 PM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread
======
pCpu Count: 30
vRAM (GB):  2190
======
Resulting license options:
Edition                                      Entitlement                                  Licenses                                   
-------                                      -----------                                  --------                                   
Enterprise Plus                              1 pCpu + 48 GB vRAM                          46 with 16 pCpu overhead                   
======
Chicago VMUG Leader ▲ wahlnetwork.com ▲ @chriswahl ▲ vExpert, VCAP, VCP, VCP-DT, VCA-DT
Troy Clavell Guru User Moderators vExpert 14,079 posts since
Oct 12, 2007
Currently Being Moderated
8. Jul 13, 2011 7:23 PM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

Here's a couple snips from our NON VDI vCenter Instances.  Looks like we're ready for vSphere 5

 

Untitled2.png

 

 

Untitled1.png

Rumple Master 1,705 posts since
Jan 6, 2005
Currently Being Moderated
9. Jul 13, 2011 8:25 PM in response to: Troy Clavell
Re: vSphere 5 License Query Script - Results Thread


vram.jpg

Holy MotherF$%^$#

 

We are currently using 4x vsphere 4 Standard licenses currently on 2 hosts with 144GB of Physical memory between them (96GB on one and 48Gb on the other)

 

According to this page - http://www.vmware.com/products/vsphere/pricing.html

 

By using existing 4 Standard licenses I would still need to purchase 12 Standard Licenses (because I will need growth budgeted) thats $15000 best case...$12k if I push hard

 

Assuming vmware gave me upgrade pricing for difference between Enterprise and Standard for my 4 vCPU's and didn't increase my S&S thats still going to hurt.

 

Standard to Enterprise Licenses

4x upgrade licenses = $7520

I also need at least 2 extra licenses to growth:

8x$2870+S&S = $28744

 

Total upgrade coverage = $36264...even with discounts that $30k...

 

Standard to Enterprise Plus

4xUpgrade licenses = $10000

4xEnterprise Plus = $17476

 

Best case I get a deal for 24k or so....

 

Thats to provide me features I do not use...and to allow me to upgrade to vsphere 5...which for me, really means vmfs 5 functionality increase (ie larger then 2TB volumes..)

 

I obviously use my environment to the extreme...which is what I paid for vmware for...if I wanted to kinda use it I would have been on hyper-V already since I already paid for the datacenter licenses for these servers...I would have saved myself 10k upfront.

 

I want the high density consolidation which obviously works very well with vmware...but now after you get me hooked on crack you jack the price...

 

Realistically speaking, I do not purchase hardware to scale out because every server I add, at a minimum adds $500/month to my datacenter costs (not withstanding the lease costs for the hardware).  I therefore increase the RAM in my systems.

 

Obviously this means no revenue stream for vmware...I get it, I really do...

 

So..why not drop this stupid CPU count and go strictly with minimum host charge and then change me an incremental cost for vRAM increments (say 64GB)

At least then when I upgrade RAM, I can easily budget for the additional costs and you get a re-occuring revenue stream.

 

Hell, even if you said vRAM was sold in 64GB increments then I would only need to need to cover a couple increments of memory and since I would expect it to be closer to the $1000/64GB vs $3200, then I probably would not even squeek about $2k right now...

 

$12-30k...thats going to force me to move to Hyper-V...its not even in the same freaking ballpark pricewise...

LucD Guru User Moderators vExpert 8,994 posts since
Oct 31, 2005
Currently Being Moderated
10. Jul 13, 2011 10:36 PM in response to: kopper27
Re: vSphere 5 License Query Script - Results Thread

Do you have vSphere Standard licenses ?

If yes, the Key for that type was incorrect, I changed it to the correct licensekey value.

 

Unfortunately, there is afaik no enumeration (in the SDK Reference) that lists all the available licenseKeys.

 

For now I have

                                    licenseKey

Essentials                "esxEssentials"


Essentials Plus      "esxEssentialsPlus"


Standard                   "esxFull"


Advanced                  "esxAdvanced"


Enterprise                "esxEnterprise"


Ënterprise Plus       "esxEnterprisePlus

Blog: http://lucd.info | Twitter: @LucD22 | Book co-author: http://powerclibook.com
SandyB Hot Shot vExpert 182 posts since
Nov 1, 2005
Currently Being Moderated
11. Jul 14, 2011 12:19 AM in response to: LucD
Re: vSphere 5 License Query Script - Results Thread

vram.JPG
If i'm reading this correctly we are using 714Gb of vRam and have 1686Gb remaining. We have Enterprise Plus across the board, which means we are ok, but i still think for the extra cost of Enterprise Plus the 48Gb limit is too low, should be at least 64Gb,

sysbeheer Novice 5 posts since
May 29, 2007
Currently Being Moderated
12. Jul 14, 2011 12:31 AM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

Great script, worked inmmediatly and the results are:

 

vCenter        : vcenter.asvznet.nl
vRAMConfigured : 569.8
vRAMUsed       : 541.3
vRAMEntitled   : 960
LicenseType    : vSphere 4 Enterprise

 

Guess we already did some good sizing in the past.

Not running more than 15-20 VM's/host because we don't want to end up in the dark when the hardware fails :-)

 

André van de Werken

IT Consultant

Carante Groep

the Netherlands

pcmanning Novice 11 posts since
Feb 5, 2005
Currently Being Moderated
13. Jul 14, 2011 3:59 AM in response to: sysbeheer
Re: vSphere 5 License Query Script - Results Thread

 

======
pCpu Count: 54
vRAM (GB):  1364
======
Resulting license options:
Edition                    Entitlement                Licenses
-------                    -----------                --------
Essentials/Essentials P... 1 pCpu + 24 GB vRAM        57 with 3 pCpu overhead
Enterprise                 1 pCpu + 32 GB vRAM        54 with 364 GB vRAM ov...
Enterprise Plus            1 pCpu + 48 GB vRAM        54 with 1228 GB vRAM o...
======

 

 

The majority of our CPUs are now HP dual CPU blades with 96GB RAM.  These have been replacing older 32GB machines, and we're looking to remove the last of these - so the CPU count will drop to 40.  So we'll need to keep more Enterprise licences than we would have done or upgrade to Enterprise Plus, which we'll need to utilise all the extra physical RAM.

 

Bottom line is we're at best looking at a reducing on our planned savings or more likely an increase in costs   Fortunately, I guess, we were planning at costing Enterprise Plus to get some of the added features (host profiles and distributed switches really are needed now)

 

Paul

digitlman77 Enthusiast 60 posts since
Oct 14, 2009
Currently Being Moderated
14. Jul 14, 2011 7:30 AM in response to: CCJNL
Re: vSphere 5 License Query Script - Results Thread

1.jpg

 

So, does this mean that I am using 226Gb total, and have compliance for 268?

Bookmarked By (0)

Share This Page

Communities