Chapter 14 Chapter 14: Server Monitoring and Optimization.

Slides:



Advertisements
Similar presentations
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Advertisements

2.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 2: Installing Windows Server.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 15 Chapter 15: Network Monitoring and Tuning.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 10: Collect and Analyze Performance Data.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Thirteen Performing Network.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 16 Chapter 16: Troubleshooting. Chapter 16 Learning Objectives n Develop your own problem-solving strategy n Use the Event Viewer to locate and.
11 MONITORING MICROSOFT WINDOWS SERVER 2003 Chapter 3.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Chapter 11: Maintaining and Optimizing Windows Vista
Maintaining and Updating Windows Server 2008
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 14: Troubleshooting Windows Server 2003 Networks.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Chapter Ten Performance Tuning. Objectives Create a performance baseline Create a performance baseline Understand the performance and monitoring tools.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
M ONITORING SERVER PERFORMANCE Unit objectives Use Task Manager to monitor server performance and resource usage Use Event Viewer to identify and troubleshoot.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Ch 11 Managing System Reliability and Availability 1.
With Microsoft Windows 7© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Windows 7.
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
Hands-On Microsoft Windows Server 2008
MCTS Guide to Microsoft Windows Vista Chapter 11 Performance Tuning.
MCTS Guide to Microsoft Windows 7
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
CH 6 Configuring Server Hardware and power options.
Chapter 6 Configuring Windows Server 2008 Printing
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
© Wiley Inc All Rights Reserved. MCSE: Windows Server 2003 Active Directory Planning, Implementation, and Maintenance Study Guide, Second Edition.
Module 7: Fundamentals of Administering Windows Server 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
®® Microsoft Windows 7 for Power Users Tutorial 9 Evaluating System Performance.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
11 MANAGING PERFORMANCE Chapter 16. Chapter 16: MANAGING PERFORMANCE2 OVERVIEW  Optimize memory, disk, and CPU performance  Monitor system performance.
Maintaining and Updating Windows Server Monitoring Windows Server It is important to monitor your Server system to make sure it is running smoothly.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Chapter 10 System Monitoring Issues Performance Benchmarks NT Server Services Users and Server Access Information Task Manager for Applications Ram and.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows monitoring Unit objectives: Monitor the operating system Monitor system performance Backup and restore operating system files and data.
Module 13: Monitoring Resources and Performance. Overview Using Task Manager to Monitor System Performance Using Performance and Maintenance Tools to.
Monitoring and Managing Server Performance. Server Monitoring To become familiar with the server’s performance – typical behavior Prevent problems before.
1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 4 Monitoring Network Activity.
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
Windows Server 2003 系統效能監視 林寶森
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
Page 1 Monitoring, Optimization, and Troubleshooting Lecture 10 Hassan Shuja 11/30/2004.
14.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 14: Monitoring Windows Server.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Monitoring Servers Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Using the Reliability and Performance Console Monitor servers.
Maintaining and Updating Windows Server 2008 Lesson 8.
Guide to Parallel Operating Systems with Windows 7 and Linux Chapter 10 Operating System Management.
SQL Database Management
Hands-On Microsoft Windows Server 2008
MCTS Guide to Microsoft Windows 7
MONITORING MICROSOFT WINDOWS SERVER 2003
Chapter 10 - Tuning Up System Performance
Chapter 15: Network Monitoring and Tuning
Presentation transcript:

Chapter 14 Chapter 14: Server Monitoring and Optimization

Chapter 14 Learning Objectives n Establish monitoring benchmarks n Monitor server services, logged-on users, and server functions n Use Task Manager to monitor processes and performance data n Use the System Monitor to monitor page file, memory, processor, disk and other critical server performance functions and to tune these functions as needed

Chapter 14 Learning Objectives (continued) n Set up performance logs and alerts for monitoring n Identify key system elements to monitor for problems

Chapter 14 Benefits of Server Monitoring n Monitoring helps you become familiar with normal server performance to help identify areas of growth, prevent problems, and troubleshoot problems later n Plan to monitor a range of activities to better understand a server

Chapter 14 Server Activities to Monitor Table 14-1 Server Activities to Monitor

Chapter 14 Establishing Server Benchmarks n Plan to establish server benchmarks as an effective way to determine normal performance and distinguish it from problem situations n Benchmarks can be established by: u Generating statistics about CPU, disk, memory, and I/O with no users on the system u Using performance monitoring to establish slow, average, and peak use periods

Chapter 14 Establishing Server Benchmarks (continued) u Gathering performance information for slow, average, and peak use when new software is added u Gathering information about growth in server use, number of users, software use and average time users are on the server

Chapter 14 Monitoring Server Services n Monitor server services to determine if any are stopped, improperly configured, or possibly hung n Use the Computer Management tool or the Services tool to monitor services (both can be accessed from the Administrative Tools menu)

Chapter 14 Windows 2000 Server Default Services

Chapter 14 Windows 2000 Server Default Services (continued)

Chapter 14 Windows 2000 Server Default Services (continued)

Chapter 14 Windows 2000 Server Default Services (continued)

