Thursday, March 24, 2016

Citrix Licensing in Citrix Presentation Server 4.0

I had a task to find out how many licenses are available on a Metaframe Presentation Server 4.0.

1. Got access to Mangement console to Metaframe Farm.
2,. Right click on the Farm and select "Properties"
3. Click on License Server Tab on Farm Properties.
4. License Server information is specified along with port number 27000
5. Log into License Server and go to the path: C:\Program Files\Citrix\Licensing\LS - You will see list of Citrix License Commands.
6. On the same server, go to path: C:\Program Files\Citrix\Licensing\MyFiles, you will see the actual license files ending with .lic
7. Open Command prompt in Administrative Mode and type the following command
      "lmstat -c @localhost -a
The output of lmstat -c@localhost -a looks similar to:
License server status: 27000@license_server1 
License files on license_server1: C:\Program Files\Citrix\Licensing\MyFiles\citrix_startup.lic:  
C:\Program Files\Citrix\Licensing\MyFiles\citrixlic_20031001094430.lic:  
 
license_server1: license server UP (MASTER) v9.2  
 
Vendor daemon status (on license_server1):  
 
CITRIX: UP v9.2  
 
Feature usage info:  
   Users of CITRIX: (Total of 5000 licenses issued; Total of 1 license in use)  
     "CITRIX" v2002.0101, vendor: CITRIX  
     floating license  
       MPS mps_server1 MPS MPS_ENT_2004.0227 (v1.0)  
       (license_server1/27000 101), start Tue 3/16 16:59  
 
   Users of MPS_ENT_CCU: (Total of 30 licenses issued; Total of 1 license in use)  
     "MPS_ENT_CCU" v2004.1201, vendor: CITRIX  
     floating license  
     MPS mps_server1 MPS 25fb337e:MPSCLIENT  
     (v2004.0227) (license_server1/27000 203), start  
     Wed 3/17 11:56
Also , If you open .lic file with a word pad and search the document with "CM-" or "LA-" you will get information related to license like who purchased citrix license? what is the start up date? what is the serial number so that when we call citrix we can refer to that serial number.

In my case, the output is as follows.

SERVER this_host HOSTNAME=
VENDOR CITRIX
USE_SERVER
INCREMENT MPS_ENT_CCU CITRIX 2007.0601 permanent 100 \
VENDOR_STRING=;LT=Retail;GP=720;CL=ENT,ADV,STD,AST;SA=1;ODP=0 \
DUP_GROUP=V ISSUED=07-Feb-2007 NOTICE=Sensormatic \
SN=CM-XXXXXXX-XXXXX:804308 START=5-feb-2007 SIGN="0A69 3E8D \

One more useful command is lmhostid - this will give the FLEXlm host ID of the machine.

I Hope this article is informative and forgive me for any mistakes. 

1 comment:

  1. Thanks for this great post! - This provides good insight. You might also be interested to know more about generating more leads and getting the right intelligence to engage prospects.
    Techno Data Group implements new lead gen ideas and strategies for generating more leads and targeting the right leads and accounts.
    Citrix Network Users Email & Mailing List

    ReplyDelete