Displaying or Releasing Licenses for Users or Devices on Windows License Server

Some licensing tasks can be performed by using commands. You might use license administration commands when performing advanced operations on the license server that are not available in the console. Such operations include diagnosing check-out problems using lmdiag.

For more information, please refer to Citrix Docs .

Related:

Citrix Director Displays “In Supplemental Grace Period Time until grace expires”

The site went over the number of licenses about 9 days ago which triggered the Supplemental Grace Period.

According to the Citrix Documentation: https://docs.citrix.com/en-us/licensing/11-14/technical-overview.html

“If all licenses are in use, the supplemental grace period enables users to connect to a product for a limited period of time allowing you to address the issue. The default supplemental grace period is 15 days. During this period there is no limit on connections. After it expires, normal (to the extent of license availability) connection limits are enforced. Users are not disconnected, but as they disconnect, no new connections occur until license levels return to normal. Supplemental grace periods are granted per product and edition and per Subscription Advantage Eligibility date (per product) and only for Retail licenses. For example, if you have two clients requesting XenDesktop Enterprise Concurrent, with different Subscription Advantage Eligibility dates, two supplemental grace periods are granted. Rearming the supplemental grace period – When you take corrective action (for example, installing an additional Retail license), the supplemental grace period is rearmed, and normal license limits are enforced again. If you take action while the supplemental grace period is in force, the License Server exits the supplemental grace period before rearming. When the supplemental grace period is rearmed, you can trigger a new 15 day supplemental grace period the next time you go over the license limit.”

So this behavior is normal and the only way to turn this off would be to follow –

1) Go To:C:Program Files (x86)CitrixLicensingMyFiles

2) Open the file: “CITRIX.opt” with Notepad.

3) At the bottom of that file, add

“#CITRIX SGPOFF”

4) Save

5) Restart all Citrix Services (or Reboot)

to remove supplemental all together or to add new license files.

It is worth noting that the Supplemental Grace Period is normal when a user goes over the allotted number of Citrix license. It is also normal for the error to show up in Director even after no SGP licenses are being used. The SGP is a one time grace period that last 15 days. After this there can be no more SGP licenses applied to uses but normal ICA licensing will occur. The idea is that you have 15 days to correct the issue before the SGP and only the SGP licenses expire. The only way to rearm is to buy more.

Related:

Citrix Service Provider license server not reporting due to SSL error

After an extended maintenance period in March 2020, some Citrix License Servers that were successfully reporting into the License Usage Insights Service (LUI) were impacted, and are now failing to report.

  • When admins access the License Usage Insights service in Citrix Cloud, an impacted license server will show as “not reporting” in the server-status view.

  • When the admin launches the License Administration Console on the Citrix License Server, they may find the following error displayed, “Previous upload to Citrix.com failed with code 7“.

  • Additionally, if the admin were to open the ‘Usage’ XML file under C:Program Files (x86)CitrixLicensingLSResources, they may find the following error message: CTX_UPLOAD_ERROR_NETWORK_SSL_OPEN

Related:

Working remotely Citrix COVID-19 Licensing FAQ

If you are looking to provide access for additional remote users working from home in response to COVID-19, please refer to our Business Continuity and Disaster Recovery Guidance.

The following are some of the questions we’ve received around Citrix licensing as it relates to increasing resources for remote users working from home:

How do I get assistance with Trial/Demo licenses?

  • Many of Citrix’s products are now offered as comprehensive, private, 1:1, expert-led demo experiences. Our Citrix experts will customize the demo to fit your needs, use cases and active projects. No downloads, no license or installation required and minimal set up needed to see an instant demo. After you see a demo, if you would like to proceed with a proof of concept or trial of a Citrix solution that leverages your services, our Citrix experts will be able to set that up. Details

How do I install new/renewed licenses?

Do I need to purchase additional licenses?

Virtual Apps and Desktops:

Citrix Gateway:
  • Verify number of concurrent sessions allowed for universal licensing Details