Chapter 14 Windows 2000 Server Default Services (continued)

Chapter 14 Interpreting Service Information n When you monitor services, the default information that is displayed includes: u The name of each service u A description u Status of the service (started, paused, or halted/not started u Status type (how the service was started) u Logged on as (where the service is running)

Chapter 14 Services Display Figure 14-1 Monitoring server services

Chapter 14 Troubleshooting Tip n Stop a service carefully because other services may be dependent on it n Check on dependencies by: u Double-clicking the service in the Services tool u Clicking the Dependencies tab

Chapter 14 Viewing Service Dependencies Figure 14-2 Service properties

Chapter 14 Configuring Service Properties n Configure a service’s properties by double-clicking the service in the Services tool

Chapter 14 Service Properties Tabs Table 14-3 Services Properties Tabs

Chapter 14 Monitoring Users n To monitor logged on users: u Right-click My Computer and click Manage u Double-click System Tools (if necessary) u Double-click Shared Folders u Click Sessions n To monitor resource use, double-click Shares instead of Sessions as the last step

Chapter 14 Monitoring Shared Resources Figure 14-3 Shared resources

Chapter 14 Using the Task Manager n Use the Task Manager to monitor: u Applications u Processes u Basic performance

Chapter 14 Task Manager Display Figure 14-4 Monitoring started tasks

Chapter 14 Starting the Task Manager n To start Task Manager: u Press Ctrl+Alt+Del and then press Task Manager to start the Task Manager u An alternative way to start Task Manager is to right-click an open area of the taskbar and click Task Manager

Chapter 14 Other Ctrl+Alt+Del Options n When you press Ctrl+Alt+Del after Windows 2000 Server is booted you have the following options: u Lock Computer u Change Password u Log Off u Task Manager u Shut Down u Cancel

Chapter 14 Troubleshooting Tip n When you monitor CPU performance, 100 percent CPU utilization is not a concern if it is temporary, but if it frequently lasts for several minutes instead of several seconds you should troubleshoot the cause

Chapter 14 Default Task Manager Information on Processes Table 14-4 Task Manager Information on Processes

Chapter 14 Troubleshooting Tip n If you believe a particular program is causing a CPU bottleneck and want to monitor CPU use for its associated process: u Right-click the program in the Applications tab u Click Go To Process u Examine the CPU and CPU Time columns for that process on the Processes tab

Chapter 14 Managing Processes n Use the Task Manager to: u Stop a task (application) or process u Stop the process tree (the process and the subprocesses it has started) u Change the priority of a process

Chapter 14 Process Priority Settings n A process’s priority can be set to: u Low (-2) u BelowNormal (-1) u Normal (0) u AboveNormal (+1) u High (+2) u Realtime (+15)

Chapter 14 Configuring a Process’s Priority Figure 14-5 Resetting a process priority

Chapter 14 Troubleshooting Tip n Use the Realtime priority with great caution because it may cause a process to completely dominate a server’s resources

Chapter 14 Task Manager Performance Tab n The Task Manager Performance tab enables you to monitor: u CPU performance u Memory performance

Chapter 14 Monitoring Performance Data Figure 14-6 Performance data

Chapter 14 Task Manager Performance Statistics Table 14-5 Task Manager Performance Statistics

Chapter 14 Task Manager Performance Statistics (continued)

Chapter 14 Task Manager Performance Statistics (continued)

Chapter 14 System Monitor n Use the System Monitor for in-depth monitoring of all kinds of elements on a server, called objects

Chapter 14 Default System Monitor Objects Table 14-6 System Monitor Objects

Chapter 14 Default System Monitor Objects (continued) Default System Monitor Objects (continued)

Chapter 14 Default System Monitor Objects (continued)

Chapter 14 Default System Monitor Objects (continued)

Chapter 14 CountersCounters n Specific qualities of objects are measured by counters and instances: u Counter: Used by the System Monitor, this is a measurement technique for an object, such as measuring the processor performance by percentage in use u Instance: Used by the System Monitor, when there are two or more types of elements to monitor, such as two or more threads or disk drives

Chapter 14 Sample Processor Counters in System Monitor Table 14-7 Sample Processor Counters in System Monitor

Chapter 14 Sample Processor Counters in System Monitor (continued)

Chapter 14 System Monitor Opening Display Figure 14-7 System Monitor

Chapter 14 System Monitor Modes n System Monitor offers three tracking modes: u Chart u Histogram u Report

Chapter 14 Using the System Monitor Chart Mode Figure 14-8 System Monitor chart mode

Chapter 14 System Monitor Running Inside Microsoft Word n You can run System Monitor inside Microsoft Word to easily capture and print specific charts and information

Chapter 14 System Monitor Running Inside Microsoft Word (continued) Figure 14-9 Running System Monitor inside Microsoft Word

Chapter 14 Monitoring Page File and Memory Performance n Use the System Monitor Memory and Paging File objects to monitor memory and page file performance

Chapter 14 Setting a Memory Counter in System Monitor Figure Selecting an object and its counter

Chapter 14 Monitoring Paging and Memory in System Monitor Figure Monitoring page file performance

Chapter 14 Using System Monitor Objects and Counters to Monitor Memory and Paging Table 14-8 Using System Monitor Objects and Counters to Monitor Memory and Paging

Chapter 14 Monitoring Memory and Paging (continued)

Chapter 14 Monitoring Memory and Paging (continued)

Chapter 14 Troubleshooting Tip n A page fault can occur in a kernel process when a page location in virtual memory is lost or corrupted. If this happens, Windows 2000 may crash with a Stop message. Try rebooting to determine if the problem recurs. If it does not, then the problem was simply transient. If it does, employ memory diagnostics to look for a defective memory module.

Chapter 14 Interaction Between Software and Memory Use n Monitor the effect of software on memory use, such as looking for leaking memory: u Leaking memory: Failing to return memory for general use after a process is finished using a specific memory block

Chapter 14 Monitoring for an Inefficient Program Figure Using System Monitor to find an inefficient program process

Chapter 14 Using System Monitor Objects and Counters to Monitor Software Use Table 14-9 Using System Monitor Objects and Counters to Monitor Software Use of Memory

Chapter 14 Studying Processor Load n Look at three important components when you monitor processor load: u Percent of time the processor is in use u Length of the queue continuing processes waiting to run u Frequency of hardware interrupt requests

Chapter 14 Troubleshooting Tip n Plan to gather benchmarks on the frequency of hardware interrupts to have comparative data for troubleshooting hardware problems later on

Chapter 14 Using Objects and Counters to Monitor a Processor

Chapter 14 Using Objects and Counters to Monitor a Processor (continued)

Chapter 14 Using Objects and Counters to Monitor a Processor (continued)

Chapter 14 Enabling Disk Monitoring n The Disk Performance Statistics Driver (Diskperf) must be set up to enable disk monitoring n Run Diskperf from the Start button Run option (or from the Command Prompt window) and specify the desired switch, such as Diskperf -y which installs the driver and System Monitor counters for physical and logical drives

Chapter 14 Running Diskperf Figure Running Diskperf

Chapter 14 Using System Monitor Objects and Counters Table Using System Monitor Objects and Counters to Monitor Disk Performance

Chapter 14 Using System Monitor Objects and Counters (continued)

Chapter 14 Using System Monitor Objects and Counters (continued)

Chapter 14 Using System Monitor Objects and Counters (continued)

Chapter 14 Using System Monitor Objects and Counters (continued)

Chapter 14 Monitoring Terminal Services n Use the Terminal Services object in System Monitor to monitor: u Active sessions u Inactive sessions u Total sessions n Use the Terminal Service Session object to monitor selected sessions or all sessions for their affect on the server load

Chapter 14 Setting Terminal Service Objects, Counters, and Instances Figure Monitoring terminal services

Chapter 14 File System Caching n Monitor file system caching so that you can add memory or adjust the memory allocation as needed n File system cache performance is monitored in terms of cache hits and misses: u Cache hit: A situation in which the data needed by an application is found in cache u Cache miss: Occurs when the desired data is not found in cache

Chapter 14 Using System Monitor Objects and Counters to Monitor File System Cache Table 14-2 Using System Monitor Objects and Counters to Monitor File System Cache

Chapter 14 Tuning Cache n Use the Network and Dial-up Connection tool to tune system cache

Chapter 14 Tuning Cache (continued) Figure Tuning file system cache

Chapter 14 Performance Logs and Alerts n Performance log: Tracks system and network performance information in a log that can be viewed later or imported into a spreadsheet, such as Microsoft Excel n Alert: Provides a warning of a specific Windows 2000 Server system or network event — the warning is sent to designated users

Chapter 14 Types of Performance Logs n There are two types of performance logs: u Counter log: Traces information on specific System Monitor objects in selected intervals u Trace log: Traces specified events when they occur

Chapter 14 Counter Log File Formats

Chapter 14 Configuring a Counter Log Figure Configuring a counter log

Chapter 14 Counter Log Configuration Tip n Counter logs can use large amounts of disk space and slow performance, thus set the snapshot intervals relatively high, such as at 15 seconds or higher when you monitor for 4 hours or less

Chapter 14 Trace Log Elements That Can be Monitored Table Trace log elements that can be monitored

Chapter 14 Using Alerts n Use an alert to provide a warning each time a particular event occurs, such as when the CPU is at 100 %

Chapter 14 Monitoring Caution n Run the Task Manger, System Monitor, performance logging, and alert monitoring sparingly because these all can place an extra load on a server

Chapter 14 Chapter Summary n Create a set of benchmarks so that you have comparative information that helps you prevent problems and solve problems after they occur n Monitor server services to make sure that all services are properly configured and started n Use the Task Manager to monitor applications, processes, and performance

Chapter 14 Chapter Summary n The Task Manager also enables you to tune a server by tuning process priority n System Monitor is a versatile tool that can be used to monitor all kinds of objects, counters, and instances n Performance logs use System Monitor capabilities to track information for later reference while alerts give you instant notification about a server condition