When setting up our new Citrix XenApp 6 server for initial testing we installed the license server on itself (call it CITRIX1). As we were nearing the time to move it into production I wanted to move the license service to another non XenApp server (call it XENAPP-LS). I did so and migrated our MetaFrame Presentation Server licenses to it. I wasn't exactly sure how to tell the CITRIX1 XenApp server to point to the new XENAPP-LS license server so did some Google searches. I figured out you have to create a XenApp Computer Policy and add the following setting "License Server Host Name" with the appropriate name of the new license server (i.e. XENAPP-LS.mydomain.local). Did a reboot and bingo, good to go! It starting use the new licenses. I removed the license server off of CITRIX1.
Problem
Well, as I was installing things I needed to do a reboot. On the next reboot it popped up a message saying "Citrix License Error : Citrix XenApp cannot contact the license server CITRIX1". Say what? I checked my XenApp computer policy and it still said the license server was XENAPP-LS. Rebooted again and this time it did not complain and was working fine. Fast forward a few days, now the server is in production. After one of the 3am reboots we perform each night it reverted back to looking for CITRIX1 as the license server. No one could log on that morning!! Another reboot fixed it.
Apparently if the server can not communicate with the SQL XenApp datastore at a magical moment during boot up, it looks in the registry and does not apply the policy. It seems like it would eventually re-check and then apply the policy but that apparently does not happen (since it was 4 hours since the 3am reboot before the first user tried to log on and would not let anyone on).
Solution
You need to edit the registry on your XenApp server(s) to manually change the license server name to what it needs to be.
Checkout:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\LSName
and
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Licensing\MFCM_LSHostName
These still had the CITRIX1 value in there. I changed it to XENAPP-LS.mydomin.local and have not since had the problem.
Thursday, January 6, 2011
Subscribe to:
Post Comments (Atom)
About Me
- Brian Kayser
- Science Fiction Author / Vice President of Technology for The Christman Company
sweet, thanx alot!
ReplyDeleteDid this work for you? I did this fix and it worked for a while but then failed back.
ReplyDeleteThanks
Same here. I cannot find any reference to my old server anywhere on the system. Sometimes it takes my new license server, sometimes my old one.
ReplyDeleteThanks for this solution, it worked for us as well! But I did change 2 more keys in the registry, just in case, on top of the ones listed above and implementing the policy:
ReplyDelete[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\IMA\Licensing]
"LicenseServerHostName"="CITRIX2"
and
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Citrix]
"LSName"="CITRIX3"
Eric
Thanks Eric!
DeleteI found that the registry would keep reverting back to the old licence name. I stopped all citrix services and made the cnage again, this worked for me. Thanks.
ReplyDeleteI had the same issue but it was due to an old citrix gpo applied.
ReplyDeleteif you have the same problem after reboot or IMA service restart and you have manually changed the registry key.Please have a look to your GPO.
Thank you!
ReplyDeleteGuys, it didn't worked. As soon IMA is started - It's picking old license server. Any help ?
ReplyDeleteMapleStory.es - 3D isometric adventure MMORPG<
ReplyDeleteDownload 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/