售后服务终端服务管理包说明
TerminalServicesManagementPackGuideforOpera
tionsManager2007
MicrosoftCorporation
Published:June2008
Sendsuggestionsandcommentsaboutthisdocumenttompgfeed@
gementPackguidenamewithyourfeedback.
Copyright
Informationinthisdocument,includingURLandotherInternetWebsitereferences,issubjecttochan
,thecompanies,organizations,products,domainnames,e-
mailaddresses,logos,people,places,
ciationwithanyrealcompany,organization,product,domainname,e-
mailaddress,logo,person,place,
,n
opartofthisdocumentmaybereproduced,storedinorintroducedintoaretrievalsystem,ortransmitt
edinanyformorbyanymeans(electronic,mechanical,photocopying,recording,orotherwise),orfor
anypurpose,withouttheexpresswrittenpermissionofMicrosoftCorporation.
Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpro
enseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepa
tents,trademarks,copyrights,orotherintellectualproperty.
©.
Microsoft,MS-
DOS,Windows,WindowsServer,andActiveDirectoryareeitherregisteredtrademarksortrademarksof
MicrosoftCorporationintheUnitedStatesand/orothercountries.
Allothertrademarksarepropertyoftheirrespectiveowners.
RevisionHistory
ReleaseDate Changes
April2007 Originalreleaseofthisguide
July2007 Newtopicsinthisrelease:
CreateaNewManagementPackforCustomizations
October2007 Newtopicinthisrelease:
MonitorsandOverridesforManagementPacks
June2008 Newtopicsinthisrelease:
Updateddocumenttonewmanagementpackguideformat
SupportedConfigurations
Classes
ReleaseDate Changes
PlacingMonitoredObjectsinMaintenanceMode
Appendix:Reports
Contents
Introduction to the Terminal Services Management Pack for Operations Manager 20077
What's New8
Supported Configurations8
Getting Started9
Before You Import the Management Pack9
Files To Download10
How to Import the Terminal Services Management Pack10
Create a New Management Pack for Customizations11
Optional Configuration12
Turn On Rules to Collect Performance Data12
Enable Discovery of Remote Admin13
Enable Discovery of a Session Directory in a Cluster14
Enable an Alert for a Failed Printer Redirection Operation14
Security Considerations15
Low-Privilege Environments15
Computer Groups15
Agentless Monitoring15
Understanding Management Pack Operations16
Objects the Terminal Services Management Pack Discovers16
Classes16
How Health Rolls Up18
Viewing Information in the Operations Manager Console19
Views19
Overall19
Health Monitoring20
Performance20
Reports21
Key Monitoring Scenarios21
Get Information About a Monitor24
Placing Monitored Objects in Maintenance Mode25
Troubleshooting25
Appendix: Monitors and Overrides for Management Packs27
How to View Management Pack Details27
How to Display Monitors for a Management Pack27
How to Display Overrides for a Management Pack27
How to Display All Management Pack Rules28
How to Display Monitor Thresholds28
How to Display Performance Collection Rules30
Appendix: Reports32
IntroductiontotheTerminalServicesManagement
PackforOperationsManager2007
TheTerminalServicesManagementPackhelpsyoumanageyourcomputersrunningTerminalServicesonWi
ndowsServer2008,WindowsServer2003,orWindows2000ServerbymonitoringthehealthoftheTerminal
Serviceswiththehelpofserverroleservices.
TerminalserversrunningWindows2000Serverusethefollowingroleservices:
•TerminalServer:WiththeTerminalServerroleservice,aservercanhostMicrosoftWindows–
,tosa
vefiles,andtousenetworkresourcesonthatserver.
•TSLicensing:TerminalServicesLicensing(TSLicensing)managestheTerminalServicesclientacc
esslicenses(TSCALs)
SLicensingtoinstall,issue,andmonitortheavailabilityofTSCALsonaTerminalServiceslicensese
rver.
WindowsServer2003addsthefollowingroleservice:
•SessionDirectory:TheTerminalServicesSessionDirectoryservicetrackssessionsonterminalse
rversrunningWindowsServer2003andensuresthatclientcomputersconnecttotheirexistingsession
s.
ThefollowingadditionalroleservicesareusedinconjunctionwithWindowsServer2008:
•TSWebAccess:WithTerminalServicesWebAccess(TSWebAccess),userscanaccessRemoteAppprogram
emoteDesktopWebConnection,withwhichuserscanremotelyconnecttoanycomputerwheretheyhaveRem
oteDesktopaccess.
•TSGateway:WithTerminalServicesGateway(TSGateway),authorizedremoteuserscanconnecttores
ourcesonaninternalcorporatenetworkfromanyInternet-
connecteddevicethatcanruntheRemoteDesktopConnection(RDC)client.
•TSSessionBroker:TerminalServicesSessionBroker(TSSessionBroker)supportssessionloadbala
ncingbetweenterminalserversinafarmandreconnectiontoanexistingsessioninaload-
balancedterminalserverfarm.
Note
InWindowsServer2008,thenameoftheTerminalServicesSessionDirectoryfeaturewaschangedtoTerm
inalServicesSessionBroker(TSSessionBroker).
Whenthereisproblemwiththeavailabilityorperformanceofoneofthesecomponents,MicrosoftSyste
mCenterOperationsManager2007usestheTerminalServicesManagementPacktodetecttheissueandale
rtyousothatyoucandiagnosetheproblemandfixit.
Themanagementpackcanhelpyouidentifyissuesbeforetheydisruptyourinfrastructure,improvingt
heavailabilityandperformanceoftheWindows-basedserversthatyourbusinessdependson.
DocumentVersion
.
GettingtheLatestManagementPackandDocumentation
YoucanfindtheTerminalServicesManagementPackintheSystemCenterOperationsManager2007Catalo
g(
What'sNew
ThefollowingfeaturesarenewinthisreleaseoftheTerminalServicesManagementPackspecifictoTer
minalServicesinWindowsServer2008:
•TSGateway
•TSSessionBroker
•TSWebAccess
SupportedConfigurations
Ingeneralthesupportedconfigurationsdonotexceedwhatisdetailedinthefollowinglocations:
•MicrosoftSupportLifecyclepolicy(
•OperationsManager2007SupportedConfigurationsGuide(
kId=90676)
Asitrelatedtothismanagementpack,thefollowingconfigurationshavebeentestedandaresupported
:
•Windows2000Server
•Architecture:32bit
•Roles:
•TerminalServices(RemoteAdminandApplicationServermode)
•SessionDirectory
•TerminalServicesLicensing
•WindowsServer2003
•Architecture:32bitand64bit
•Roles:
•TerminalServices(RemoteAdminandApplicationServermode)
•SessionDirectory
•TerminalServicesLicensing
•WindowsServer2008
•Architecture:32bitand64bit
•Roles:
•TerminalServices
•TerminalServer
•TerminalServicesLicensing
•TerminalServicesWebAccess
•TerminalServicesGateway
•TerminalServicesSessionBroker
GettingStarted
Thissectiondescribestheactionsyoushouldtakebeforeyouimportthemanagementpack,anystepsyou
shouldtakeafteryouimportthemanagementpack,andinformationaboutcustomizations
BeforeYouImporttheManagementPack
FortheTerminalServicesManagementPacktofunctionoptimally,yourcomputersmustmeetthefollowi
ngrequirements:
•EachterminalservermustbemanagedbyOperationsManager2007.
•EachTerminalServiceslicenseservermustbemanagedbyOperationsManager2007.
•EachSessionDirectoryservermustbemanagedbyOperationsManager2007.
•EachTerminalServicesWebAccessservermustbemanagedbyOperationsManager2007.
•EachTerminalServicesGatewayservermustbemanagedbyOperationsManager2007.
•EachTerminalServicesSessionBrokerservermustbemanagedbyOperationsManager2007.
•TheMicrosoftWindowsServerBaseOperatingSystemManagementPackmustbeinstalledonthecompute
rrunningSystemCenterOperationsManager2007computertousesomeoftheTerminalServicesManageme
ntPackfeatures,
ngSystemManagementPackincludesfivefiles:
:RequiredforWindowsServer2008,WindowsServer2003,an
dWindows2000Server
:RequiredforWindowsServer2008
:RequiredforWindowsServer2008
:RequiredforWindowsServer2003
:RequiredforWindows2000Server
Note
IfyoursystemincludesacombinationofinstancesofWindowsServer2008,WindowsServer2003,andWin
dows2000Server,youcanimportallfivefilestogether.
FilesToDownload
TomonitorTerminalServices,youmustfirstdownloadtheMicrosoftWindowsServerTerminalServices
ManagementPackfromtheManagementPackCatalog,locatedat
kId=:
FileName Description
Requiredfordiscoveringobjects,monitoringobjects,andviewinginfor
mationoncomputersrunningWindowsServer2008,WindowsServer2003,and
Windows2000Server.
RequiredformonitoringcomputersrunningWindowsServer2008.
RequiredformonitoringcomputersrunningWindowsServer2003.
RequiredformonitoringcomputersrunningWindows2000Server.
FileName Description
HowtoImporttheTerminalServicesManagementPack
Forinstructionsaboutimportingamanagementpack,seeHowtoImportaManagementPackinOperationsM
anager2007(
AftertheTerminalServicesManagementPackisimported,followtheseprocedurestofinishyouriniti
alconfiguration:
.
,ontheGomenu,clickAdministration.
,expandAdministration.
-
clickManagementPacks,clickImportManagementPacks,
,
,
p,andthenclickOpen.
Note
IfyoursystemincludesacombinationofinstancesofWindowsServer2008,WindowsServer2003,andWin
dows2000Server,,
,.
mpasneeded.
.
CreateaNewManagementPackforCustomizations
Mostvendormanagementpacksaresealedsothatyoucannotchangeanyoftheoriginalsettingsintheman
,youcancreatecustomizations,suchasoverridesornewmonitoringobject
s,,OperationsManager2007savesallcustomiz
,youshouldinsteadcreateaseparatemanagem
entpackforeachsealedmanagementpackyouwanttocustomize.
Creatinganewmanagementpackforstoringoverrideshasthefollowingadvantages:
•Itsimplifiestheprocessofexportingcustomizationsthatwerecreatedinyourtestandpre-
,insteadofexportingadefault
managementpackthatcontainscustomizationsfrommultiplemanagementpacks,youcanexportjustthe
managementpackthatcontainscustomizationsofasinglemanagementpack.
•Itallowsyoutodeletetheoriginalmanagementpackwithoutfirstneedingtodeletethedefaultmana
k,youmustdeletethedefaultmanagementpackbeforeyoucandeleteanoriginalmanagementpack.
•Itiseasiertotrackandupdatecustomizationstoindividualmanagementpacks.
Formoreinformationaboutsealedandunsealedmanagementpacks,seeManagementPackFormats(http:/
/
tionsandthedefaultmanagementpack,seeAboutManagementPacksinOperationsManager2007(http://
OptionalConfiguration
rinstance,ifyouwanttoreceiveanalertwhenaTerminalServercannotprintonalocalprinter,youcan
enabletherulethatgeneratesthealert.
ThefollowingtablelistsoptionalconfigurationsfortheTerminalServicesManagementPackandspec
ifieswhereyoucanfindmoreinformationabouteachoption.
ConfigurationOption AdditionalInformation Window
s2000S
erver
Window
sServe
r2003
Window
sServe
r2008
Changethedefaultsettin
gsbyoverridingrules.
See"HowtoMonitorUsingOverridesinOperati
onsManager2007"intheSystemCenterOperati
onsManager2007Help.
X X X
Turnonrulesthatcollect
performancedata.
SeeTurnOnRulestoCollectPerformanceData. X X X
Discoverserversthatrun
RemoteAdminorRemoteDes
SeeEnableDiscoveryofRemoteAdmin. X X
ConfigurationOption AdditionalInformation Window
s2000S
erver
Window
sServe
r2003
Window
sServe
r2008
ktop.
GetanalertwhenaTermina
lServercannotprintonal
ocalprinter.
SeeEnableanAlertforaFailedPrinterRedire
ctionOperation.
X X
TurnOnRulestoCollectPerformanceData
IntheTerminalServicesManagementPack,mostoftherulesthatcollectperformancedataaredisabled
,youcanuseoverridestoturnontheperformance-
measuringrulesthatyouwant.
Note
Turningonperformance-
measuringrulesincreasesnetworktrafficandmightdegradeperformanceonserverswithslowWANlink
s.
Tocollectperformancedata
,ontheGomenu,clickAuthoring.
,expandManagementPackObjects,andthenclickRules.
Note
ToshowrulesfortheTerminalServicesManagementPackonly,onthetoolbar,clickScope,andthen
underTarget,selectthecheckboxesfortheTerminalServicescomponents—
forexample,TerminalServer2003ComputerRole.
,right-clicktheperformance-
measuringrulethatyouwant,pointtoOverrides,pointtoOverridetheRule,andthenclickForall
objectsoftype:<typeofobject>.
-
controlledparameters,intheOverridecolumn,selectthecheckboxbesideEnabled.
,inthedrop-downmenu,clickTrue,andthenclickOK.
EnableDiscoveryofRemoteAdmin
Bydefault,themanagementpackdoesnotdiscoverserversrunningWindows2000ServerthatrunRemoteA
dministrationmodeorcomputersrunningRemoteDesktopinWindowsServer2003ortheWindowsXPoperat
,youmustturnon
theRemoteAdministrationobjectdiscovery.
ToenablediscoveryofRemoteAdminmode
,ontheGomenu,clickAuthoring.
,expandManagementPackObjects,andthenclickObjectDiscoveries.
Note
ToshowobjectdiscoveriesfortheTerminalServicesManagementPackonly,onthetoolbar,clickS
cope,andthenunderTarget,selectthecheckboxesfortheTerminalServicescomponents—
forexample,TerminalServer2003ComputerRole.
,clickWindows2003ServerTerminalServerRoleRemoteAdm
inModeDiscoveryorWindows2000ServerTerminalServerRoleRemoteAdminModeDiscovery.
,clickOverrides,pointtoOverridetheObjectDiscovery,andthenclickForaspe
cificobjectoftype:WindowsServer.
,clicktheobjectthatyouwant,andthenclickOK.
-
controlledparameters,intheOverridecolumn,selectthecheckboxbesideEnabled.
,inthedrop-downmenu,clickTrue,andthenclickOK.
EnableDiscoveryofaSessionDirectoryinaCluster
TodiscoveraSessionDirectoryinaclusterenvironment,youmustenableobjectdiscoveryforthevirt
lusternodesoranyothervirtualnodesinthecluster.
ToenablediscoveryofaSessionDirectoryinacluster
,ontheGomenu,clickAuthoring.
,expandManagementPackObjects,andthenclickObjectDiscoveries.
,right-
clickMicrosoftWindows2003TerminalServicesSessionDirectoryRoleDiscoveryinclusterenvi
ronment,pointtoOverrides,pointtoOverridetheObjectDiscovery,andthenclickForaspecific
objectoftype:WindowsServer.
,clickthevirtualnodethathoststheSessionDirectoryservice,andth
enclickOK.
EnableanAlertforaFailedPrinterRedirectionOperati
on
Bydefault,
analertwhenaTerminalServercannotprintonalocalprinter,youmustuseanoverridetoenabletherul
e.
Toenablethefailedprinterredirectionoperationrule
,ontheGomenu,clickAuthoring.
,expandManagementPackObjects,andthenclickRules.
Note
ToshowrulesonlyfortheTerminalServicesManagementPack,onthetoolbar,clickScope,andthen
underTarget,selectthecheckboxesfortheTerminalServicescomponents—
forexample,TerminalServer2003ComputerRole.
,right-
clickTerminalServicesfailedprinterredirectionoperation,pointtoOverrides,pointtoOver
ridetheRule,andthenclickForallobjectsoftype:TerminalServer2003ComputerRole.
-
controlledparameters,intheOverridecolumn,selectthecheckboxbesideEnabled.
,inthedrop-downmenu,clickTrue,andthenclickOK.
SecurityConsiderations
-
privilegeenvironmentormusthaveminimumpermissions.
Low-PrivilegeEnvironments
TheTerminalServicesManagementPackusestheagentactionaccounttoperformdiscoveryandtorunrul
es,tasks,
ingasLocalSystem,theagentactionaccounthasalltheprivilegesneededtodiscoverobjectsandtoru
nrules,tasks,andmonitors.
Important
TousetheTerminalServicesManagementPackinalow-
privilegeconfiguration,theactionaccountmusthavethefollowingminimumprivilegesonthetarget
computer:
•Memberofthelocalusersgroup.
•MemberofthelocalPerformanceMonitorusersgroup.
•GrantedLogOnLocallyrights.
ComputerGroups
,se
ethe"AboutUserRolesinOperationsManager2007"topicintheOperationsManager2007Help.
IntheTerminalServicesManagementPack,youcanscopeandauthorizerolesbyusingtheTerminalServi
cesComputerGroup,agroupthatcontainsallcomputersystemsrunningTerminalServices
AgentlessMonitoring
YoucanusetheTerminalServiceManagementPacktomonitoragentless-
-
managedcomputer,however,youmustchangetheactionaccounttoanaccountthathasaccesstothetarge
tcomputer.
UnderstandingManagementPackOperations
ThissectiondescribestheobjectsthattheTerminalServicesManagementPackdiscovers,howhealthr
ollsup,keymonitoringscenarios,andtheconsoleviewsthatdisplaymonitoringandperformanceinfo
rmation.
ObjectstheTerminalServicesManagementPackDiscover
s
,seethe"ObjectDiscoveriesinOperati
onsManager2007"topicinOperationsManager2007Help(
108505).
TheTerminalServicesManagementPackdiscoversthefollowingobjects.
•TerminalServerinApplicationServerMode
•TerminalServerinRemoteAdminmode(onlyforWindowsServer2003andWindows2000Server)
•TerminalServicesLicensingServer
ThefollowingadditionalobjectsarespecifictotheTerminalServicesManagementPackforWindowsSe
rver2003:
•TerminalServicesSessionDirectory
•TerminalServicesSessionDirectorymanualmode
ThefollowingadditionalobjectsarespecifictotheTerminalServicesManagementPackforWindowsSe
rver2008:
•TerminalServicesGatewayServer
•TerminalServicesSessionBrokerServer
•TerminalServicesWebAccessServer
Classes
Thefollowingtabledescribestheclassesdefinedinthismanagementpack:
AvailableCla
sses
Descccription
TerminalSer
ver2000Comp
uterRole
Windows2000ComputerSystemsrunningTerminalServer
TerminalSer
ver2003Comp
uterRole
Windows2003ComputerSystemsrunningTerminalServer
TerminalSer
ver2008Comp
uterRole
chnologiesthatenableaccesstoaserverrunningWindows-
AvailableCla
sses
Descccription
programs,savefiles,andusenetworkresourcesonthatserver.
TerminalSer
vices2000Li
censeServer
ComputerRol
e
TerminalServicesServicerunningonWindows2000Server
TerminalSer
vices2003Li
censeServer
ComputerRol
e
TerminalServicesServicerunningonWindowsServer2003
TerminalSer
vices2003Se
ssionDirect
oryComputer
Role
TerminalServicesSessionDirectoryrunningonWindowsServer2003
TerminalSer
vices2008Ro
leservice
ssisusedasabaseforotherclasseswhicharespecializedtotheparticularroleservic
es.
TerminalSer
vices2008Te
rminalServe
rRoleservic
e
vicesroleservicethatsupportssharingofWindows-
programs,savefiles,andusenetworkresourcesonthatserver.
TerminalSer
vices2008TS
GatewayRole
service
(TSGateway
)isaroleservicethatenablesauthorizedremoteuserstoconnecttoresourcesonanint
ernalcorporateorprivatenetwork,fromanyInternet-
connecteddevicethatcanruntheRemoteDesktopConnection(RDC)
esourcescanbeterminalservers,terminalserversrunningTerminalServicesRemoteA
AvailableCla
sses
Descccription
ppprograms,orcomputerswithRemoteDesktopenabled.
TerminalSer
vices2008TS
LicensingRo
leservice
(TSLic
ensing)isaTerminalServicesroleservicethatmanagestheTerminalServicesclienta
ccesslicenses(TSCALs)thatarerequiredforeachdeviceorusertoconnecttoatermina
,issue,andtracktheavailabilityofTSCALson
aTerminalServiceslicenseserver.
TerminalSer
vices2008TS
SessionBrok
erRoleservi
ce
TerminalServicesSessionBroker(TSSessionBroker)isaTerminalServicesroleservi
ceinWindowsServer2008thatsupportssessionloadbalancingbetweenterminalserver
sinafarm,andreconnectiontoanexistingsessioninaload-
balancedterminalserverfarm.
Note
TSSessionBrokerwasformerlycalledTerminalServicesSessionDirectory.
TerminalSer
vices2008TS
WebAccessro
leservice
(TSWeb
Access)isaWindowsServer2008roleservicethatenablesuserstovisitaWebsite(eith
erfromtheInternetorfromtheintranet)toaccessalistofavailableTSRemoteAppprog
,
pprogramstarts,aTerminalServicessessionisstartedontheterminalserverthathos
tstheRemoteAppprogram.
HowHealthRollsUp
,theLicensingS
erverrole,and,forWindowsServer2003,theSessionDirectoryrole,eachofwhichismonitoredindepe
'sservicestates,events,
anumberofthesemonitorschangesstate,thelevelabovechangesstatetomatch;inotherwords,thehea
lthofthelowerlevelrollsuptothelevelaboveit.
Forexample,thestateoftheTerminalServer'sperformancemonitors—
totalnumberofactivesessions,totalnumberofinactivesessions,andtotalprocessortimepersessi
on—
rollsuptotheTerminalServer',thestateoftheTerminal
Server'shealthmonitorrollsuptotheTerminalServer'
estateandtheavailabilitystatethenrolluptosettheoverallstateoftheTerminalServer.
ThisTerminalServicesManagementPackbehavesslightlydifferentlyfromthepreviousversionsasar
esultoftherole,roleservice,
alServer2008ComputerRoleisthehighest-
rminalServer2008ComputerRole,oneormoreroleserviceclassesexistsdependingonwhichofthevari
roleserviceshasitsownstatethatisdrivenbyvariousmonitors,andthestateofalloftheseroleserv
icesisreflectedbacktotheTerminalServer2008ComputerRole.
ViewingInformationintheOperationsManagerConsole
AfteryougiveyourTerminalServicesManagementPackatleastanhourtogatherdata,youbegintoseemo
,theMi
crosoftWindowsTerminalServicesfoldercontainsviewsthatpresentinformationaboutthestate,he
alth,andperformanceofTerminalServices.
Views
TheTerminalServicesManagementPackincludesavarietyofviewsthatyoucanusetocheckthestatusor
ultviewsdescribedinthetablesinthefollowingsections.
Overall
ViewName Description
ActiveAlerts DisplaysactivealertsfromallTerminalServicescomponents.
LicensingServerState DisplaysstateandattributesforyourTerminalServicesLicensingServ
ersystems.
SessionDirectoryState DisplaysstateandattributesforTerminalServicesSessionDirectorys
ystems.
TerminalServerState DisplaysstateandattributesforTerminalServersystems.
TerminalServicesPerform Displaysalltheperformancedatafortheassociatedclasses.
ViewName Description
ance
HealthMonitoring
ViewName Description
LicensingServiceHealt
h
Adashboardviewthatdisplaysthestateofandthealertsforthelicensings
ervice.
SessionDirectoryServi
ceHealth
Adashboardviewthatdisplaysthestateofandthealertsforthesessiondir
ectoryservice.
TerminalServerService
Health
AdashboardviewthatdisplaysthestateoftheTerminalServerroleandterm
inalserverservicealerts.
Performance
ViewName Description
DiskCapacity Adashboardviewthatdisplaysfreespaceasapercentageandinmegabytes.
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled
DiskPerformance Adashboardviewthatdisplays,inseconds,averagediskreadperformanceandave
ragediskqueuelength.
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled.
DiskUtilization Adashboardviewthatdisplays,inseconds,theperformanceofdiskbytesanddisk
reads.
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled.
MemoryUtilizatio
n(PageFile)
Adashboardviewthatdisplaysthepercentusageofthepagingfileandmemorypage
writespersecond.
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled.
MemoryUtilizatio
n(Physical)
Adashboardviewthatdisplaysperformancedatarelatedtousingphysicalmemory
.
ViewName Description
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled.
NetworkAdapterUt
ilization
Adashboardviewthatdisplays,inseconds,thebytesreceivedthroughthenetwor
kinterfaceandthenetworkinterface'stotalbytes.
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled.
ProcessorPerform
ance
Adashboardviewthatdisplaysperformancedataonprocessortimeandprocessorq
ueuelength.
Tousethisview,theWindowsServerOperatingSystemManagementPackmustbeinst
alled.
SessionStatistic
s
Adashboardviewthatdisplaysperformancedataforactiveterminalsessionsand
totalterminalsessions.
Reports
AlthoughtheMonitoringpaneintheOperationsConsoleshowsthestateofyourcurrentenvironmentand
candisplaydateandtimerangesfortheperformanceviews,youcanusetheTerminalServicesManagemen
,seetheOperationsManager2007D
ilablewithareportingserver.
•TerminalServeractiveandinactiveconnectionsbypeakhours
•TerminalServeractiveandinactiveconnectionsbyday
•TerminalServicestotalsessionsbyday
KeyMonitoringScenarios
TheTerminalServicesManagementPackmonitorstheavailabilityandperformanceoftheTerminalServ
ers,theLicensingServer,theSessionDirectoryforWindowsServer2003,and,forWindowsServer2008
,TSWebAccess,TSGateway,
narios.
Scenario Description Wind
ows2
000S
erve
r
Wind
owsS
erve
r200
3
Wind
owsS
erve
r200
8
Termina
lServer
perform
ance
ChecksthestatusoftheTerminalServerbyusingthreekeyperformance
monitors,whichareenabledbydefault:thenumberofactivesessions,
thenumberofinactivesessions,andthetotalprocessortimepersessi
on.
Whenthenumberofactivesessionsapproachestheperformancelimitof
thecomputer'shardware,themonitorchangestoacriticalhealthstat
eandalertsyou.
Whenanumberofinactivesessionsexceedstheidlesessionlimitfield
ofeithertheTerminalServicesnodeinGroupPolicyortheTerminalSer
vicesconfigurationconsole,themonitorchangestoacriticalstatea
ndalertsyou.
Whenthetotalprocessingtimepersessionexceeds80percentoftheCPU
'stotalcapacityfor15minutes,themonitorchangestoacriticalstat
eandalertsyou.
X X
Session
Directo
ryhealt
h
MonitorsthehealthoftheSessionDirectory'
heWindowsserviceisnotrunning,themonitorchangestoacriticalsta
teandalertsyou.
X X
Licensi
ngServe
rhealth
MonitorsthehealthoftheLicenseServer'
indowsserviceisnotrunning,themonitorchangestoacriticalstatea
ndalertsyou.
X X
TSServe
rRoleMo
nitorin
g
EnsuresthattheWindowsServiceisrunningandtestsforconnectivity
berofopensessionsanddisconnectedsessions.
X
TSLicen X
Scenario Description Wind
ows2
000S
erve
r
Wind
owsS
erve
r200
3
Wind
owsS
erve
r200
8
singSer
verMoni
toring
ientAccessLicenses(TSCALs)areinstalledandavailableontheTermi
efileisrestoredwhenthereisamodificationtotheolddatabasefile.
TSGatew
ayServe
rMonito
ring
EnsuresthattheGatewayServiceisrunningandchecksthatitisableto
ions.
X
TSSessi
onBroke
rServer
Monitor
ing
EnsuresthattheSessionBrokerServiceisrunning. X
TSWebAc
cessSer
verMoni
toring
erminalServerandWebAccessServer.
X
GetInformationAboutaMonitor
Byviewingamonitor'sproductknowledge,youcangetinformationaboutamonitorandreadpotentialso
lutionsfortheproblemthatitdetects.
Toviewproductknowledgeforamonitor
,ontheGomenu,clickAuthoring.
,expandManagementPackObjects,andthenclickMonitors.
,expandthetargetthatyouwantuntilthemonitorappears.
Note
Tosearchforamonitor,intheLookforbox,typethenameofamonitororwordsthatitsnamemightcon
tain,andthenclickFindNow.
-
clickthemonitorthatyouwant,clickProperties,andthenclicktheProductKnowledgetab.
PlacingMonitoredObjectsinMaintenanceMode
Whenamonitoredobject,suchasacomputerordistributedapplication,goesofflineformaintenance,
OperationsManager2007detectsthatnoagentheartbeatisbeingreceivedand,asaresult,mightgener
,placethemonitoredobje
,alerts,notifications,rules,monitors,automaticre
sponses,statechanges,andnewalertsaresuppressedattheagent.
Notes
•Ifadependentserverisinmaintenancemode,alertscanstillberaisedfromotherTerminalServices
roles.
•Forexample,iftheLicensingserverisputintomaintenancemodeandisoffline,alertscanoccurfro
motherTerminalServicesroleserversthatfailtogetalicensefromtheofflineLicensingserver.
Forgeneralinstructionsonplacingamonitoredobjectinmaintenancemode,seeHowtoPutaMonitoredO
bjectintoMaintenanceModeinOperationsManager2007(
108358).
Troubleshooting
ThefollowingtabledescribesissuesthatcanoccurwiththeTerminalServicesManagementPackandpre
,seet
"TerminalServicesManagementPack"ontheht
tp://
Problem Solution
Themanagementpackd
iscoverednoobjects
.
MakesureyourTerminalServersareusingapplicationmode,notRemoteAdminmo
de.
DiscoveryofserversrunningRemoteAdminorRemoteDesktopisdisabledbydefa
unningRemoteAdminorRemoteDesktop,seeEnableDiscoveryofRemoteAdmin.
Problem Solution
Mostperformancevie
wsareempty.
InstalltheWindowsServerOperatingSystemManagementPack.
TheWindowsServerOperatingSystemManagementPackisrequiredforalltheper
formanceviewsexceptSessionStatistics.
YoucandownloadtheWindowsServerOperatingSystemManagementPackfromhttp
://
Themanagementpackd
idnotdiscoveraSess
ionDirectoryinaclu
ster.
tructions,seeEnableDiscoveryofaSessionDirectoryinaCluster.
Themanagementpacki
snotcollectingmuch
performancedata.
Enabletheperformance-
,seeTurnOnRulestoCollectPe
rformanceData.
Themanagementpackd
oesnotgenerateanal
ertwhenaTerminalSe
rverfailstoprinton
alocalprinter.
orinstructions,seeEnableanAlertforaFailedPrinterRedirectionOperatio
n.
TSWebAccessservers
appearasnotmonitor
ed.
TherearenomonitorscreatedfortheTSWebAccessservers,sotheiconforTSWeb
Accesswillappearasanemptygreencircle,indicatingthereisnomonitorings
,instancesofTSWebAccessarediscoveredcorrectly,andrulesi
nthemanagementpackwillraisealertsconcerningseveralissuesinthemanage
,rules,andoth
ermonitoringscenarios.
Appendix:MonitorsandOverridesforManagementP
acks
Thissectionprovidesdetailedproceduresandscriptsthatyoucanusetodisplayrulesandotherinfor
mationaboutthemanagementpacksyouimport.
HowtoViewManagementPackDetails
Formoreinformationaboutamonitorandtheassociatedoverridevalues,seetheknowledgeforthemoni
tor.
Toviewknowledgeforamonitor
,clicktheAuthoringbutton.
,andthenclickMonitors.
,,youc
anusetheSearchboxtofindaparticularmonitor.
,andintheMonitorspane,clickViewknowledge.
.
HowtoDisplayMonitorsforaManagementPack
Todisplayalistofoutputsforamanagementpack'smonitorsandoverridesusingtheCommandShell,use
thefollowingprocedure.
Todisplaymonitorsforamanagementpack
,typethefollowingcommand:
|export-csvfilename
.
Note
InExcel,.
Forexample,thefollowingcommandretrievesdataforthemonitorsassociatedwithoneofthecoremana
gementpacks:
|export-csv"C:\"
HowtoDisplayOverridesforaManagementPack
Todisplayoverridesforamanagementpackusethefollowingprocedure.
Todisplayoverridesforamanagementpack
,typethefollowingcommand:
|export-csvfilename
.
Note
InExcel,.
Forexample,thiscommanddisplaystheoverridesforoneofthecoremanagementpacks:
|export-csv"c:\"
HowtoDisplayAllManagementPackRules
stofrulescanbeviewedinExcel.
Todisplaymanagementpackrules
,clickPrograms,andthenclickSystemCenter.
.
,typethefollowingcommand:
get-rule|select-object@{Name="MP";Expression={foreach-
object{$().DisplayName}}},DisplayName|sort-object-propertyMP|export-csv"c:\"
.
Note
InExcel,.
HowtoDisplayMonitorThresholds
Todisplaymonitorthresholds,
Excel.
Column Description
Type Thetypeofobjectsthemonitoristargetedto
DisplayName Thedisplaynameofthemonitor
Threshold Thethresholdusedbythemonitor
AlertOnState Determineswhetherthemonitorgeneratesanalertwhenthestatechanges
AutoResolveA
lert
Determineswhetherthegeneratedalertwillbeautomaticallyresolvedwhenthemonit
orstategoesbacktogreen
AlertSeverit Theseverityofthegeneratedalert
Column Description
y
:
functionGetThreshold([String]$configuration)
{
$config=[xml]("<config>"+$configuration+"</config>")
$threshold=$
if($threshold-eq$null)
{
$threshold=$
}
if($threshold-eq$null)
{
$threshold=$
}
if($threshold-eq$null)
{
if($-ne$null-and$-ne$null)
{
$threshold="firstthresholdis:"+$+"secondthresholdis:"+$
}
}
if($threshold-eq$null)
{
if($-ne$null-and$-ne$null)
{
$threshold="warningthresholdis:"+$+"errorthresholdis:"+$
dErrorSec
}
}
if($threshold-eq$null)
{
if($-ne$null)
{
$threshold="nothreshold(baselinemonitor)"
}
}
return$threshold
}
$perfMonitors=get-monitor-Criteria:"IsUnitMonitor=1andCategory='PerformanceHealth'"
$perfMonitors|select-object@{name="Target";expression={foreach-object{(Get-MonitoringClass-
Id:$).DisplayName}}},DisplayName,@{name="Threshold";expression={foreach-
object{GetThreshold$}}},@{name="AlertOnState";expression={foreach-
object{$}}},@{name="AutoResolveAlert";expression={foreach-
object{$}}},@{name="AlertSeverity";expression={foreach-
object{$}}}|sortTarget,DisplayName|export-csv"c:\"
HowtoDisplayPerformanceCollectionRules
Todisplayperformancecollectionrules,
Excel.
Column Description
WriteAction Containsinformationaboutwheretheperformancecounteriswri
tten
WriteToDBorCollectionPerforman
ceData
WritestotheOperationsManagerdatabase
WriteToDWorCollectPerfDataWare
house
Writestothedatawarehouse
WC Storesbaselinedataforaperformancecounterintotheoperatio
naldatabase
Todisplaytheperformancecollectionrulespresentinthemanagementgroup,runthefollowingscript
:
functionGetPerfCounterName([String]$configuration)
{
$config=[xml]("<config>"+$configuration+"</config>")
return($+"\"+$)
}
functionGetFrequency([String]$configuration)
{
$config=[xml]("<config>"+$configuration+"</config>")
$frequency=$;
if($frequency-eq$null)
{
$frequency=$;
}
return($frequency)
}
functionGetDisplayName($performanceRule)
{
if($-eq$null)
{
return($);
}
else
{
return($);
}
}
functionGetWriteActionNames($performanceRule)
{
$writeActions="";
foreach($writeActionin$)
{
$writeActions+=""+$;
}
return($writeActions);
}
$perf_collection_rules=get-rule-criteria:"Category='PerformanceCollection'"
$perf_collection_rules|select-object@{name="Type";expression={foreach-object{(Get-MonitoringClass-
id:$).DisplayName}}},@{name="RuleDisplayName";expression={foreach-
object{GetDisplayName$_}}},@{name="CounterName";expression={foreach-
object{GetPerfCounterName$[0].Configuration}}},@{name="Frequency";expression={foreach-
object{GetFrequency$[0].Configuration}}},@{name="WriteActions";expression={foreach-
object{GetWriteActionNames$_}}}|sortType,RuleDisplayName,CounterName|export-
csv"c:\"
Appendix:Reports
TheTerminalServicesManagementPackiscompatiblewiththeexistingOperationsManager2007health
,performance,andavailabilityandsecurityreports.
Inaddition,theTerminalServices2008ManagementPackprovidesthesereports:
Report Description
WindowsTerminalServices2
008TerminalServerConfigu
ration
DisplaysallconfigurationdataontheWindowsServer2008TerminalSe
rver
WindowsTerminalServices2
008TerminalServicesGatew
ayConfiguration
DisplaysallconfigurationdataontheWindowsServer2008TSGateway
WindowsTerminalServices2
008TerminalServicesLicen
singConfiguration
DisplaysallconfigurationdataonWindowsServer2008TSLicensingus
ageduringthespecifiedperiodoftimeonatargetlicenseserver
WindowsTerminalServices2
008TerminalServicesSessi
onBrokerConfiguration
Displaysallconfigurationdataandnumberofactivesessionsinaspec
ifiedperiodoftimeonTSSessionBroker
WindowsTerminalServices2
008TerminalServicesWebAc
cessConfiguration
DisplaysallconfigurationdataonthetargetWebAccessServer
SecurityEventsReport Displaysallsecurity-
relatedeventsonallfourTerminalServicesmanagedentities(TSGate
way,TSLicensing,TSSessionBroker,andTSWebAccess)duringaspecif
iedperiodoftimeonaselectedTerminalServicesserver