I am getting licensing alerts – what do they mean?

  • Citrix Director Displays “In Supplemental Grace Period Time until grace expires” Details

I want to know more around Citrix Licensing

Related:

Provisioning Servers (PVS) entering licensing grace period after a license file change

Provisioning Servers (PVS) entering licensing grace period after a license file change

  • After adding or swapping out new license files on the Citrix License Server, the Citrix Provisioning Services (PVS) deployment is in an unlicensed state or licensing grace period state.

Provisioning Server (PVS) license increments missing from recently allocated and download license files

  • On Dec 3, 2019 Citrix modified the specific license increments included in Citrix Virtual App and Desktop (CVAD) license files downloaded from the licensing center on Citrix.com. The goal of this change was to simplify the license delivery to customers and reduce the overall number of license files a customer needs to manage. The result of the licensing change (which occurred in the Citrix back office licensing systems) was the removal of legacy product licenses (such as StorageLink) and the removal of redundant or unnecessary PVS license increments in CVA and CVAD license files. The intent was clean-up oriented, there was no targeted change in customer entitlement to use PVS with their CVAD solution.
  • Standard licenses allocated between 12/3/2019 and 01/10/2020 may have been missing the PVSD_STD_CCS INCREMENT line. That was re-added 01/10/2020. Customers can return and allocate licenses to fix unlicensed PVS servers. Standard customers allocating after 1/10/2020 are not affected.
  • Customers who allocate and download CVAD license files after Dec 3 will see these changes reflected in their license files. If a customer was to compare a CVAD license file from before the change to one after the change they will notice the following license increments have been removed. Below is an example of how a Citrix Virtual Apps and Desktop customer’s license files were changed:

Sample: Citrix Virtual Apps & Desktops Premium – Concurrent


#License files allocated before Dec 3, 2019 include these license increments in a single file allocation and download:

INCREMENT XDT_PLT_CCS


INCREMENT MPS_PLT_CCU

INCREMENT XDS_PLT_CCS

INCREMENT CEHV_ENT_CCS

INCREMENT PVSD_STD_CCS

INCREMENT CESEP_ENT_CCU

INCREMENT PVS_STD_CCS


#License files allocated after Dec 3, 2019 include only a single increment

INCREMENT XDT_PLT_CCS

#These were removed in the change

INCREMENT MPS_PLT_CCU #additional Citrix Virtual Apps licenses for legacy support, removed

INCREMENT CEHV_ENT_CCS #deprecated StorageLink licenses, product end of life

INCREMENT CESEP_ENT_CCU #deprecated EdgeSight licenses, product end of life

INCREMENT PVSD_STD_CCS #PVS stand-alone datacenter licenses, removed as redundant

INCREMENT PVS_STD_CCS #PVS stand-alone desktop licenses, removed as redundant

Related:

How to migrate Citrix Licensing Server component

Downloading and Installing:

1. Download Citrix License Server msi or Citrix Virtual Apps and Desktops iso from citrix.com/downloads (Please confirm which License Server version is supported with your Citrix Infra)

2. Install Citrix License Server Windows Server OS

Reallocating and installing licenses:

1. Refer: Modify licenses, download licenses and Install licenses

2. Restart Citrix Licensing Service to update new licenses

3. Browse Citrix License Management Console to view the licenses

Changing License Server in Virtual Apps and Desktops Site:

1. Launch Studio and go to Licensing tab

2. Click on “Change License Server” and change the hostname

Changing License Server in Provisioning Farm:

1. Run Provisiong Services Configuration Wizard on PVS server

2. Use “Next” button to reach “License Server” configuration page

3. Update the hostname and use “Next” button to finish

Note: There will be an outage and all the streamed VMs will stop in case of single PVS server.

Changing License Server in Workspace Environment Management:

1. Launch Workspace Environment Management Console and go to “About” tab

2. Select “Configure License Server” option and update License server name

Related:

Error “The Customer Success Services expiry date in your license does not support this product version….. License Server and connections cannot be made.

