License Calculator for VMware Cloud Foundation, VMware vSphere Foundation and VMware vSAN.
search cancel

License Calculator for VMware Cloud Foundation, VMware vSphere Foundation and VMware vSAN.

book

Article ID: 312202

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware vSAN VMware vSphere ESXi

Issue/Introduction

The License Calculator for VCF, VVF and vSAN allows users to enter in sample configuration data to run different simulations to determine the subscription licenses required for VCF, VVF and vSAN. Before using the calculator, refer to KB 313548 to learn about the licensing details for VCF, VVF and vSAN.

Environment

VMware Cloud Foundation 4.5.x
VMware vSAN 7.0.x
VMware vSAN 8.0.x
VMware vSphere ESXi 8.0
VMware vSphere ESXi 7.0
VMware Cloud Foundation 5.1.x

Resolution

How to use the License calculator 

Prerequisites:

  • Download the attachment and extract the CSV template file and script.
  • VMware PowerCLI 13.3 or greater installed. Note: If VMware PowerCLI is not up to date the script can fail to calculate with "Error" listed in the count, or it may throw "MethodNotFound" errors when attempting to run.

The script accepts a CSV file, which a CSV template file has been included to enter data for different configurations for simulations. 

When using the template CSV file, please note the following rules:

1.    Do not rename the column ID as that is referenced by the script.
2.    Each row represents either a vSphere and/or vSAN cluster.

Enter in data for each of the column ID in order under each row. See column ID descriptions and data examples in the table below.

#

Column ID 

Description

Data Example

1

CLUSTER_NAME

Name of the cluster configuration.

CL1

2

NUMBER_OF_HOSTS

Number of hosts in the cluster configuration.

4

3

NUMBER_OF_CPU_SOCKETS

Number of CPU sockets per host.

2

4

NUMBER_OF_CPU_CORES_PER_ SOCKET

Number of physical CPU cores per socket.

18
 

5

VSAN_ENABLED_CLUSTER

Enter Yes to identify the row as a vSAN cluster configuration.
Enter No to identify the row as a compute cluster configuration.

Yes

6




TOTAL_RAW_VSAN_TIB

Number of raw TiBs claimed in the vSAN cluster configuration.

13.9

Instructions for using the VCF/VVF Calculator
# Import the module
Import-Module .\vcf-vvf-calculator.ps1

# Example calculator for VCF
Get-VCFandVVFCalculator -InputFile sample-input.csv -DeploymentType VCF

# Example calculator for VVF
Get-VCFandVVFCalculator -InputFile sample-input.csv -DeploymentType VVF

# Example calculator for VCF and export results to CSV
Get-VCFandVVFCalculator -InputFile sample-input.csv -DeploymentType VCF - Csv

# Example calculator for VVF and export results to CSV
Get-VCFandVVFCalculator -InputFile sample-input.csv -DeploymentType VVF - Csv

Output Example

Here is an example output after running the License Calculator and the table below describes each of the columns in the sections. At the bottom of the output shows the total quantity of VCF or VVF core and vSAN TiB licenses required.

VCF with vSAN Capacity Licensing Example:

The table below describes each of the columns or rows in the Host Information, Cluster Information, and Total Required
Licenses sections.

Column Name

Description

Cluster Compute Information

CLUSTER

This column displays the name of the cluster.

NUM_HOSTS

This column displays the quantity of hosts in the cluster.

NUM_CPU_SOCKETS_PER_HOST

This column displays the quantity of CPU sockets in the host.

NUM_CPU_CORES_PER_SOCKET

This column displays the quantity of cores in each CPU socket in the host.

FOUNDATION_LICENSE_CORE_COUNT

This column displays the quantity of core licenses required for Foundation licensing in the cluster.

VSAN_LICENSE_TIB_COUNT

This column displays the quantity of TiB licenses received from the Foundation
offer based on the quantity in FOUNDATION_LICENSE_CORE_COUNT

Cluster Storage Information

CLUSTER

This column displays the name of the cluster.

REQUIRED_VSAN_TIB_CAPACITY

This column displays the required TiB capacity for the cluster.

Total Required Licenses

Total Required VCF or VVF Compute
Licenses

This figure displays the total number of VCF or VVF core licenses required and is
calculated by taking the sum of FOUNDATION_LICENSE_CORE_COUNT

Total Required vSAN Add-on Licenses

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
received from the Foundation offer is greater than or equal to the 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.



Additional Information

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

vcf-vvf-calculator.ps1 get_app
sample-input get_app