Tag Archives: Licensing

Set a Threshold for the License Use of a Product

You can set a threshold for the license use of products. A threshold helps you to track whether the current license use for a product exceeds certain limits. If the license use for the product exceeds the threshold, an alarm is triggered on the corresponding vCenter Server system.

You can apply thresholds only to products with use-based licensing models such as per-virtual machine or vRAM. You can set thresholds below or above the purchased license capacity. Thresholds do not enforce license use limits.

NOTE You can set thresholds for the license use of products only for individual vCenter Server systems. You cannot set thresholds for all vCenter Server systems in a Linked Mode group.

image

Procedure

1. In the vSphere Client, select Home > Administration > Licensing.

2. Select the Reporting tab.

3. (Optional) If the vCenter Server that you are connected to is part of a Linked Mode group, from the vCenter Server drop-down menu, select the vCenter Server system where you want to set a threshold for the license use of a product.

4. Select the product from the Products Chart pane.

image

5. Click Edit Threshold in the Product Details pane.

6. Type the value for the threshold.

7. Click OK.

image

You receive a message that the threshold is successfully set for the relevant product.

image

The view in the Products Chart refreshes after a few seconds and a bar appears that indicates the threshold value as a percent of the license capacity of the product as shown in above figure

If the license use for the product exceeds the threshold amount, an alarm is triggered on the corresponding vCenter Server, and a notice appears on the Reporting tab of the Licensing page. However, further use of the product is not restricted. NOTE The notifications might take several minutes to appear after a threshold is exceeded.

Export a License Use Report

From the Licensing page in the vSphere Client, you can export a report for the license use of products for a certain time period. The report is exported in a CSV file that you can later open with third party applications.

NOTE A temper-detection feature in vCenter Server protects the license use information. If the licensing data in the vCenter Server database has been edited, you cannot export a license use report.

Prerequisites

· Verify that you have the Global.Licenses privilege.

· Ensure that the vSphere Client is connected to the vCenter Server system.

· Ensure that you have the vSphere Web Client installed and the vCenter Server system is registered with it.

Procedure

1. In the vSphere Client, select Home > Administration > Licensing.

2. Select the Reporting tab.

3. Click export.

The Export License Data window appears.

image

4. (Optional) If the vCenter Server instance that you are connected to is part of a Linked Mode group, leave the default All vCenter Server instances value in the vCenter Server drop-down menu. You should leave the default All vCenter Server instances value to export the license use for the entire group. By exporting the license use for a single vCenter Server instance and not the entire group, you do not receive information about the total use of license keys that are assigned to more than one asset in the group.

5. Select a preconfigured or a custom time period for the license use report from the Time period drop-down menu.

6. Click Export.

The export operation takes a few seconds.

7. In the Save Export File window, click Yes.

image

8. Browse to the location where you want to save the file and click Save.

The license use for products over the selected time period is exported in an CSV file. The CSV file is contained in a .zip file that you can find in the location you specified.

The license use information that you view in the Reporting tab differs from the license use information that you can export. The license use information on the Reporting tab is aggregated data from the license use snapshots available in the vCenter Server database for the period that you select.

The exported report includes all of the snapshots collected over the selected period. The exported report can contain host, vCenter Server, or solution asset IDs, but does not include user-defined names. The exported report is free of user and company-specific information.

Each row of the exported report CSV file lists a single license use snapshot, which includes an asset, its assigned license key, and the use at the given timestamp

image

The last section of raw data in the file contains a signature that is a checksum of the file content. You can ignore this section of the report.

Licensing Details for a Selected Product

 

image

In the above table the Product Details pane, you can view the license use and capacity for the product over the selected period and on the current date. The value for the license use that you view is the total use for all license keys that belong to the product and that are assigned to assets. If a threshold exists for the license use of the product, you can view the threshold limit.

image

Above figure provides details about vRAM pool.

To view the license keys that belong to a product, select the product from the Products Chart pane.

image

To view the details for a license key, select the key from the Product Details pane.

image

 

image

Viewing License Use

You can view the use and capacity of the license keys that are assigned to assets for a period that you select. You can use the Reporting tab of the Licensing page in the vSphere Client to perform the following tasks:

· View statistics for the license use and capacity of products filtered by a vCenter Server system and time period.

· Export license use reports in CSV format for further analysis and processing.

· Set a threshold for the license use of products with use-based licensing models, such as per-virtual machine and vRAM. License use thresholds allow you to receive notifications if a certain use is exceeded.

The License Usage History service on vCenter Server takes snapshots of the license use every hour. The license use snapshots are stored in the vCenter Server database. A license use snapshot contains data about the current license assignment and use for assets. The license use reports that you can export in CSV format contain the raw data from the license use snapshots that are collected in the period that you select.

NOTE The license reporting function is part of the vSphere Web Client and is integrated as a plug-in to the vSphere Client. To have the license reporting in the vSphere Client, you must install the vSphere Web Client and register the vCenter Server system with the vSphere Web Client.


You can view the license use for products from the Licensing page in the vSphere Client. You can filter the license use data by vCenter Server system and time period.

Prerequisites

· Verify that you have the Global.Licenses privilege.

· Ensure that the vSphere Client is connected to the vCenter Server system.

· Ensure that you have the vSphere Web Client installed and the vCenter Server system is registered with it.

Procedure

1. In the vSphere Client, select Home > Administration > Licensing.

2. Select the Reporting tab.

3. (Optional) If the vCenter Server instance that you are connected to is part of a Linked Mode group, leave the default All vCenter Server instances value in the vCenter Server drop-down menu. You should leave the default All vCenter Server instances value to view the license use for the entire group.

