




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
XenDesktop故障分析和排查演示文稿现在是1页\一共有37页\编辑于星期一优选XenDesktop故障分析和排查现在是2页\一共有37页\编辑于星期一Introductionandobjectives现在是3页\一共有37页\编辑于星期一Tweetaboutthissessionwithhashtag#SUM301and#CitrixSummit现在是4页\一共有37页\编辑于星期一FocusingonthemajorcomponentsofXenDesktop5WIControllersVDAsADVMHost(XenServer,Hyper-V,VMware)LicensingUserSQLDatabase现在是5页\一共有37页\编辑于星期一DeployingControllerServers6AllControllersloadbalancesessionlaunchandVDAregistrationsConfiguringControllersinanN+1configurationallowsforresiliencyincaseofafailureAllControllerstalktotheSQLdatabaseandshoulddeployedascloseaspossibleControllers现在是6页\一共有37页\编辑于星期一ControllerServerScalability7XD4.x:XD5.x:BrokerBroker(ZDC)BrokerHypervisorPoolControllerController
Controller(failed)WIWIHypervisorPoolHypervisorPoolHypervisorPoolHypervisorPoolHypervisorPool现在是7页\一共有37页\编辑于星期一Controllers–ScalabilityandBestPractices8Canoverwhelmthehostinginfrastructurewithpowerstaterequestsduringpeaktimeswhenmanyuserslogonandoff.YoucanthrottletheamountofpowercommandssentperControllerwith“MaximumTransitionRate”–defaultis20,doNOTincreaseitwon’tspeeduppoweruptimes现在是8页\一共有37页\编辑于星期一DeployingSQLforXDDatabases9XD5usesasingledatabasewithmultipleschemasthatmaptoXDservicesStoredproceduresareleveragedtoreduceloadondatabaseDatabaseiscriticaltoXD5–allControllershaveheartbeattodatabaseSQLDatabases现在是9页\一共有37页\编辑于星期一SQL–DatabaseMirroring10Databasefailure=ControllerFailureOnlyimpactsnewconnections–existingordisconnectedsessionsnotaffectedCitrixrecommendsleveragingSQLMirroringforfaulttolerancePrincipaldatabaseMirrordatabaseTransactionlogMirroringsendstransactionlogfromPrincipaldatabasetotheredundantdatabaseIftheprincipaldatabasefails,userinterventionisrequiredtofailoverthedatabaseCitrixrecommendsusingsynchronousdatabasemirroringwithwitnessWitnessServer现在是10页\一共有37页\编辑于星期一SQL–BestPractices11SQLtransactionlogiscriticaltomonitorConnectionlaunchesandidledesktopsconsumetransactionlogspaceUseafixed-sizetransactionlog–auto-growthfeaturecouldimpactresponsetimesLeverageSQLAlertswhenlogreachesthresholds(recommend50%)Databasefailovertuning–adjustControllerheartbeatintervalDefaultheartbeatis30secsandrequiresaSQLoperationControllersunregisterworkersthatdonotheartbeatforoveroneminuteControlledbyRegkey:HKLM\Software\Citrix\DesktopServer\HeartbeatPeriodMs现在是11页\一共有37页\编辑于星期一DeployingVirtualDesktopAgents12VDAnowuses“registrybased”registrationbydefaultVerifyportsareopenandfirewallconfiguredForwardandReverseDNSisrequiredVirtualDesktopAgents现在是12页\一共有37页\编辑于星期一VDA–Scalabilityandbestpractice13IncreasetheServicetimeoutsifyouexpectperiodswithlargeamountofVMsrebooting–increaseto3minsrecommendedOptimizethelogonprocess–improvesdesktopperformancePlanstageddeploymentsandconsiderleveragingtoolssuchlikeLoginVSItoperformscaleandloadtestingbeforeaddinglargegroupsofuserstoenvironment现在是13页\一共有37页\编辑于星期一Keypointstoremember14Controllersareresilientandscalewell–keepdeploymentssimpleSQLserverplayspivotalroleininfrastructure–protectit!Makeyourendusershappy–tuneyourVDAsforperformance现在是14页\一共有37页\编辑于星期一Troubleshootingasessionlaunchfailure15UserswerereportingtheygotanerrorwhentryingtolaunchtheirdesktopsAdminnoticedthatintermittentlyVDAswouldde-registeratsessionlaunchCaseStudyWalkthrough现在是15页\一共有37页\编辑于星期一Environmentoverview16XenDesktopdeploymentwith:WebInterface5.4XD5.6SQL2008VMWare5.0Windows2008R2ActiveDirectoryVirtualDesktopAgentOS–Win732-bitCitrixReceiver3.1Web
Interface
5.4XD
5.6SQL
2008VMWare5.0ActiveDirectoryVDAsReceiver现在是16页\一共有37页\编辑于星期一Whatdidfailurelooklike?17现在是17页\一共有37页\编辑于星期一18Userattemptstostartthesession1011011010SSL1011011010SSL1011011010SSL101101110110111011现在是18页\一共有37页\编辑于星期一InitialTroubleshooting19Howoftendoesithappen?Anyparticulartimeframeithappens?Anyspecificusersorimagesithappensmorefrequentlywith?Whatchanged?Anyeventviewermessages?现在是19页\一共有37页\编辑于星期一Whatchanged?
20WIController#1VDAsController#2VDAsregisteronController#1CustomerhadsingleserverdeploymentCustomeraddedsecondControllerforredundancy现在是20页\一共有37页\编辑于星期一Wheredowestartlooking?21Wefound4interestingmessagesinEventViewer:Warning–EventID2103:AnunexpectedexceptionoccurredwhiletheCitrixBrokerServiceprocessedanXMLtransaction.
AnincompatibleclientmightbetryingtoaccesstheXMLservice.Verifythecompatibilityofclientsaccessingtheservice.Ifthisproblempersists,reinstalltheCitrixXenDesktopController.Errordetails:Transaction:'RequestAddress'ExceptionType:'System.ServiceModel.Security.SecurityAccessDeniedException'ApplicationWarning–EventID1060:TheCitrixBrokerServicefailedtoapplysettingsonthevirtualmachine'KB-WIN7-01.'.
CheckthatthevirtualmachinecanbecontactedfromtheControllerandthatanyfirewallonthevirtualmachineallowsconnectionsfromtheController.SeeCitrixKnowledgeBasearticleCTX126992.
Errordetails:Exception'Accessisdenied.'oftype'System.ServiceModel.Security.SecurityAccessDeniedException'.Warning–EventID1039:TheCitrixBrokerServicefailedtocontactvirtualmachine'KB-WIN7-01.'(IPaddress).
CheckthatthevirtualmachinecanbecontactedfromtheControllerandthatanyfirewallonthevirtualmachineallowsconnectionsfromtheController.SeeCitrixKnowledgeBasearticleCTX126992.
Errordetails:Exception'Accessisdenied.'oftype'System.ServiceModel.Security.SecurityAccessDeniedException'.Warning–EventID1101:TheCitrixBrokerServicefailedtobrokeraconnectionforuser'GET\atladmin'toresource'KB-Win7-PW'.TheCitrixBrokerServicecannotfindanyavailablevirtualmachines.Pleaseaddmorevirtualmachinestothesite.Iftheproblemisduetoexistingvirtualmachinesnotbecomingavailable,seeCitrixKnowledgeBasearticleCTX126992.现在是21页\一共有37页\编辑于星期一TroubleshootingMethodology–verifyenvironment22CheckFirewallconfigurationActiveDirectorymis-configurationForwardDNSandReverseDNSEnvironmentalchecks:CheckfortimeskewDefaultportsPortconflicts现在是22页\一共有37页\编辑于星期一TroubleshootingMethodology–gatheringdata23RunCitrixScoutTaaSbetaEnableloggingonbothControllersRunaCDFTrace现在是23页\一共有37页\编辑于星期一CitrixScout/XDCollector(CTX130147)24PushbuttoneasydatacollectionsystemMakesdatacollectionanduploadpushbuttoneasyIntegratesdatacollectedbyScoutwiththeCitrixToolsasaService(TaaS)backendSimplifiesdatacollection&analysis现在是24页\一共有37页\编辑于星期一ToolsasaServicehttp://Taas.C/BetaAutoanalysishealthcheck2325DataCollectionRecommendationstailoredtoYOU1Quicklycollectanduploadyourdata现在是25页\一共有37页\编辑于星期一EnablingloggingEnablingControllerServiceLogging-CTX127492CDFControl-CTX11196126Controller现在是26页\一共有37页\编辑于星期一Diggingdeeper–Controllerloganalysis27CdsBroker:1:1:UpdateWorkerSettingsconfigurationService.Setfailed:System.ServiceModel.Security.SecurityAccessDeniedException:Accessisdenied.Serverstacktrace:atSystem.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessagemessage)Exceptionrethrownat[0]:atSystem.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessagereqMsg,IMessageretMsg)atSystem.Runtime.Remoting.Proxies.RealProx"CdsBroker:1:1:UpdateWorkerSettingsrejecttheworker(S-1-5-21-1123877020-465626563-3648135752-3586)"BrokerDAL:8:5:DAL>>>DeregisterWorker(S-1-5-21-1123877020-465626563-3648135752-3586,CommunicationFailure)"BrokerDAL:8:5:DAL>>>DeleteBrokeredSessionOnPrepareFailure(LaunchToken=54711b77-4fce-4edc-b31e-937bc7dca341,SinBin=True)现在是27页\一共有37页\编辑于星期一UsingCDFControl28WithCDFControlyoucandownloadthepublicTMFfileswhichwillallowyoutoparsetheCDFtraceandtroubleshootyourissueParsingtheCDFtraceandenablingtheexpertshaderfeatureallowsustoquicklyfindexceptionswhicharetypicallyhighlightedinorangeHighlevelfailureis:“CdsWorkerAgent:8:5:UserAllowed:foundnomatchingControllers,accessnotallowedforuser”现在是28页\一共有37页\编辑于星期一Diggingdeeper–CDFtraceloganalysis29Initialtrustfailure:CdsWorkerAgent:8:5:CheckAccessCore:CallingdelegatetoprovideSIDlistCdsWorkerAgent:8:5:CheckAccessCore:entered,have1trustedDDCsCdsWorkerAgent:8:5:UserAllowed:foundnomatchingControllers,accessnotallowedforuserGET\KB-XD5-SP1-2$S-1-5-21-1123877020-465626563-3648135752-3604AfterworkerSin-Bintimeout:CdsWorkerAgent:1:1:Heartbeattohttp://KB-XD5-03.:80/Citrix/CdsController/IRegistrarrejectedCdsWorkerAgent:2:1:EventLogManagerdecidedtologeventCDS_EVENT_WORKER_AGENT_HEARTBEAT_REJECTEDoftypeWarningRe-Registered(aftertimeoutexpires):CdsWorkerAgent:2:1:Succesfullyregisteredwithhttp://KB-XD5-03.:80/Citrix/CdsController/IRegistrar;startingheartbeats现在是29页\一共有37页\编辑于星期一Underthehood-VDASessionLaunchexplained30VDAVDAController#1DesktopServiceController#2SQLUserWIVDAregisterstoController#1WorkerflaggedinDBasReadyUserlaunchessessionWISendslaunchrequesttoXMLBrokerXMLbrokerqueriesDBforareadyworkerXMLsendsPrepareSessiontickettoVDAXMLBrokerunregistersworkerListOfDDCs=Controller#1VDAchecksListOfDDCstoauthorizePrepareSessionController#2isnotinListOfDDCs,VDAinvalidatessessionlaunchrequestXMLReturnsErrortoWIWIErrorreturnedtouserBrokerServiceXMLBrokerWorkerisplacedinSinBin现在是30页\一共有37页\编辑于星期一RootCauseanalysis31ThecustomeraddedasecondControllertohandleXMLrequestsforredundancyAssoonasthenewControllerwasaddedtotheWIXMLfailoverlistitwasavailabletobrokersessionlaunchesbydesignSincethenewControllerwasnotaddedasanauthorizedtrustedagentXenDesktoprejectsthesessionlogonsWorkstationagentde-registerstemporarilyandthenattemptstore-register现在是31页\一共有37页\编辑于星期一Resolution32DDCsthathandleauthenticationmustbeauthorizedagentsandaddedto“ListOfDDCs”registryvalueCTX132536outlinestheregistrykeyandhowtodefinebrokergroupsAddingDDCstoWIXMLfailoverlistenablestheabilityforDDCstohandlesessionlogons现在是32页\一共有37页\编辑于
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030年中国缆索起重机市场运行态势及发展趋势分析报告
- 2025-2030年中国硫铁矿烧渣行业运行动态规划研究报告
- 2025-2030年中国盐酸美金刚行业竞争格局及发展规划分析报告
- 2025-2030年中国白纸板市场发展趋势与投资战略研究报告
- 2025安徽省建筑安全员A证考试题库附答案
- 哈尔滨金融学院《机器人运动学控制》2023-2024学年第二学期期末试卷
- 2025甘肃省建筑安全员《C证》考试题库及答案
- 石家庄铁路职业技术学院《建筑空间生活》2023-2024学年第二学期期末试卷
- 重庆工商大学派斯学院《筒仓工程》2023-2024学年第二学期期末试卷
- 景德镇陶瓷职业技术学院《经典译著赏析》2023-2024学年第二学期期末试卷
- 螺旋体病梅毒课件
- (小学组)全国版图知识竞赛考试题含答案
- 人教版一年级道德与法治下册全册教案
- 类风湿关节炎前状态诊疗专家共识(2024)解读
- 2024-2030年中国化妆镜行业市场发展趋势与前景展望战略分析报告
- Project项目管理(从菜鸟到实战高手)
- 食品加工机械与设备操作技能测试考核试卷
- SNT 1961.11-2013 出口食品过敏原成分检测 第11部分:实时荧光PCR方法检测麸质成分
- 冀教版数学七年级上下册知识点总结
- 第六章 围手术期护理课件
- 2024广东省深圳市宝安区中考初三二模英语试题及答案
评论
0/150
提交评论