设为首页 收藏本站
查看: 1209|回复: 0

[经验分享] Citrix XenApp 6 servers in 20000 state

[复制链接]

尚未签到

发表于 2015-4-14 05:29:51 | 显示全部楼层 |阅读模式
  http://www.ervik.as/citrix/xenapp/3396-citrix-xenapp-6-servers-in-20000-state-error
  I was recently studing for an XenApp Exam, and was confronted with something I had almost forgot. A frequent error when establishing new farms and servers appears to be servers that have a bad licensing state.  The error you get when trying to launch applications is “An error occurred while making the requested connection”. I also have had many Citrix Partners and customers calling me the last couple of months regarding similar problems.
  One of the main problems is that the XenApp 6 server is unable to contact the license server after a reboot. Changing the license server name under policies to a bogus name and then changing back to the correct name (gpupdate /force and an IMA service restart might be needed) resolves the issue until the server is rebooted. Also the Citrix Policies created using the Delivery Services Console might not be applied.
  The Error message that the users see is :

  
  To test whether your farm is in this state, open an administrative command prompt on the problem server and run the command:
  query farm /load
  (or qfarm /load)
  The output as seen below of the Qfarm /load command indicates a server load of 20000, which means that it's not licensed properly.

  There are a few different reasons why you can run into this problem. Here are some methods of troubleshooting the issue. Please note that after each step, try rerunning the qfarm /load command.  If the output of qfarm /load now shows a load of 0, you have successfully fixed the issue.

  • Obvious things first – do you have a license server?!  This is not Terminal Services licensing, this has a grace period of 120 days.  Citrix licensing has no grace period as such.  First step is to verify that you have a working Citrix Licensing Server. Be sure to have the latest version installed, why? Because if you are adding new or updated version of Citrix Products you most likely need the latest Licensing Server installed, otherwise the LicServer will not recognize the license you installed.
  • If the IMAService is unable to contact the Data Store in a timely manner, Citrix Delivery Console Policies are deleted from the registry.
  • When you are specifying the license server name, don’t fully qualify it – so say “servername”, not “servername.domain.com”
  • Look at the Dashboard on your licensing server and make sure the SA date is at least 1 month from current date.
  • Just in case, 2x check that your TS licensing is working as it should!

    • Click Start,  Administrative Tools, Remote       Desktop Services, RDS Host Configuration
    • Click Licensing Diagnosis
    • You should see a number of CALs available to clients       and a nice green tick at the top of the screen.
    • Check the users you are testing with are actually in       the Remote Desktop Users group on the server.

  • Check with telnet that you can connect to your license      server from your Citrix server on port 27000 (or the one you selected as      the licensing port).  Could be a firewall issue on the licensing      server.
  • Check you have enabled remote access on the      server!!  Click Start, right click Computer, Click Remote Settings      and make sure the second, less secure option is selected:


  • Did you specify a license server on installation of the      server you’re having trouble with?  If you did, check the server’s      console(by plugging in a monitor, using ILO or looking on the      Hyper-V\VMware\XenServer console) to make sure it is not coming up with an error      saying “Citrix XenApp cannot contact the license server…”.  You never      know, you might have made a typo when enteringthe hostname of the Citrix Licensing Server.
  • Check the value LSName at this registry location on the      server:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Licensing
  • Try running the XenApp Server Role Manager from the      Start Menu on the server with the problem and disjoining the server from      the farm, then rejoining, being very careful to get the licensing      information right.
  • Try adding another server to the farm (I had one farm      where nothing worked until a second server was added…), again getting the     license bit right.  See if that server works.  If it does, its      something you did on the first one.
  • Change the Load Evaluator your server is using to the      Default one instead of Advanced (this was a problem in the Preview edition      of XenApp 6, I don’t know if it is in the final release).
  • Set the licensing information for the farm in Group Policy
  • Open the Citrix Services Delivery Console

    • Expand the farm and click the Policies node


    • Assuming you only have the Unfiltered policy, select       the computer tab, Unfiltered and click Edit.  If you have multiple       policies, you might have to do this in all of them, depending on the    make-up of your policy structure.


    • Leave “Enable this policy” ticked and click next


    • Click Licensing on the left.  Click the Edit or       Add button by the server host name and ports and enter the correct       details.


    • Click Server Settings on the left hand side and click       Add/Edit.  Select the product version you have licenses for in the      drop down.  This should be the version you have licenses for on the    license server.


    • Click Save


    • You should now see the settings you just entered in       the Summary section of Unfiltered.


    • On the problem server, run gpupdate /force and reboot.



  • Try installing a new test license server in case the      problem is there, especially if you have an old version installed.
  To download the latest Citrix Licensing Server click here
  There are also more things to keep in mind!, check out these links, they are all related to the same issue!

  XenApp 6 QFarm /load of 20000 and Policy Information is Removed from the Registry
  XenApp License Acquisition Error (-25) when Launching Applications Hosted on XenApp 6.0 Servers
  XenApp 6 QFARM /load Shows 20000
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-56788-1-1.html 上篇帖子: Citrix 客户端登录出现wfshell.exe 下篇帖子: 虚拟化系列-Citrix XenServer 6.1 安装与配置
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表