资源预览内容
第1页 / 共38页
第2页 / 共38页
第3页 / 共38页
第4页 / 共38页
第5页 / 共38页
第6页 / 共38页
第7页 / 共38页
第8页 / 共38页
第9页 / 共38页
第10页 / 共38页
亲,该文档总共38页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
ComplexXenDesktopusecases commonmistakes toolsandtechniquesforresolution BaptisteDuflos Manager EscalationServices May8th 2012 Introductionandobjectives Tweetaboutthissessionwithhashtag SUM301and CitrixSummit FocusingonthemajorcomponentsofXenDesktop 4 WI Controllers VDAs AD VMHost XenServer Hyper V VMware Licensing User SQLDatabase DeployingControllerServers 5 AllControllersloadbalancesessionlaunchandVDAregistrationsConfiguringControllersinanN 1configurationallowsforresiliencyincaseofafailureAllControllerstalktotheSQLdatabaseandshoulddeployedascloseaspossible Controllers ControllerServerScalability 6 XD4 x XD5 x Broker Broker ZDC Broker HypervisorPool Controller Controller Controller failed WI WI HypervisorPool HypervisorPool HypervisorPool HypervisorPool HypervisorPool Controllers ScalabilityandBestPractices 7 Canoverwhelmthehostinginfrastructurewithpowerstaterequestsduringpeaktimeswhenmanyuserslogonandoff YoucanthrottletheamountofpowercommandssentperControllerwith MaximumTransitionRate defaultis20 doNOTincreaseitwon tspeeduppoweruptimes DeployingSQLforXDDatabases 8 XD5usesasingledatabasewithmultipleschemasthatmaptoXDservicesStoredproceduresareleveragedtoreduceloadondatabaseDatabaseiscriticaltoXD5 allControllershaveheartbeattodatabase SQLDatabases SQL DatabaseMirroring 9 Databasefailure ControllerFailureOnlyimpactsnewconnections existingordisconnectedsessionsnotaffectedCitrixrecommendsleveragingSQLMirroringforfaulttolerance Principaldatabase Mirrordatabase Transactionlog MirroringsendstransactionlogfromPrincipaldatabasetotheredundantdatabase Iftheprincipaldatabasefails userinterventionisrequiredtofailoverthedatabaseCitrixrecommendsusingsynchronousdatabasemirroringwithwitness WitnessServer SQL BestPractices 10 SQLtransactionlogiscriticaltomonitorConnectionlaunchesandidledesktopsconsumetransactionlogspaceUseafixed sizetransactionlog auto growthfeaturecouldimpactresponsetimesLeverageSQLAlertswhenlogreachesthresholds recommend50 Databasefailovertuning adjustControllerheartbeatintervalDefaultheartbeatis30secsandrequiresaSQLoperationControllersunregisterworkersthatdonotheartbeatforoveroneminuteControlledbyRegkey HKLM Software Citrix DesktopServer HeartbeatPeriodMs DeployingVirtualDesktopAgents 11 VDAnowuses registrybased registrationbydefaultVerifyportsareopenandfirewallconfiguredForwardandReverseDNSisrequired VirtualDesktopAgents VDA Scalabilityandbestpractice 12 IncreasetheServicetimeoutsifyouexpectperiodswithlargeamountofVMsrebooting increaseto3minsrecommendedOptimizethelogonprocess improvesdesktopperformancePlanstageddeploymentsandconsiderleveragingtoolssuchlikeLoginVSItoperformscaleandloadtestingbeforeaddinglargegroupsofuserstoenvironment Keypointstoremember 13 Controllersareresilientandscalewell keepdeploymentssimpleSQLserverplayspivotalroleininfrastructure protectit Makeyourendusershappy tuneyourVDAsforperformance Troubleshootingasessionlaunchfailure 14 UserswerereportingtheygotanerrorwhentryingtolaunchtheirdesktopsAdminnoticedthatintermittentlyVDAswouldde registeratsessionlaunch CaseStudyWalkthrough Environmentoverview 15 XenDesktopdeploymentwith WebInterface5 4XD5 6SQL2008VMWare5 0Windows2008R2ActiveDirectoryVirtualDesktopAgentOS Win732 bitCitrixReceiver3 1 WebInterface5 4 XD5 6 SQL2008 VMWare5 0 ActiveDirectory VDAs Receiver Whatdidfailurelooklike 16 17 Userattemptstostartthesession InitialTroubleshooting 18 Howoftendoesithappen Anyparticulartimeframeithappens Anyspecificusersorimagesithappensmorefrequentlywith Whatchanged Anyeventviewermessages Whatchanged 19 WI Controller 1 VDAs Controller 2 VDAsregisteronController 1 Customerhadsingleserverdeployment CustomeraddedsecondControllerforredundancy Wheredowestartlooking 20 Wefound4interestingmessagesinEventViewer Warning EventID2103 AnunexpectedexceptionoccurredwhiletheCitrixBrokerServiceprocessedanXMLtransaction AnincompatibleclientmightbetryingtoaccesstheXMLservice Verifythecompatibilityofclientsaccessingtheservice Ifthisproblempersists reinstalltheCitrixXenDesktopController Errordetails Transaction RequestAddress ExceptionType System ServiceModel Security SecurityAccessDeniedException ApplicationWarning EventID1060 TheCitrixBrokerServicefailedtoapplysettingsonthevirtualmachine KB WIN7 CheckthatthevirtualmachinecanbecontactedfromtheControllerandthatanyfirewallonthevirtualmachineallowsconnectionsfromtheController SeeCitrixKnowledgeBasearticleCTX126992 Errordetails Exception Accessisdenied oftype System ServiceModel Security SecurityAccessDeniedException Warning EventID1039 TheCitrixBrokerServicefailedtocontactvirtualmachine KB WIN7 IPaddress CheckthatthevirtualmachinecanbecontactedfromtheControllerandthatanyfirewallonthevirtualmachineallowsconnectionsfromtheController SeeCitrixKnowledgeBasearticleCTX126992 Errordetails Exception Accessisdenied oftype System ServiceModel Security SecurityAccessDeniedException Warning EventID1101 TheCitrixBrokerServicefailedtobrokeraconnectionforuser GET atladmin toresource KB Win7 PW TheCitrixBrokerServicecannotfindanyava
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号