Paul Jaffray Technical Services Manager Promedica Health System, Inc. Wednesday March 6th, 2002 Session 5823: Working with Windows NT Performance Data.

Slides:



Advertisements
Similar presentations
This course is designed for system managers/administrators to better understand the SAAZ Desktop and Server Management components Students will learn.
Advertisements

ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Module 11 Maintaining Microsoft Exchange Server 2010.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
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-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Chapter 11: Maintaining and Optimizing Windows Vista
Maintaining and Updating Windows Server 2008
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Module 14 Monitoring and Maintaining Windows Server® 2008 Servers.
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.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
MCTS Guide to Microsoft Windows 7
Software Distribution Overview Prepared By: Melvin Brewster Chaofeng Yan Sheng Shan Zhao Khanh Vu.
Chapter 6 Configuring Windows Server 2008 Printing
Local Area Networks (LAN) are small networks, with a short distance for the cables to run, typically a room, a floor, or a building. - LANs are limited.
Conditions and Terms of Use
Chapter Fourteen Windows XP Professional Fault Tolerance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 5: Managing File Access.
© 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.
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
TELE 301 Lecture 10: Scheduled … 1 Overview Last Lecture –Post installation This Lecture –Scheduled tasks and log management Next Lecture –DNS –Readings:
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
Module 11 Maintaining Microsoft® Exchange Server 2010.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
Overview Managing a DHCP Database Monitoring DHCP
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.
Microsoft Management Seminar Series SMS 2003 Change Management.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
1 Chapter Overview What is Microsoft SQL Server 2000? What are the SQL Server 2000 Components? What is the Relational Database Architecture? What is the.
Windows Server 2003 系統效能監視 林寶森
Module 14 Monitoring and Maintaining Windows Server® 2008 Servers.
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.
Maintaining and Updating Windows Server 2008 Lesson 8.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Copyright © 2012, SAS Institute Inc. All rights reserved. SAS ENVIRONMENT MANAGER CARMINE VERRELLI - TECHNICAL TRAINING SPECIALIST.
SQL Database Management
AX Performance Tools Present and Future
Monitoring Windows Server 2012
Query Performance Tuning: Start to Finish
Chapter 2: System Structures
MONITORING MICROSOFT WINDOWS SERVER 2003
Migration Strategies – Business Desktop Deployment (BDD) Overview
SharePoint 2013 Best Practices
Presentation transcript:

Paul Jaffray Technical Services Manager Promedica Health System, Inc. Wednesday March 6th, 2002 Session 5823: Working with Windows NT Performance Data

Abstract “Real world” look at working with NT performance data Application of MVS techniques to NT High level overview of NT performance data Tools used for collection and analysis What data do we look at Discussion – What does everyone else do?

Intro I am not an expert on NT or Performance I took my experience from managing SMF data on MVS and creating various performance reports for the mainframe and applied those processes to NT I am still learning how NT works and what the various counters represent Still developing ROTs for various counters

What Data Is Available? Various Performance Objects –Each object contains related Performance Counters Processor:% Processor Time Processor:Interrupts/Sec Processor:DPC Rate Lots and lots of counters –But how good is the data?

Performance Objects Processor System Memory Network Interface Physical Disk Process Print Queue Server Thread MSExchangeDB MSExchangeDS MSExchangeMTA Lotus.Notes.MTA SQLServer SQLServer:Databases AppleTalk ADSM Client Performance ColdFusion Server

What’s Missing No response time counters –Exchange Delivery times are available –SQL Transactions per Second

How Can I View the Data? Task Manager –Real Time –Local machine only –Provides summary performance data –Not customizable –How to start: Right-click the task bar and select Task Manager Crtl-Alt-Del and select Task Manager

How Can I View the data? Performance Monitor –Real time or historical via logs –Also has alerting facility –Local machine or remote –You can select which objects and counters to view –How to start: Start:Run:PERFMON Start:Programs:Administrative Tools:Performance

So Now What? I wanted a way to consolidate performance data from every server to a single point and combine into a daily file for processing. This file should then be saved where it can be combined into a monthly file. A number of daily files and all monthly files should be archived so they can be retrieved and reported against in the future.

