Counting Cores for VCF and TiBs for vSAN
Counting Cores for VCF and TiBs for vSAN
Products
Issue/Introduction
Determining the Required Subscription Capacity for VMware Cloud Foundation (VCF) and
VMware vSphere Foundation (VVF)
VCF and VVF subscription capacity is based on the total number of physical CPU cores of
each CPU on all the ESXi hosts associated with the VCF instances or vCenter Server that
customers plan to license with VCF or vSphere Foundation, respectively.
Foundation Subscription Licensing = The VCF and VVF subscription capacity that requires
licensing is the greater of either:
1. Number of core licenses required per CPU × number of CPUs per ESXi host × number of
ESXi hosts
2. 16 cores x total number of CPUs in each ESXi host
vSAN Subscription capacity = total number of TiBs claimed by vSAN in each ESXi host x
number of ESXi hosts in each cluster
Each core requires a single license. These licenses do not come in bundles of 16.
Each TiB claimed by vSAN requires a single license. There are no license minimums.
The following tables describe how to determine the required subscription capacity for VCF, vSphere
Foundation, and vSAN.
VCF provides 1 TiB of vSAN entitlement for each VCF core purchased.
vSAN TiBs included in VCF can be aggregated and utilized across VCF core licenses only
Customers can purchase an additional quantity of vSAN capacity for the incremental storage
they may require for their VCF environment.
Subscript Subscript
# CP TiB Entitle
Cor TiB ion ion
of Us s/ d TiBs
es / s/ Capacity Capacity
Ho / Clu from Calculation
CP Ho Required Required
sts Ho ster Found
U st for VCF for vSAN
st ation
(Core) (TiB)
VCF: Though the number of cores is 8
on each CPU, customers must
purchase 48 because the minimum
subscription capacity is 16 cores per
CPU and there is 1 CPU on each of
11.
3.8 the 3 ESXi hosts.
3 1 8 520 48 48 -36
40
vSAN: Customers will receive 48 TiBs
of vSAN, which is greater than the
capacity required in the cluster. There
are 36TiBs left over. No additional
capacity is needed.
1.8 5.5
3 2 16 96 96 -90
40 20 vSAN: Customers will receive 96 TiBs
of vSAN, which exceeds their desired
amount of capacity and there will be
90 TiBs left over. No additional
capacity is needed.
VVF provides 0.25 TiB of vSAN entitlement for each VVF core purchased.
vSAN TiBs included in VVF can be aggregated and utilized across VVF core licenses only
Customers can purchase an additional quantity of vSAN capacity for the incremental storage
they may require for their VVF environment.
Subscripti
CPU TiB Subscri
ESXi TiB on
s Cor s Entitle ption
Hosts s Capacity
per es per d TiBs Capacity
(in per Required
ESX per ESX from Require Calculation
vSAN Clu for
i CP i Found d for
clust ster vSphere
Hos U Hos ation vSAN
er) Foundatio
t t (TiB)
n (Core)
1.84 5.5
3 2 16 24 96 -18 vSAN: Customers will receive 24
0 20
TiBs of vSAN from VVF, which is
greater than the capacity required
in the cluster. There are 18 TiBs
left over. No additional capacity is
needed
17.
4.47 vSAN: Customers will receive 40
4 2 20 893 40 160 -22
3 TiBs of vSAN from VVF, which is
greater than the capacity required
in the cluster. There are 22 TiBs
left over. No additional capacity is
needed
Environment
Resolution
The number of core licenses (with a minimum of 16 cores per physical CPU) required for VCF and
VVF and TiB licenses required for vSAN can be identified in the methods below:
For small deployments and ESXi hosts not connected to a vCenter Server, core licensing can
be determined:
Foundation: Navigate to Host > Hardware > CPU Processors and check the value of Cores per
socket to determine how many cores your host has per CPU and calculate as described in the
Determining the Required Subscription Capacity section. (See Figure #1 for an example
screenshot of the UI).
For larger deployments: VMware has developed the attached license counting PowerCLI tool
that collects and consolidates information on the quantity of core licenses (with a minimum
of 16 cores per physical CPU) and TiB licenses required for each host connected to a vCenter
Server.
VCF and VVF require core licenses for all physical CPU cores on each CPU running the
software. In the event users disable physical CPU cores in the BIOS settings or other means, the
script may produce inaccurate results. As such, all physical CPU cores need to be activated on
each CPU when running the script.
TiB licensing for vSAN: There is no option to view the total raw physical storage capacity
claimed by the vSAN cluster in the product UI. The storage capacity displayed in the Capacity
Overview tab represents the available vSAN datastore capacity, not raw physical storage
capacity. You will need to run the license counting PowerCLI script to determine accurate TiB
license counts.
License Counting PowerCLI tool
Prerequisites:
Use:
Name Description
Host Information
This column displays the name of the cluster. If there is no value in this
CLUSTER
column, this means the host is not part of the cluster.
NUM_CPU_SOCKETS This column displays the quantity of CPU sockets in the host.
NUM_CPU_CORES_PE This column displays the quantity of cores in each CPU socket in the
R_SOCKET host.
FOUNDATION_LICENSE This column displays the quantity of core licenses required for VCF or
_CORE_COUNT VVF licensing in the cluster.
This column displays the quantity of TiB licenses received from the
vSAN_LICENSE_TIB_C
Foundation offer
OUNT
based on the quantity in FOUNDATION_LICENSE_CORE_COU
Cluster Information
REQUIRED_VSAN_TIB_
This column displays the required TiB capacity for the cluster
CAPACITY
This figure displays the total number of VCF or VVF core licenses
Total Required
required and is
Licenses
calculated by taking the sum of FOUNDATION_LICENSE_CORE_COUNT
This figure displays the number of TiB licenses required for the cluster
(REQUIRED_VSAN_TIB_CAPACITY) after taking into account any TiB
entitlement
received from the Foundation offer (VSAN_LICENSE_TIB_COUNT).
• If the figure is negative or 0, this represents that the quantity of TiBs
Total Required vSAN
received from the Foundation offer is greater than or equal to the
Add-on Licenses
quantity of TiBs that require licenses. No additional licensing is
required and excess capacity can be aggregated.
• If the figure is positive, this represents that the quantity of TiBs that
require licenses is greater than the quantity of TiBs received from the
Foundation offer. Additional licensing is required.
To specify a specific vSphere Cluster, you can use the -ClusterName option:
To output the results into a CSV file, you can use the -Csv option:
To name the CSV file, you can use the -Filename option:
*Note that you will receive two files. The one with -vsan appended includes the TiB count
information, while the other file includes the core count information.
Troubleshooting
The user may encounter error messages when using the license counting PowerCLI tool. The error is
due to an identified issue (ESX servers disconnected from vCenter, PDL devices in cluster, etc.) in the
environment, which may impact the number TiB licenses required. In these cases, the output from
the tool will provide an error message with the description and information to resolve the error
before rerunning the tool.
Related Information
Note: If when attempting to run this script you receive an error similar to: "cannot be loaded. The file
xxxx.psm1 is not digitally signed. You cannot run this script on the current system. For more
information abut running scripts and setting execution policy, see about_Execution_Policies
Run the following command to bypass the execution policy, then run the script again:
Disclaimer: Broadcom reserves the right to periodically update licensing enablement tools, which
are provided for informational purposes only. Although great care has been taken to ensure the
accuracy of the licensing enablement tools, Broadcom does not accept any legal responsibility for
any actions taken based on the information contained herein and Broadcom makes no
representations or warranties of any kind.
Attachments
FoundationCoreAndTiBUsage.psm1 get_app
Feedback
thumb_up Yes
thumb_down No
Powered by
PRODUCTS