SERVER MONITORING PRACTICESReal-time monitoring • Uses tools that display a continuous stream of statistics about what the system is doing right now Logged monitoring • Enables administ
Trang 1MONITORING MICROSOFT WINDOWS
SERVER 2003
Chapter 3
Trang 2CHAPTER OVERVIEW
• Use Event Viewer to monitor system logs.
• Configure Task Manager to display performance
Trang 3SERVER MONITORING PRACTICES
Real-time monitoring
• Uses tools that display a continuous stream of
statistics about what the system is doing right now
Logged monitoring
• Enables administrators to observe trends that
develop over longer periods of time than those
observed in a typical real-time monitoring session
Trang 4BASIC MONITORING SUBSYSTEMS
• Processor
• Disk
• Memory
• Network
Trang 5ESTABLISH A BASELINE
WHAT IS A BASELINE?
WHAT IS THE PURPOSE?
Trang 6USING EVENT VIEWER TO MONITOR ERROR
Trang 7EVENT VIEWER LOGS
Application
• Information about specific programs running on
the computer
System
• Events generated by components such as
services and device drivers
Security
• Security-related events such as failed logons and
attempts to access resources
Trang 8UNDERSTANDING EVENT TYPES
E v e n t T y p e Ic o n D e sc rip tion
Error A significant problem, such as loss of data
or loss of functionality Warning An event that might not be significant but
might indicate a future problem Information An event that describes the successful
operation of an application, driver, or service
Trang 9VIEWING EVENTS
Trang 10EVENT LOG RETENTION SETTINGS
Trang 11USING FILTERS
Trang 12FINDING SPECIFIC EVENTS
Trang 13ACCESSING REMOTE EVENT LOGS
• Allows you to view event logs on another system.
• Select Connect To Another Computer from the
Action menu.
Trang 14ARCHIVING EVENT LOGS
• Might be required in certain environments.
• Reduces space used by log files.
• Save as evt files in order to view in Event Viewer.
• Save as txt or csv (commas separated values)
files to import into other applications.
Trang 15USING TASK MANAGER
• Real-time monitoring tool
• Displays information on:
• Processor and memory performance
• Applications and processes
• Network utilization
• Users connected to the system
Trang 16WORKING WITH APPLICATIONS
Trang 17MONITORING PROCESSES
Trang 18MONITORING PERFORMANCE LEVELS
Trang 19MONITORING NETWORK ACTIVITY
Trang 20MONITORING USERS
Trang 21USING THE PERFORMANCE CONSOLE
System Monitor
• Displays real-time performance data collected
from performance counters
Performance Logs and Alerts
• Records data from performance counters over a
period of time and executes specific actions when counters reach a certain value
Trang 22USING SYSTEM MONITOR
Trang 23MODIFYING THE GRAPH VIEW
Trang 24HISTOGRAM VIEW
Trang 25REPORT VIEW
Trang 26ADDING COUNTERS
Trang 27CREATING AN EFFECTIVE DISPLAY
• Limit the number of counters.
• Modify the counter display properties.
• Choose counters with comparable values.
Trang 28SAVING A SYSTEM MONITOR CONSOLE
• Allows you to access commonly used counters
Trang 29WHAT ARE YOU DRINKING?
Trang 30MONITORING PROCESSOR PERFORMANCE
Processor: % Processor Time
Trang 31MONITORING MEMORY PERFORMANCE
Memory: Page Faults/Sec
• Should be < 5
Memory: Pages/Sec
• Should be < 20
Memory: Available Bytes
• Should not fall below 5 percent of the system’s total
physical memory
Memory: Committed Bytes
• Should always be less than the physical RAM in the
computer
Memory: Pool Non-Paged Bytes
• Should be a stable number that does not grow without a
corresponding growth in server activity
Trang 32MONITORING DISK PERFORMANCE
PhysicalDisk: Disk Bytes/sec
• Should be equivalent to the levels established in the
original baseline readings or higher
PhysicalDisk: Avg Disk Bytes/Transfer
• Should be equivalent to the levels established in the
original baseline readings or higher
PhysicalDisk: Current Disk Queue Length
Trang 33MONITORING NETWORK PERFORMANCE
Network Interface: Bytes Total/sec
• Should be equal to baseline readings or higher
Network Interface: Output Queue Length
• Preferably 0, < 2 acceptable
Server: Bytes Total/sec
• Should be < 50 percent of the total bandwidth
capacity
Trang 34MONITORING SERVER ROLES
• Different server roles place different demands on
Web
Trang 35USING PERFORMANCE LOGS AND ALERTS
Counter logs
• Captures statistics for specific counters to a log
file
Trace logs
• Records information about system applications
when certain events occur
Alerts
• Performs an action when the counter reaches a
specified value
Trang 36CREATING A COUNTER LOG
Trang 37CREATING A TRACE LOG
Trang 38VIEWING A COUNTER LOG
Trang 39CREATING ALERTS
Trang 40CHAPTER SUMMARY
• Event Viewer is an MMC snap-in that displays logs
maintained by the computer
• Task Manager displays real-time performance data for
the computer
• The Performance console consists of two snap-ins:
System Monitor and Performance Logs and Alerts
• System Monitor shows real-time performance data for
system hardware and software components using graph, histogram, and report views
counter information to counter logs and operating system events to trace logs over scheduled periods of time,
enabling you to capture large data samples for later
examination