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. Thanks for posting -- it helped me out :)

    ReplyDelete
  2. 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
  3. MapleStory.es - 3D isometric adventure MMORPG<

    Download MapleStory and start the game.

    https://maplestory.es/

    MapleStory is a free to download 2D online video game of the MMORPG genre, created by the Korean company Wizet. Although the game is free to play, it includes other items that can be purchased for real money. Around the world, the game has millions of users. The story of the game is about some travelers who seek to save the Maple World from the terrible Black Mage. In this plot, the travelers become stronger as they eliminate the enemies of the game, many creatures of different appearance. As they advance in level, travelers choose the paths and disciplines to follow, which we will detail below.

    What is MapleStory?
    MapleStory 2 is a 3D isometric adventure MMORPG in which players create their own character and select one of several jobs to explore the new Maple World. Players will find several NPCs with various Quests, Monsters, and Bosses from the previous version, as well as completely new ones to fight against. The game also features dungeons and raids for players to team up with each other to complete.

    Out of action
    There are also a variety of activities for players to participate in, such as buying and building personal homes, crafting with Life Skills, fishing, composing music, creating custom user content such as custom clothing, and much more.

    History of the last UPDATE
    Nexon published the first closed beta test of the global version which ran from May 9, 2018 to May 16, 2018, and a second closed beta ran from July 18 to August 1, 2018. The game launched on October 10, 2018 with players who purchased a Founder's Pack on or after October 1, 2018. On Wednesday, May 27, 2020, Nexon ended service for the global version of MapleStory 2.

    https://maplestory.es/

    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