Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages: N/A

Firewall Configuration Concerns Between the License Server and Citrix Products

Document ID: CTX103356   /   Created On: Feb 23, 2004   /   Updated On: Oct 30, 2008
Average Rating: 5

Summary

If there is a firewall between the license server and the computer running MetaFrame Presentation Server, you must configure a static Citrix daemon port number.

Background

By default, the license server has two daemons that are used in the license check in/check out process: The License Manager Daemon, also known as Lmgrd.exe, and the Citrix vendor daemon, called Citrix.exe. The default behavior is for the Lmgrd to use port 27000 and the Citrix daemon to use a random port that is chosen whenever the license server is restarted or the CitrixLicensing service is restarted.

If there is a firewall between the license server and the computer running MetaFrame Presentation Server, communication issues could arise when the Citrix daemon port number changes to a different port after a restart of the CitrixLicensing service. To prevent this issue, an administrator needs to configure the license server to use a static port for the Citrix daemon and open that port, along with the Lmgrd port of 27000, on the firewall to allow communication.

Procedure

To configure a static port for the Citrix daemon, use the following procedure to modify all license files (including startup.lic and citrix.opt) in the \Program Files\Citrix\MyFiles directory.

1. Remove the Read Only attribute from all license files.

2. Open each license file with a text editor, preferably Notepad.

3. In the license file, look for the line Vendor CITRIX.

4. Modify the line by appending the following:

    options= <the path to the options file> port= <the chosen port number>

    Example:

    Vendor CITRIX options="C:\Program Files\Citrix\Licensing\MyFiles\citrix.opt" port=150

5. Make the same modification in all license files in the \MyFiles folder.

6. Save the files, making sure to keep the .lic extension.

7. Restart the CitrixLicensing service.

-Or-

1. Run a Reread on the license files from the command line or the License Management Console.

2. Open the lmgrd_debug.log file located in C:\Program Files\Citrix\Licensing\LS to verify that the new port is being used.

Note: In the debug log look for lines such as:

13:34:59 (lmgrd) Starting vendor daemon at port 150

13:34:59 (lmgrd) Using vendor daemon port 150 specified in license file

More Information

CTX103008 – Changing the License Server's Port Number

CTX113090 – Multiple Citrix Startup Licenses are Checked Out by One Citrix Product


Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified