License Calculator for VMware Cloud Foundation, VMware vSphere Foundation and VMware vSAN. (96426)

Prerequisites:

  • Download the attachment and extract the CSV template file and script.

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
# Dot source the function
. ./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 VCF

# 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 for VVF and vSAN and the table below describes each of the columns in the VVF Compute and vSAN sections. Note the bottom of the output shows the total quantity of VVF core and vSAN TiB licenses required.

VCF with vSAN Capacity Licensing Example:

image.png

Column Name

Description

Required VCF Compute Licenses Per Cluster

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.

Required vSAN Licenses Per Cluster

CLUSTER

This column displays the name of the cluster.

NUM_HOSTS

This column displays the quantity of hosts in the cluster.

NUM_CPU_SOCKETS

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

NUM_CPU_CORES

This column displays the quantity of cores in the cluster.

FOUNDATION_LICENSE_CORE_COUNT

This column displays the quantity of core licenses from the Foundation offer in the cluster.

ENTITLED_VSAN_LICENSE_TIB_COUNT

This column displays the quantity of TiB licenses received from the Foundation offer in the cluster.

REQUIRED_VSAN_TIB_CAPACITY

This column displays the desired TiB capacity for the cluster.

VSAN_LICENSE_TIB_COUNT

This column displays the number of TiB licenses required for the cluster after taking into account any TiB entitlement received from the Foundation offer.
•   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.

https://kb.vmware.com/s/article/96426