Challenges No SMF facility standard with Windows No IFASMFDP or DFSORT No JCL/TSO/ISPF How to automate How to locate and copy the data How to handle and report errors How to analyze data and create reports

Solution (so far) NTSMF PrimalScript VBScript code Scheduled Tasks Text file with a list of servers with data location SAS MXG

Creating the “SMF” Files On each server NTSMF gets data from standard NT interfaces, builds records and writes them to a “current” file NTSMF Directory Structure –C:\NTSMF\Data\Current Holds active file –C:\NTSMF\Data\Previous Yesterday’s data file(s) –C:\NTSMF\Data\Archive Settable number of days worth of data

Gathering The Data A script, driven by a list of servers to collect from, looks for files on each of those servers where the date in the file name is equal to yesterday’s date and copies those files to a directory on the system the script is running on All files are combined together in a single daily file that is available locally for SAS/MXG processing and is copied to a server for archival and later consolidation

Error Logging Status messages are written to the NT Application Log –Start and Stop times for the script –Servers not found –Data not found Messages are also gathered together and ed to me as the last step in the script

Reporting On the Data Processing can be done with SAS on MVS or Windows MXG provides SAS Macros to process the raw NTSMF data into SAS observations SAS can then be used to summarize and report on the data

Some Gotcha’s Cross domain trusts –Must be in place to copy files from servers in other domains Permissions –File access –Registry updates

Some Gotcha’s A crashed server can dump several K worth of nulls onto the end of a.smf file These nulls cause SAS to stop processing the file If they exist in the daily file they have to found and removed

Some Gotcha’s Disk performance numbers must be turned on by issuing the diskperf command from the command prompt –C:\> diskperf –yv Some network numbers require Network Monitoring Agent to be installed

Some Gotcha’s Memory:Page Faults/Sec –Can be very misleading as it includes Transition faults –Should use Memory:Page Reads/Sec Accurate reflection of demand paging

Some Gotcha’s Microsoft’s Outlook security patch in response to the “ILOVEYOU” virus broke the part of my initial script –New version of script requires the SMTP service to be loaded on the machine that runs the script

Some Gotcha’s Manually have to maintain the Server List file –Can be coordinated with the setting of the NTSMF options that must be set once the collector software has been loaded

What Numbers Do We Look At? Daily – 3 reports –Configuration report Shows all servers we collect data from and their configuration –Disk Numbers Free space shortages and high queuing –System Hourly Summaries Hourly report for each server of key values

What Numbers Do We Look At? Processor:% Processor Time –Looking for busy processors –SQL based applications seem to suffer at 60% –Others? System:Processor Queue Length –Indicates work waiting for CPU Doesn’t seem to work like I would expect

What Numbers Do We Look At? Memory:Available Bytes –Shows physical memory installed but not used by operating system or application –Large number indicates an over-configured server Memory:Page Reads/sec –Actual page faults resulting in a page in from disk –Page Faults/sec counter is misleading –Should be less than 200/sec?

What Numbers Do We Look At? PhysicalDisk:Avg. Disk Queue Length –How backed up is the IO subsystem –Shouldn’t be greater than 3 or 4? PhysicalDisk:Disk Bytes/sec –How much data is being moved –How much is too much depends on the interface

What Numbers Do We Look At? PhysicalDisk:Avg. Disk Sec/Read –Average number of seconds per read –Less than 20ms – good, more – bad PhysicalDisk:Avg. Disk Sec/Write –Same as above except for writes

Discussion Comments Questions What are others doing?

Tools – NTSMF Windows NT/2000 performance data collector Creates “SMF” files containing records of selected performance counters Demand Technology Software

Tools – PrimalScript “The professional scripting environment of choice for developers working in any scripting language” Useful for working with VBScript SAPIEN Technologies Inc.

Tools – SAS Data Access/Management/Analysis/Presentation Tool Allows processing and summerization of raw data SAS Institute Inc.

Tools – MXG “SAS-based software package that processes the "SMF" data records created by computer operating systems” Turns raw data into observations in SAS datasets Merrill Consultants

Some Books Microsoft Windows 2000 Performance Tuning Technical Reference –ISBN Windows 2000 Performance Guide –ISBN Tuning Netfinity Servers for Performance –IBM Redbook / ISBN