2275b_02

Embed Size (px)

Citation preview

  • 7/29/2019 2275b_02

    1/29

    Module 2: Preparing toMonitor Server

    Performance

  • 7/29/2019 2275b_02

    2/29

    Overview

    Introduction to Monitoring Server PerformancePerforming Real-Time and Logged Monitoring

    Configuring and Managing Counter Logs

    Configuring Alerts

  • 7/29/2019 2275b_02

    3/29

    Lesson: Introduction to Monitoring Server Performance

    Why Monitor Performance?

    Multimedia: Creating a Performance Baseline

    Guidelines for Establishing a Baseline

  • 7/29/2019 2275b_02

    4/29

    Why Monitor Performance?

    By monitoring performance, you obtain data that youcan use to:

    Understand your workload and the corresponding effecton your system's resources

    Observe changes and trends in workloads andresource usage so you can plan for future upgrades

    Test configuration changes or other tuning efforts by

    monitoring the results

    Diagnose system problems and identify components orprocesses for optimization

    Analyze performance data to uncover bottlenecks

  • 7/29/2019 2275b_02

    5/29

    Multimedia: Creating a Performance Baseline

    This presentation explains the generalsteps for creating a performance baseline

    A baseline is the level of systemperformance that you decide is acceptable

    http://localhost/var/www/apps/conversion/tmp/scratch_5/Multimedia/2275_2_A_baseline.html
  • 7/29/2019 2275b_02

    6/29

    Guidelines for Establishing a Baseline

    Baseline is data collected over time during varying buttypical types of workloads and user connections

    When determining your baseline, understand the types

    of work being done and the days and times when thework is being done

    Establish a baseline early in deployment, and thenmeasure actual performance against the baselineduring deployment

    Establishing a baseline early helps to quickly identifyand resolve system bottlenecks

  • 7/29/2019 2275b_02

    7/29

    Lesson: Performing Real-Time and Logged Monitoring

    What Is Real-Time and Logged Monitoring?What Is Task Manager?

    What Is the Performance Console?

    How to Perform Real-Time Monitoring

    How to Perform Logged Monitoring

    Why Monitor Servers Remotely

    How to Monitor a Remote Server

  • 7/29/2019 2275b_02

    8/29

    What Is Real-Time and Logged Monitoring?

    Real-Time Monitoring

    Logged Monitoring

    Involves processing and updating data counters assoon as data is received from the operating system

    Establishes the current state of the four subsystems:memory, processor, disk, and network

    Tool used is System Monitor

    Involves collecting and storing data over time for

    analysis laterDetects bottlenecks and determines whether thesystem changes

    Use Performance Logs and Alerts

  • 7/29/2019 2275b_02

    9/29

    What Is Task Manager?

    Displays information about: Programs and processes

    running on your computer

    Status of running programs

    Your computersperformance a dynamic

    overview

    Network status

    Number of users connectedto the computer, what they

    are working on, and allows

    administrators to send a

    message

  • 7/29/2019 2275b_02

    10/29

    What Is the Performance Console?

    The Performance console containsSystem Monitor and PerformanceLogs and Alerts

    With System Monitor:

    You can collect and view real-timedata of a local computer or several

    remote computers

    You can create graphs, histograms, and reports of the

    performance counter data

    Performance Logs and Alerts:

    Provides logging and alert capabilities

    Defines settings for counter logs, trace logs, and alerts

  • 7/29/2019 2275b_02

    11/29

    How to Perform Real-Time Monitoring

    Your instructor will demonstrate how to perform real-time monitoring by using:

    Task Manager

    Performance

  • 7/29/2019 2275b_02

    12/29

    How to Perform Logged Monitoring

    Your instructor will demonstrate how to performlogged monitoring

  • 7/29/2019 2275b_02

    13/29

    Why Monitor Servers Remotely?

    To prevent Task Manager and Performance from adding to

    the load on the server, which can misrepresent thecollected data

    Also, administrators are often responsible for hundredsof servers, which makes it impractical to monitor each

    server individually

  • 7/29/2019 2275b_02

    14/29

    Your instructor will demonstrate how to monitor aremote server

    How to Monitor a Remote Server

    P ti P f i R l Ti d L d

  • 7/29/2019 2275b_02

    15/29

    Practice: Performing Real-Time and LoggedMonitoring

    In this practice, you will perform real-timeand remote monitoring

  • 7/29/2019 2275b_02

    16/29

    Lesson: Configuring and Managing Counter Logs

    What Is a Counter Log?How to Create a Counter Log

    Counter Log File Formats

    How to Set File Parameters for a Counter Log

    Why Schedule Counter Logs?

    How to Schedule a Counter Log

  • 7/29/2019 2275b_02

    17/29

    What Is a Counter Log?

    Each performance object provides performancecounters that represent data about specific aspects of asytem or server

    Counter logs define what data is stored in the log file

  • 7/29/2019 2275b_02

    18/29

    How to Create a Counter Log

    Your instructor will demonstrate how to:

    Create a counter log

    Delete a counter log

    Create a counter log using the Logman command linetool

  • 7/29/2019 2275b_02

    19/29

    Counter Log File Formats

    Log File Format Description When to use

    Text File(Comma delimited)

    Comma-delimited log file (with a .csvextension)

    To export log data into aspreadsheet program

    Text File (Tab

    delimited)

    Tab-delimited log file (with a .tsvextension)

    To export log data into aspreadsheet program

    Binary File Sequential, binary-format log file(with a .blg extension)

    To record data instances thatare intermittent

    Binary Circular File Circular, binary-format log file (with a.blg extension)

    To record data continuously tosame log file

    SQL Database Name of an existing SQL databaseand log set within the databasewhere performance data will be reador written

    To collect performance dataat an enterprise level ratherthan a per-computer basis

  • 7/29/2019 2275b_02

    20/29

    How to Set File Parameters for a Counter Log

    Your instructor will demonstrate how to set fileparameters for a counter log

  • 7/29/2019 2275b_02

    21/29

    Why Schedule Counter Logs?

    Schedule counter logs to:

    Create a performance baseline

    Determine the overall system impact when replication

    occurs between domain controllersDetermine whether a bottleneck occurs when userslog on in the morning or when users connect remotelyin the evening

    Determine whether backup causes a bottleneck when

    it runs in the evening

    Determine whether a bottleneck is causing thenetwork to slow down during certain times of the day

  • 7/29/2019 2275b_02

    22/29

    How to Schedule a Counter Log

    Your instructor will demonstrate how to:

    Define start and stop parameters for a counter log

    Start and stop counter logs manually

    Practice: Configuring and Managing Counter

  • 7/29/2019 2275b_02

    23/29

    Practice: Configuring and Managing CounterLogs

    In this practice, you will configure andmanage a counter log

  • 7/29/2019 2275b_02

    24/29

    Lesson: Configuring Alerts

    What Is an Alert?How to Create an Alert

    How to Configure an Alert

  • 7/29/2019 2275b_02

    25/29

    What Is an Alert?

    Feature that detects when a predefined counter value risesabove or falls below a specified setting

    Specified setting on the counter is called alert threshold

    Set an alert on a counter when:

    Entry is made in application event log Selected counters value exceeds or falls below alert

    threshold

    Message is sent

    Program runs

    Set alerts based on established performance baseline values

    Use alerts to be notified when a counter threshold valueexceeds or falls below a specified value

  • 7/29/2019 2275b_02

    26/29

    How to Create an Alert

    Your instructor will demonstrate how to:

    Create an alert

    Delete an alert

  • 7/29/2019 2275b_02

    27/29

    How to Configure an Alert

    Your instructor will demonstrate how to configure analert

  • 7/29/2019 2275b_02

    28/29

    Practice: Configuring an Alert

    In this practice, you will configure an alert

  • 7/29/2019 2275b_02

    29/29

    Lab A: Preparing to Monitor Server Performance

    In this lab, you will select the appropriatemonitoring technique (such as real-timeand counter log)