1. How to Check Maintenance Program Expiration Dates:

To check current expiration dates using My Account, log on to My Account and complete one of the following procedures:

  1. From the Dashboard, select Renew and Manage Maintenance Programs.
  2. ​At the top of page, select Manage Renewal Contacts.
    • ​All current expiration dates are displayed in the Current Expiration column. Scroll down to view warranty and maintenance dates.
  3. Or, click View Certificates hyperlink
    • Select View Certificates and dates will be displayed
  4. Or,​ select the Overviewhyperlink, click LaunchDigital Online Transaction Interface button.

2. How to Reallocate a License File:

Instructions

To reallocate licenses using Licensing, complete the following procedure:

  1. Go to My Account and log on.

  2. Navigate to Licensing.

  3. Select All Licensing Tools.

  4. Click Reallocate toolbox.

    Note: You can also click the Reallocate tab available at the top of each page.

  5. Select the required licenses from the list and click Continue.

  6. Enter the following details in the configuration page and click Continue.

    1. Host ID Type – Select the appropriate Host ID type. Host ID type include hostname, IP address, MAC address, and fully qualified domain name.
    2. Host ID – Update the Host ID.
    3. Quantity/Available – If this is a partial reallocation, update this field. Enter the quantity of license you might allocate.

      Note: Some licenses do not allow partial allocation. In such scenarios, the Quantity/Available field cannot be edited.
  7. Click Confirm.

    Note: You can click Back, if you want to make any modifications in the Configuration page.

  8. Click OK.

    Note: You must manually remove the old license files from the license server.

  9. Select the required License file and click Download.

    Note: You can view the licenses that are allocated By Host, By Allocation, or by licenses that are recently renewed in the last 30 days.

  • In the By Host tab, you can view all the allocated licenses with License Server host.

  • In the By Allocation tab, you can view all allocations with license access code.

  • In the Recently Renewed tab, you can view all allocations that were renewed in the last 30 days.

  1. Click Save, to save the file in the local directory.

3. Refresh Studio and there will no longer be an error.

Related:

How to find Hostnames and HostID to allocate Citrix Licenses

A. How to find the hostname of the license server (Windows / VPX) while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command hostname

B. How to find the Hostid/MAC Address of the license server while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command “lmutil lmhostid”

C. How to find the MAC address of Citrix ADC

1. Login to Putty

2. Run the command “shell”

3. Run “lmutil lmhostid”

D. How to find the MAC address of Citrix ADM

1. Login to the ADM appliance

2. Go to Networks > Licenses

3. Copy the host id which is found under License Files

E. How to find the MAC address of Citrix SDWAN

1. Login to the NetScaler SDWAN

2. Go to Configuration > Licensing

3. Copy the license server hostid


F. How to find the hostname of the Citrix Gateway

1. Login to Citrix Gateway using Winscp

2. Go to root > nsconfig > rc.conf

3. Copy the hostname

Note : Create new rc.conf file, if it doesn’t exists and enter the hostname in the below format.

“hostname ” __________ ”

Related:

How to find Hostnames / HostID to allocate Citrix Licenses

A. How to find the hostname of the license server (Windows / VPX) while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command hostname

B. How to find the Hostid/MAC Address of the license server while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command hostname

C. How to find the MAC address of Citrix ADC

1. Login to Putty

2. Run the command “shell”

3. Run “lmutil lmhostid”

D. How to find the MAC address of Citrix ADM

1. Login to the ADM appliance

2. Go to Networks > Licenses

3. Copy the host id which is found under License Files

E. How to find the MAC address of Citrix SDWAN

1. Login to the NetScaler SDWAN

2. Go to Configuration > Licensing

3. Copy the license server hostid


F. How to find the hostname of the Citrix Gateway

1. Login to Citrix Gateway using Winscp

2. Go to root > nsconfig > rc.conf

3. Copy the hostname

Note : Create new rc.conf file, if it doesn’t exists and enter the hostname in the below format.

“hostname ” __________ ”

Related: