HEY READ THIS - PLEASE!

If anything on this Blog helped you with a problem... PLEASE, just click an advertisement and visit a sponsor for a few minutes. An easy way to say thanks!
-Or - purchase my Scifi book (The Curse of Europa)

Friday, January 7, 2011

How to Change Citrix License Server Name on a XenApp 6 Server

I'm posting this article because when I was searching for this answer it was hard to find anything that did a good job explaining exactly what needed to be done.  This article specifically explains how to tell a XenApp 6 server to point to a different Citrix License Server for its licensing requirements.  These instructions may apply to older versions of XenApp also.  

The proper way to do this is to create (or modify) a XenApp computer policy. You will need to add (or modify) the following setting "License Server Host Name" with the appropriate name of the new license server.
  1. Open the Citrix Delivery Services Console
  2. Drill down into XenApp, then your farm, then click on POLICIES.
  3. Click on the COMPUTER tab within the Policies pain
  4. Depending on your situation you may need/want to create a new policy for this, or you can just edit the "Unfiltered" policy.  I'm assuming if you are reading this you are fairly new to XenApp and are not dealing with a large number of servers, so just using the Unfiltered policy is fine for you.
  5. If you already have the "License Server Host Name" policy, simply change the server name value to what you want.  Otherwise you will need to add the policy with the appropriate server name.  Make sure you can ping the name of the license server, exactly how you are entering it, from the XenApp server.  Use the fully qualified DNS name for best success.  If it is beyond a firewall (or has local firewall settings) that don't allow ping replies then obviously you may not be able to ping it.  Just make sure it has the appropriate ports open (typically the range 27000 -27010)
  6. Save the policy and make sure it is enabled.
  7. From my experience you will need to reboot the XenApp servers for it to take affect quickly.




HOWEVER - I also figured out that sometimes the servers didn't comply to that policy during a reboot - see my article on that issue here. So to ensure it always points to the correct license server I would suggest also changing the following registry settings with the appropriate server name for the license server.  I will assume if you are reading this you know how to do this via REGEDIT.  The XenApp policy does NOT updates these settings and they will retain the old license server name unless you change it.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\LSName 
and
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Licensing\MFCM_LSHostName

If XenApp can't find the Citrix license server then your users will not be able to log on!!


Alternate search terms to help people find this article:
  • Change XenApp licensing server
  • Point XenApp to different license server
  • Update Xenapp License server name
  • Control which Citrix License Server is queried by XenApp
  • How to modify XenApp License Server Host Name
  • Citrix XenApp cannot contact the license server 

3 comments:

  1. I have no words for this great post such a awe-some information i got gathered. Thanks to Author.
    Avatar Html5 Video Player

    ReplyDelete
  2. Thanks for posting -- it helped me out :)

    ReplyDelete
  3. Hello Brian,

    Could you also share info what are the step to change the citrix server name.

    My Case: I have installed citrix 4.5 on two box and joined to the exisiting Farm. Now the requirement is to change the server name to match the naming policy of servers.

    help needed.

    Thanks
    Investo

    ReplyDelete

Please let me know if this helped you out, or if you would like to submit other suggestions or correct something I may have mis-stated.

About Me

My Photo
Science Fiction Author / Vice President of Technology for The Christman Company