StepbyStepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer2Word文档格式.docx
- 文档编号:7853428
- 上传时间:2023-05-09
- 格式:DOCX
- 页数:12
- 大小:54.38KB
StepbyStepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer2Word文档格式.docx
《StepbyStepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer2Word文档格式.docx》由会员分享,可在线阅读,更多相关《StepbyStepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer2Word文档格式.docx(12页珍藏版)》请在冰点文库上搜索。
RonaldLoi
Abstract
Thisstep-by-stepguideprovidestheinstructionsnecessarytoconfigureNetworkLoadBalancing(NLB)withTerminalServicesfortheWindows
Server®
2008operatingsystem.ThisguidealsoincludesinstructionsoninstallingandconfiguringNLBandsettingupaterminalserver.
Informationinthisdocument,includingURLandotherInternetWebsitereferences,issubjecttochangewithoutnotice.Unlessotherwisenoted,theexamplecompanies,organizations,products,domainnames,e-mailaddresses,logos,people,places,andeventsdepictedhereinarefictitious,andnoassociationwithanyrealcompany,organization,product,domainname,e-mailaddress,logo,person,place,oreventisintendedorshouldbeinferred.Complyingwithallapplicablecopyrightlawsistheresponsibilityoftheuser.Withoutlimitingtherightsundercopyright,nopartofthisdocumentmaybereproduced,storedinorintroducedintoaretrievalsystem,ortransmittedinanyformorbyanymeans(electronic,mechanical,photocopying,recording,orotherwise),orforanypurpose,withouttheexpresswrittenpermissionofMicrosoftCorporation.
Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpropertyrightscoveringsubjectmatterinthisdocument.ExceptasexpresslyprovidedinanywrittenlicenseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepatents,trademarks,copyrights,orotherintellectualproperty.
©
2008MicrosoftCorporation.Allrightsreserved.
Microsoft,MS-DOS,Windows,Windows
NT,andWindowsServerareeitherregisteredtrademarksortrademarksofMicrosoftCorporationintheUnitedStatesand/orothercountries.
Thisproductcontainsgraphicsfiltersoftware;
thissoftwareisbasedinpartontheworkoftheIndependentJPEGGroup.
Allothertrademarksarepropertyoftheirrespectiveowners.
Contents
Step-by-StepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer20085
NLBwithTerminalServicesoverview5
TerminalServicescomponents6
TerminalServicesSessionBrokerservice6
TerminalServicesConfigurationsnap-in7
RequirementsforusingNLBwithaterminalserver7
StepsforconfiguringNLBwithTerminalServices7
Step1:
SetupaterminalserverfarmwithTSSessionBroker8
Step2:
InstallNLB10
Step3:
CreateanNLBcluster10
Loggingbugsandfeedback12
Additionalresources12
Step-by-StepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer2008
Thisstep-by-stepguideprovidesinstructionsforconfiguringNetworkLoadBalancing(NLB)withTerminalServices.
UsingNLBwithTerminalServicesoffersthebenefitsofincreasedavailability,scalability,andload-balancingperformance,aswellastheabilitytodistributealargenumberofTerminalServicesclientsoveragroupofterminalservers.
NLBwithTerminalServicesoverview
NLBdistributestrafficacrossseveralserversbyusingtheTCP/IPnetworkingprotocol.YoucanuseNLBwithaterminalserverfarmtoscaletheperformanceofasingleterminalserverbydistributingsessionsacrossmultipleservers.
TerminalServicesSessionBroker(TSSessionBroker),includedinWindowsServer®
2008Standard,WindowsServer2008Enterprise,andWindowsServer2008Datacenter,keepstrackofdisconnectedsessionsontheterminalserverfarm,andensuresthatusersarereconnectedtothosesessions.Additionally,TSSessionBrokerenablesyoutoloadbalancesessionsbetweenterminalserversinafarm.ThisfunctionalityisprovidedbytheTSSessionBrokerLoadBalancingfeature.However,thissession-basedloadbalancingfeaturerequiresafront-endloadbalancingmechanismtodistributetheinitialconnectionrequeststotheterminalserverfarm.YoucanusealoadbalancingmechanismsuchasDNSroundrobin,NLBorahardwareloadbalancertodistributetheinitialconnectionrequests.BydeployingNLBtogetherwithTSSessionBrokerLoadBalancing,youcantakeadvantageofboththenetwork-basedloadbalancingandfailedserverdetectionofNLB,andthesession-basedloadbalancingandperserverlimitonthenumberofpendinglogonrequeststhatisavailablewithTSSessionBrokerLoadBalancing.
Note
TousetheTSSessionBrokerLoadBalancingfeature,allterminalserversinthefarmmustberunningWindowsServer2008.FormoreinformationabouttheTSSessionBrokerLoadBalancingfeature,seetheWindowsServer2008TSSessionBrokerLoadBalancingStep-by-StepGuide.
WhendeployingaterminalserverfarmbyusingNLB,eachserverneedstoserveallusers.Tofacilitatethis,youmuststoreper-userinformation,systeminformation,andcommondatainanaccessibleplace,suchasaback-endfileserver.
TerminalServicescomponents
TerminalServiceshastwocomponentsthatareimportantforestablishingloadbalancing:
theTerminalServicesSessionBrokerserviceandtheTerminalServicesConfigurationsnap-in.
TerminalServicesSessionBrokerservice
Thisservicemaintainsadatabasethatkeepstrackofterminalserversessionsinaload-balancedterminalserverfarmandprovidesinformationtotheterminalserver,whichisusedtoconnectuserstoexistingsessions.
WhentheTerminalServicesSessionBrokerservicestarts,itcreatestheSessionDirectoryComputerslocalgroup.Bydefault,thisgroupisnotpopulated.YoumustchoosetheindividualterminalserversorgroupsthatyouwanttoparticipateintheTerminalServicesSessionBrokerservice,andthenmanuallychangegroupmembershipstotheSessionDirectoryComputersgroup.
TheTerminalServicesSessionBrokerservicestartsautomaticallyafteryouinstalltheTSSessionBrokerroleserviceontheserverthatyouwanttousetotrackusersessioninformationforaload-balancedterminalserverfarm.YoucanuseasingleTSSessionBrokerservertotrackusersessionsacrossmultiplefarmsbecausethereisminimalperformanceoverhead.
WhenyouinstalltheTSSessionBrokerroleservice,thefollowingchangesoccuronthelocalcomputer:
∙TheTerminalServicesSessionBrokerserviceisinstalled.Bydefault,theserviceissettoStartedandtoAutomatic.
∙TheSessionDirectoryComputerslocalgroupiscreated.
Installationprerequisites
∙TheserverwhereyouinstalltheTSSessionBrokerroleservicemustbeamemberofadomain.
∙TheWindowsServer
2008-basedserverwhereyouinstalltheTSSessionBrokerroleservicedoesnothavetobeaterminalserverorhaveRemoteDesktopenabled.
IfyouinstalltheTSSessionBrokerroleserviceonadomaincontroller,theSessionDirectoryComputersgroupwillbeadomainlocalgroup,anditwillbeavailableonalldomaincontrollers.
Installationprocedure
IfyoudonothaveanyoftheTerminalServicesroleservicesinstalled,usethefollowingproceduretoinstalltheTSSessionBrokerroleservice.
ToinstalltheTSSessionBrokerroleservice
1.ClickStart,pointtoAdministrativeTools,andthenclickServerManager.
2.UnderRolesSummary,clickAddRoles.
3.IntheAddRolesWizard,reviewtheBeforeYouBeginpage,andthenclickNext.
4.OntheSelectServerRolespage,selecttheTerminalServicescheckbox,andthenclickNext.
5.OntheTerminalServicespage,clickNext.
6.OntheSelectRoleServicespage,selecttheTSSessionBrokercheckbox,andthenclickNext.
7.OntheConfirmInstallationSelectionspage,confirmthatTSSessionBrokerislisted,andthenclickInstall.
8.OntheInstallationResultspage,clickClose.
TerminalServicesConfigurationsnap-in
Thissnap-inisincludedoneachterminalserver.TerminalserversthatcomprisetheterminalserverfarmcommunicatewithTSSessionBrokertoensurethatusersaretransparentlyreconnectedtotheoriginalserverhostingtheirdisconnectedsessions.Theprocessis:
1.Whentheuserlogsontotheterminalserverfarm,theterminalserverreceivingtheinitialclientlogonrequestsendsaquerytotheTSSessionBrokerserver.
2.TheTSSessionBrokerservercheckstheusernameagainstitsdatabaseandsendstheresulttotherequestingserver.Oneofthefollowingoccurs:
∙Iftheuserhasnodisconnectedsessions,logoncontinuesattheserverhostingtheinitialconnection.
∙Iftheuserhasadisconnectedsessiononanotherserver,theclientsessionispassedtothatserverandlogoncontinues.
RequirementsforusingNLBwithaterminalserver
TouseNLB,acomputermusthave:
∙Atleastonenetworkadapterforloadbalancing.
∙OnlyTCP/IPusedontheadapterforwhichNLBisenabled.Donotaddanyotherprotocols(forexample,IPX)tothisadapter.
∙AllhostsintheNLBclustermustresideonthesamesubnet.
∙Ensurethatthecluster'
sclientsareabletoaccessthissubnet.
∙Allterminalserversintheterminalserverfarmshouldbejoinedtothesamedomain.
StepsforconfiguringNLBwithTerminalServices
ToconfigureNLBwithTerminalServices,completethefollowingsteps:
SetupaterminalserverfarmwithTSSessionBroker.
InstallNLB.
CreateanNLBcluster.
SetupaterminalserverfarmwithTSSessionBroker
ForaterminalservertouseTSSessionBroker,youmustaddthecomputeraccountfortheterminalservertotheSessionDirectoryComputerslocalgroupontheTSSessionBrokerserver.
Important
YoumustperformthisprocedureontheserverwhereyouinstalledtheTSSessionBrokerroleservice.
ToaddaterminalservertotheSessionDirectoryC
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- StepbyStepGuideforConfiguringNetworkLoadBalancingwithTerminalServicesinWindowsServer2
链接地址:https://www.bingdoc.com/p-7853428.html