Note: If you view the license use for a single vCenter Server instance and not the entire group, you do not receive information about the total use of license keys assigned to more than one asset in the group.

4. From the Time period drop-down menu, select a preconfigured or a custom time period for which you want to view the license use for products.

a. (Optional) If you select a custom time period, specify the start and end dates, and click Recalculate. The Products Chart shows the license use for each product as a percentage of the license capacity for the product over the period that you select. If a threshold exists for the license use of a product, the percentage of the threshold use appears in the chart.

image

 

5. Certain products in the Products Chart might have one or two asterisk (*) symbols next to their names. The asterisks have a special meaning.

image

View Which Features Are Licensed on a Host

You can view which features a host is licensed to use.

If you try to configure features that are not included in the host license, the vSphere Client displays an error message.

Procedure

1. From the vSphere Client, select the host in the inventory.

2. Click the Configuration tab.

3. Under Software, click Licensed Features.

The list appears of features that you can configure on the host.

image

License an ESXi Host Without vCenter Server

If you are directly connected to the host through the vSphere Client, you can assign the host a license key.

Procedure

1. From the vSphere Client, click the Configuration tab.

2. Under Software, click Licensed Features.

3. Click Edit.

4. Assign a license key.

     a. Select Assign an existing license key to this hostand select a license key from the Product list as shown below

image

      b. Select Assign a new license key to this host, click Enter Key, and enter a license key and an optional label for the license key. For screens refer to section here

5. Click OK.

Assign a License Key to Assets

You can assign license keys to single or multiple assets, individually, or in batches.

NOTE If an ESXi host disconnects from vCenter Server immediately after you assign a license key, the license assignment operation does not complete but the host appears as licensed. The host is licensed after it reconnects to vCenter Server.

Prerequisites

§ Verify that you have the Global.Licenses privilege.

§ Ensure that the vSphere Client is connected to the vCenter Server system.

Procedure

1. In the vSphere Client, select Home > Administration > Licensing.

2. Click Manage vSphere Licenses.

3. Click Next to go to the Assign Licenses page.

4. Click the ESX, vCenter Server, or Solutions tab to display the available assets.

Select the assets to show.

image

6. In the Asset window, select one or more assets to license.

To select multiple assets, use Ctrl-click or Shift-click.

7. In the Product window, select an appropriate license key and click Next.

If the license key you assign has a strong limit, the license capacity must be greater than or equal to the required license use for the asset. Otherwise, you cannot assign the license key. Check the EULA of the license to determine whether it has a strong limit.

8. (Optional) If you are not ready to remove any license keys, click Next to skip the Remove License Keys page and click Finish to save your changes.

Add License Keys to the License Inventory

After you obtain license keys, you can add them to the vCenter Server license inventory. You can add multiple license keys at the same time.

Prerequisites

§ Verify that you have the Global.Licenses privilege.

§ Ensure that the vSphere Client is connected to the vCenter Server system.

Procedure

1. In the vSphere Client, select Home > Administration > Licensing.

2. Click Manage vSphere Licenses.

3. In the Add License Keys text area, specify license keys one per line. You can specify a list of keys in one operation.

4. (Optional) Type a brief description of the keys.

5. Click Add License Keys.

If you specify any invalid license keys, you receive an error message that lists only the invalid keys. You can either delete the invalid keys, or add them after correcting them.

 

image

6. If you are not ready to assign the license keys to assets, click Next through the remaining wizard screens and click Finish to save your changes.

Add a License Key and Assign It to an Asset

After you obtain a license key, you can add it to the vCenter Server license inventory and assign the license key to assets.

Prerequisites

§ Verify that you have the Global.Licenses privilege.

§ Ensure that the vSphere Client is connected to the vCenter Server system.

Procedure

1. In the vSphere Client, select Home > Administration > Licensing.

2. In the Management tab, select Asset as a primary entity for sorting the license information.

3. Right-click an asset and select Change license key.

 

image

4. Select Assign a new license key and click Enter Key.

5. Specify the license key, type an optional label for the key, and click OK.

image

6. Click OK.

The license key is added to the vCenter Server license inventory and assigned to the corresponding asset. Please remember if vCenter Server is part of a Linked Mode group, the license key is added to the shared inventory of the group

License Keys Management

Downgrading License Keys

If you have license keys for vSphere 5.0, but you need to license VMware Infrastructure 3 or vSphere 4.x assets, use the license portal to downgrade the license keys. When you downgrade the license keys, the vSphere 5.0 license keys remain valid. When you are ready to upgrade your assets, you can stop using the VMware Infrastructure or vSphere 4.x licenses and start using the vSphere 5.0 license keys by adding them to the vCenter Server license inventory and assigning them to your upgraded assets.

Combining the Capacity of License Keys

Combining license keys is useful when the total available capacity across license keys is large enough to accommodate an asset, but no single license key is large enough to accommodate the asset.

After you use the license portal to combine license keys, you must add the new license key to the vCenter Server license inventory and remove the old license keys.

Dividing the Capacity of License Keys

If you have a large-capacity license key, you might want to divide the capacity to create multiple smaller capacity license keys.

Dividing license keys is useful for managing license keys in different vCenter Server license inventories or assigning different license keys to groups in your organization.

View License Information

You can view the license keys available in the vCenter Server license inventory from the Licensing page in the vSphere Client.

Procedure

1. In the vSphere Client, select Home > Licensing. You can view and manage the license keys available in the vCenter Server inventory from the Management tab.

2. (Optional) Click Refresh.

3. In the Management tab, select a sorting option for the license information.

image

 

image

 

image