ESXi

 View Only
Expand all | Collapse all

vSphere 5 License Query Script - Results Thread

digitlman77

digitlman77Jul 15, 2011 02:20 PM

  • 1.  vSphere 5 License Query Script - Results Thread

    Posted Jul 14, 2011 12:16 AM

    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.



  • 2.  RE: vSphere 5 License Query Script - Results Thread

    Posted Jul 14, 2011 12:26 AM

    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?



  • 3.  RE: vSphere 5 License Query Script - Results Thread

    Posted Jul 14, 2011 12:37 AM

    @kopper27:  I believe it requires vSphere 4.1, you can try another script that Hugo Peeters wrote.  Not sure if that has same requirement.

    http://www.peetersonline.nl/index.php/vmware/calculate-vsphere-5-licenses-with-powershell/



  • 4.  RE: vSphere 5 License Query Script - Results Thread

    Posted Jul 14, 2011 12:44 AM

    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
    ======



  • 5.  RE: vSphere 5 License Query Script - Results Thread

    Posted Jul 14, 2011 05:36 AM

    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



  • 6.  RE: vSphere 5 License Query Script - Results Thread