Saturday, June 18, 2011

Citrix server entered into a grace licence period

Grace Period Overview

The licensing grace period for Citrix Presentation Server is 30days. Each server maintains a copy of the available licenses in memory. So let's suppose you're licensed for 100 concurrent connections and you've got 5 servers in the farm. If your Access Suite License server goes down, your five servers will go into their 30day grace period and EACH ONE will be able to give out 100 licenses, enabling your farm to reach a total of 500 concurrent connections. However, Presentation Servers MUST be able to contact an Access Suite License server and pull a Citrix Start-up license when they boot or no users will be able to login.

A grace period is when the citrix presentation server has lost its connection to the citrix license server, the server will go in to a 30 day grade period where the server will still function with out any problems.  But as soon as the 30 days are up the citrix presentation server will stop accepting ICA connections.

Symptom

When Citrix server enters into a grace period, you will get the following event (Event ID: 9015).



























How to check problem has been resolved

You will get the following event (Event ID 9016) in Application Log Event Viewer.



























Things you need to check
  1. Generally default port 27000 is being used to communicate with the license server. Try to telnet the port. Here my license server IP is 192.168.1.100. To test the port connectivity I will use the following command:
     

    Telnet 192.168.1.100 27000

     
    If DOS command screen goes blank then communication is fine to the Citrix license server. If the DOS screen hangs and times out, then there must be some sort of communication issue.

    I executed the following command.
     


    Here is the output.


    That means the communication port 27000 is working perfectly. I checked the event viewer for the event 9016,  and didn't get any event like that. I then perform the following steps.
     
  2. Login to the license server and restart the following services.

     
    Citrix Licensing
    Citrix Licensing Support Service


    After restarting these license services I checked the event viewer for the event 9016, and didn't get any event like that. I then perform the following steps.
     
  3. I entered a wrong license server name through Citrix Access Management Console, applied the settings and then entered the correct license server name again.

    Now I searched for the Event ID 9016 and ultimately got that.

No comments:

Post a Comment