SlideShare une entreprise Scribd logo
1  sur  63
Graphical Utilities for IBM DB2 ®  Monitoring Luciano Alfonsin
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1. Data Studio Health Monitor ,[object Object],1.1 Overview Benefits! ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Remember, DSHM does not monitor performance, it monitors the availability and the health status of the database server.
1. Data Studio Health Monitor 1.2 Architecture Browser (IE/Firefox) Repository DB2 LUW ESE Data Studio Health Monitor Console Server Repository Server Monitored Databases TCP/IP HTTP RS API Insert Maintain - Connections - Tablespaces Configuration, Dashboards,  Alerts, Status DSHM Engine IBM Data Studio
1. Data Studio Health Monitor ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1.3 Installation Free  download! System Requirements DSHM Disk Space 300 MB Memory 1 GB Operative System AIX, Linux & Windows. Data Server DB2 v9.1 or later. Web Browser Mozilla Firefox 3.6.x or later. Microsoft Internet Explorer 7 or later.
1. Data Studio Health Monitor ,[object Object],[object Object],[object Object],1.4 Launching Data Studio Health Monitor ,[object Object],The default port of the application is 11080, but it can be set manually during the installation.  http://IP_address:port_number/datatools/console
1. Data Studio Health Monitor 1.5 Setup ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1. Data Studio Health Monitor ,[object Object],1.6 Adding a new Database Connection ,[object Object],[object Object],Add a database to be monitored with just two clicks !!!
1. Data Studio Health Monitor ,[object Object],1.7 Checking Database Connections Quick review and modification of the settings for the database connections!
1. Data Studio Health Monitor ,[object Object],[object Object],1.8 Health Alerts Configuration ,[object Object]
1. Data Studio Health Monitor ,[object Object],[object Object],1.9 Health Summary
1. Data Studio Health Monitor ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1.10 Diagnostic Dashboards
1. Data Studio Health Monitor ,[object Object],1.10 Diagnostic Dashboards
1. Data Studio Health Monitor ,[object Object],1.10 Diagnostic Dashboards
1. Data Studio Health Monitor ,[object Object],1.10 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.1 Overview Benefits! ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Optim Performance Manager helps organizations to identify and resolve database and application performance issues before they impact the business. http://www.redbooks.ibm.com/abstracts/sg247925.html
2. Optim Performance Manager 2.2 Architecture Browser (IE/Firefox) Adobe Flex Performance Expert Client Repository DB2 LUW ESE Optim Performance Manager Console Server Repository Server DB2 LUW  Monitored Databases TCP/IP TCP/IP TCP/IP HTTP RS API Insert Maintain ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Configuration, Dashboards,  Alerts, Health All PE v3.2 level functionality Meta, Snapshot, E2E
2. Optim Performance Manager 2.2 Architecture Browser (IE/Firefox) Adobe Flex OPM Extended Insight Client Repository DB2 LUW ESE Optim Performance Manager Console Server Repository Server DB2 LUW  Monitored Databases DRDA TCP/IP Configuration, Extended Insight dashboard Access Insert Maintain ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],HTTP Meta, Snapshot, E2E OPM Console .Net application  C/C++ application  .Net driver CLI driver OPM EI SAP DataStage Extended Insight Monitor Server Extended Insight Monitor Server Extended Insight controller Metric collectors Metric collectors DRDA OPM Extended Insight Client Java application JCC driver OPM EI OPM Extended Insight Client WAS Cognos SQW TCP/IP ,[object Object],[object Object],[object Object],DRDA
2. Optim Performance Manager ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],2.3 Installation System Requirements OPM Disk Space 2450 MB aprox. Memory 3 GB. Operative System AIX, Solaris, Linux & Windows. Data Server DB2 LUW v 9.1 or later. Application server WebSphere Application Server Version 7.0.0.3 or later.  (Included) Web Browser Mozilla Firefox 3.6.x or later, Microsoft Internet Explorer 7 or later. Plugins Adobe Flash Player  9.0.124 or later
2. Optim Performance Manager ,[object Object],[object Object],[object Object],2.4 Launching IBM Optim Performance Manager ,[object Object],http://IP_address:port_number/optimdatatools/console  https://IP_address:port_number/optimdatatools/console
2. Optim Performance Manager 2.5 Setup ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
2. Optim Performance Manager ,[object Object],2.6 Adding a new Database Connection ,[object Object],[object Object],Add a database to be monitored with just two clicks !!!
2. Optim Performance Manager ,[object Object],2.7 Checking Database Connections Quick review and modification of the settings for the database connections!
2. Optim Performance Manager ,[object Object],[object Object],2.8 Health Alerts Configuration ,[object Object]
2. Optim Performance Manager ,[object Object],[object Object],2.9 Performance Alert Configuration ,[object Object]
2. Optim Performance Manager ,[object Object],2.10 Alert Notification Configuration ,[object Object],[object Object],[object Object],[object Object]
2. Optim Performance Manager ,[object Object],2.11 Creating New Analysis Monitors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
2. Optim Performance Manager ,[object Object],[object Object],[object Object],2.12 Flexible administrative control with monitoring privileges ,[object Object]
2. Optim Performance Manager ,[object Object],2.13 Health Summary   ,[object Object],Automatically sends alerts via email!!!
2. Optim Performance Manager ,[object Object],[object Object],2.14 Diagnostic Dashboards   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager ,[object Object],2.14 Diagnostic Dashboards
2. Optim Performance Manager   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],2.15 Reports   Top n SQL Statements Top n table spaces by growth/size
2. Optim Performance Manager   2.16 DSHM vs. OPM   DSHM OPM License Free Paid Disk Space 300 MB 2450 MB Memory 1 GB 3 GB Operative System AIX, Linux, Windows. AIX, Linux, Solaris, Windows. Data Server DB2 LUW 9.1 or later. DB2 LUW 9.1 or later. Application Server WebSphere Application Server Version 7.0.0.3 or later. Web Browser Mozilla Firefox 3.6.x or later. Microsoft Internet Explorer 7 or later. Mozilla Firefox 3.6.x or later. Microsoft Internet Explorer 7 or later. Plug-in Adobe Flash Player  9.0.124 or later. DSHM OPM Monitors Availability. Availability and Performance. Indicators Server Status, connections, storage and recovery.  Server Status, I/O, connections, storage, memory, logging, workload, sorting, locking, transactions time. Dashboards Alert List, Utilities, Current Application Connections, Current Table Spaces. Overview, Active SQL, Application Connections, Table Spaces, Buffer pool and I/O, Extended Insight, Logging, Locking, Memory, System, Utility, Workload, Alerts. Interactive Reports WLM Configuration Tool Alert Notifications (Email) Manual. Automatic.
2. Optim Performance Manager   Video Demo
3. Workload Manager Configuration Tool ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],3.1 Review on WLM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
3. Workload Manager Configuration Tool ,[object Object],[object Object],[object Object],[object Object],3.2 Overview Concurrency method ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Priority aging method ,[object Object],[object Object],[object Object],[object Object],[object Object]
3. Workload Manager Configuration Tool ,[object Object],[object Object],[object Object],3.3 Configuring OPM for collection of WLM statistics Only 3 steps!!!
3. Workload Manager Configuration Tool ,[object Object],[object Object],[object Object],[object Object],3.4 WLM template setup ,[object Object],[object Object],Easy configuration guided by wizard s When you configure a concurrency solution, you work with the following set of WLM database objects:  Service Superclasses,  Workloads, Service Subclasses and Thresholds.
3. Workload Manager Configuration Tool ,[object Object],3.5 WLM Reports and Graphics Concurrency high water mark and CPU usage graph Concurrency and Time in queue graph for the performance objective service subclass DS_MED_CONC_SUBCLASS activity total time histogram
3. Workload Manager Configuration Tool Video Demo
4. Optim Query Tuner ,[object Object],4.1 Overview Benefits! ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
4. Optim Query Tuner ,[object Object],[object Object],4.2 Installation ,[object Object],[object Object],[object Object],[object Object],Install OQT Server Configuration Kit where DB2 LUW is installed and OQT client in the machine from where you access the databases and set queries. System Requirements Optim Query Tuner Optim Query Tuner Client Processor 2 GHz Pentium IV processor equivalent or better. Disk Space 2 GB  Memory 1 GB (2GB recommended) Operative System Linux, Unix, Windows. Windows. Data Server DB2 LUW v9.1.8 or later.
4. Optim Query Tuner 4.3 Configuring a DB2 database for  query tuning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
5. Activity Monitor ,[object Object],[object Object],[object Object],[object Object],[object Object],5.1 Overview ,[object Object],[object Object],Activity Monitor has been deprecated in DB2 Version 9.7 Start using IBM Data Studio and IBM Optim tools.
5. Activity Monitor ,[object Object],5.2 How to configure reports 1 ,[object Object],2 ,[object Object],3 ,[object Object],4 ,[object Object],5 Interactive Wizards
6. Event Analyzer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.1 Overview ,[object Object],Event Analyzer has been deprecated in DB2 Version 9.7. Start using IBM Data Studio and IBM Optim tools.
7. Health Center ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],7.1 Overview ,[object Object],[object Object],1 2 Health Center has been deprecated in DB2 Version 9.7  Start using IBM Data Studio and IBM Optim tools.
7. Health Center ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],7.2 How to configure health indicators ,[object Object],[object Object],1 2 3
8. Memory Visualizer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],8.1 Overview Real time  memory monitoring! ,[object Object],[object Object],[object Object],Benefits! ,[object Object],Memory Visualizer has been deprecated in DB2 Version 9.7 Start using IBM Data Studio and IBM Optim tools.
9. Indoubt  Transaction Manager ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],9.1 Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Indoubt Transaction Manager has been deprecated in DB2 Version 9.7. Start using IBM Data Studio and IBM Optim tools.
10. Summary ,[object Object],[object Object],[object Object],[object Object],Availability Performance Concurrency Consumption ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],DSHM monitors database availability, number of connected users and free space.  OPM monitors database availability, number of connected users, performance metrics and free space.  Health Center gathers complete information about the health of the system. Activity Monitor provides a set of predefined reports that allows you to focus monitoring on performance, concurrency and resource consumption. Optim Query Tuner cuts cost and improves performance by providing expert advice on writing high quality queries and improving database design. Event analyzer provides a graphical interface to the information or data elements gathered by event monitors (tablespaces, deadlocks, connections, etc) Memory Visualizer helps to to monitor the memory-related performance WLM provides explicit resource control.
11. Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Process management in linux
Process management in linuxProcess management in linux
Process management in linuxMazenetsolution
 
Multiprocessor Architecture (Advanced computer architecture)
Multiprocessor Architecture  (Advanced computer architecture)Multiprocessor Architecture  (Advanced computer architecture)
Multiprocessor Architecture (Advanced computer architecture)vani261
 
Operating Systems: Process Scheduling
Operating Systems: Process SchedulingOperating Systems: Process Scheduling
Operating Systems: Process SchedulingDamian T. Gordon
 
Red hat linux essentials
Red hat linux essentialsRed hat linux essentials
Red hat linux essentialsHaitham Raik
 
Linux process management
Linux process managementLinux process management
Linux process managementRaghu nath
 
Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory managementSyaiful Ahdan
 
Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Gopi Nath
 
OS Memory Management
OS Memory ManagementOS Memory Management
OS Memory Managementanand hd
 
IETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U Translation
IETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U TranslationIETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U Translation
IETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U TranslationKentaro Ebisawa
 
IntelON 2021 Processor Benchmarking
IntelON 2021 Processor BenchmarkingIntelON 2021 Processor Benchmarking
IntelON 2021 Processor BenchmarkingBrendan Gregg
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process ConceptsMukesh Chinta
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedureDhaval Kaneria
 

Tendances (20)

Process management in linux
Process management in linuxProcess management in linux
Process management in linux
 
Interrupts on xv6
Interrupts on xv6Interrupts on xv6
Interrupts on xv6
 
Multiprocessor Architecture (Advanced computer architecture)
Multiprocessor Architecture  (Advanced computer architecture)Multiprocessor Architecture  (Advanced computer architecture)
Multiprocessor Architecture (Advanced computer architecture)
 
Operating Systems: Process Scheduling
Operating Systems: Process SchedulingOperating Systems: Process Scheduling
Operating Systems: Process Scheduling
 
Red hat linux essentials
Red hat linux essentialsRed hat linux essentials
Red hat linux essentials
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory management
 
Chapter 3: Processes
Chapter 3: ProcessesChapter 3: Processes
Chapter 3: Processes
 
Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Typical configuration of computer chapter 1
Typical configuration of computer chapter 1
 
OS Memory Management
OS Memory ManagementOS Memory Management
OS Memory Management
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
IETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U Translation
IETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U TranslationIETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U Translation
IETF 104 Hackathon VPP Prototyping Stateless SRv6/GTP-U Translation
 
IntelON 2021 Processor Benchmarking
IntelON 2021 Processor BenchmarkingIntelON 2021 Processor Benchmarking
IntelON 2021 Processor Benchmarking
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Linux final exam
Linux final examLinux final exam
Linux final exam
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
 
Parallel programming model
Parallel programming modelParallel programming model
Parallel programming model
 
Tso and ispf
Tso and ispfTso and ispf
Tso and ispf
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedure
 

Similaire à Graphical Utilities For IBM DB2 Monitoring

Scom monitor datacenter
Scom   monitor datacenterScom   monitor datacenter
Scom monitor datacenterGary Jackson
 
DBA, LEVEL III TTLM Monitoring and Administering Database.docx
DBA, LEVEL III TTLM Monitoring and Administering Database.docxDBA, LEVEL III TTLM Monitoring and Administering Database.docx
DBA, LEVEL III TTLM Monitoring and Administering Database.docxseifusisay06
 
1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx
1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx
1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docxeugeniadean34240
 
3 App Compat Win7
3 App Compat Win73 App Compat Win7
3 App Compat Win7llangit
 
Exchange manage with scom
Exchange   manage with scomExchange   manage with scom
Exchange manage with scomGary Jackson
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...Leighton Nelson
 
Control panel by
Control panel byControl panel by
Control panel byNoor Fatima
 
Managing SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBAManaging SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBAConcentrated Technology
 
Find it don't waste
Find it   don't wasteFind it   don't waste
Find it don't wasteBhairesh M
 
Chapter 1,2,3 & 4_Win Server AD Basics.pptx
Chapter 1,2,3 & 4_Win Server AD Basics.pptxChapter 1,2,3 & 4_Win Server AD Basics.pptx
Chapter 1,2,3 & 4_Win Server AD Basics.pptxPoornimaGhodke3
 
Desktop Alert Lite 4.0 Presentation
Desktop Alert Lite 4.0 PresentationDesktop Alert Lite 4.0 Presentation
Desktop Alert Lite 4.0 Presentationdesktopalert
 
Nt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative ToolsNt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative ToolsJenny Smith
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infosapdocs. info
 
Monitoring system performance and health of i CEC 2012
Monitoring system performance and health of i CEC 2012Monitoring system performance and health of i CEC 2012
Monitoring system performance and health of i CEC 2012COMMON Europe
 
Billing and Invoice Management System
Billing and Invoice Management SystemBilling and Invoice Management System
Billing and Invoice Management SystemBhairesh M
 

Similaire à Graphical Utilities For IBM DB2 Monitoring (20)

Scom monitor datacenter
Scom   monitor datacenterScom   monitor datacenter
Scom monitor datacenter
 
DBA, LEVEL III TTLM Monitoring and Administering Database.docx
DBA, LEVEL III TTLM Monitoring and Administering Database.docxDBA, LEVEL III TTLM Monitoring and Administering Database.docx
DBA, LEVEL III TTLM Monitoring and Administering Database.docx
 
1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx
1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx
1RUNNING HEAD MANAGING HOST BASED SECURITY IN WINDOWS 8.1La.docx
 
3 App Compat Win7
3 App Compat Win73 App Compat Win7
3 App Compat Win7
 
Exchange manage with scom
Exchange   manage with scomExchange   manage with scom
Exchange manage with scom
 
John
JohnJohn
John
 
IUG ATL PC 9.5
IUG ATL PC 9.5IUG ATL PC 9.5
IUG ATL PC 9.5
 
Bfc Presentation
Bfc PresentationBfc Presentation
Bfc Presentation
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
 
Control panel by
Control panel byControl panel by
Control panel by
 
Managing SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBAManaging SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBA
 
Find it don't waste
Find it   don't wasteFind it   don't waste
Find it don't waste
 
Computer software and computer network
Computer software and computer networkComputer software and computer network
Computer software and computer network
 
Chapter 1,2,3 & 4_Win Server AD Basics.pptx
Chapter 1,2,3 & 4_Win Server AD Basics.pptxChapter 1,2,3 & 4_Win Server AD Basics.pptx
Chapter 1,2,3 & 4_Win Server AD Basics.pptx
 
Desktop Alert Lite 4.0 Presentation
Desktop Alert Lite 4.0 PresentationDesktop Alert Lite 4.0 Presentation
Desktop Alert Lite 4.0 Presentation
 
Vistapresentation2
Vistapresentation2Vistapresentation2
Vistapresentation2
 
Nt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative ToolsNt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative Tools
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.info
 
Monitoring system performance and health of i CEC 2012
Monitoring system performance and health of i CEC 2012Monitoring system performance and health of i CEC 2012
Monitoring system performance and health of i CEC 2012
 
Billing and Invoice Management System
Billing and Invoice Management SystemBilling and Invoice Management System
Billing and Invoice Management System
 

Graphical Utilities For IBM DB2 Monitoring

  • 1. Graphical Utilities for IBM DB2 ® Monitoring Luciano Alfonsin
  • 2.
  • 3.
  • 4. 1. Data Studio Health Monitor 1.2 Architecture Browser (IE/Firefox) Repository DB2 LUW ESE Data Studio Health Monitor Console Server Repository Server Monitored Databases TCP/IP HTTP RS API Insert Maintain - Connections - Tablespaces Configuration, Dashboards, Alerts, Status DSHM Engine IBM Data Studio
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44. 2. Optim Performance Manager 2.16 DSHM vs. OPM DSHM OPM License Free Paid Disk Space 300 MB 2450 MB Memory 1 GB 3 GB Operative System AIX, Linux, Windows. AIX, Linux, Solaris, Windows. Data Server DB2 LUW 9.1 or later. DB2 LUW 9.1 or later. Application Server WebSphere Application Server Version 7.0.0.3 or later. Web Browser Mozilla Firefox 3.6.x or later. Microsoft Internet Explorer 7 or later. Mozilla Firefox 3.6.x or later. Microsoft Internet Explorer 7 or later. Plug-in Adobe Flash Player 9.0.124 or later. DSHM OPM Monitors Availability. Availability and Performance. Indicators Server Status, connections, storage and recovery. Server Status, I/O, connections, storage, memory, logging, workload, sorting, locking, transactions time. Dashboards Alert List, Utilities, Current Application Connections, Current Table Spaces. Overview, Active SQL, Application Connections, Table Spaces, Buffer pool and I/O, Extended Insight, Logging, Locking, Memory, System, Utility, Workload, Alerts. Interactive Reports WLM Configuration Tool Alert Notifications (Email) Manual. Automatic.
  • 45. 2. Optim Performance Manager Video Demo
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51. 3. Workload Manager Configuration Tool Video Demo
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.

Notes de l'éditeur

  1. Notes: Detailed benefits of DHSM: -Connect to and monitor multiple databases across different platforms from a single console. -Visualize warnings and problem areas instantly. -Configure alert thresholds for health indicators, such as data server status and storage space utilization. -Examine the details when problems occur with key health indicators. -Filter the display of alerts by time period, database, or alert type. -Collect and retain alert history for up to seven days. -Display alert statistics by time period, database, or alert type. -View information about database health-related characteristics, such as applications, utilities, and storage. -Track information such as rows read and idle time for currently connected applications. -Verify that applications can access the database. -Force applications to enhance system performance. -View information such as state, total size, and current utilization for the table spaces of your databases. -View the status of utilities such as RUNSTATS or BACKUP that are currently operating on the database. -View the most recent system log entries, or specify a number of log entries to show for a point in time. -Get notified by email or SNMP when alerts occur for your databases. -Configure the notifications by alert type, severity, and database. -Select and configure a repository database that contains a list of your database connections and the alert-related user privileges for these databases. -Configure web console and alert setting privileges across your databases at a user or group level. -Open Data Studio Health Monitor within the Data Studio or Optim Database Administrator client as an embedded web console or in a stand-alone web browser. -Use Data Studio Health Monitor in single-user mode to test the product in a controlled environment, or in multi-user mode to use monitoring features across your production servers.
  2. Notes: DHSM Architecture components (Based on Optim Performance Manager): -Repository Server: Establishes connection to monitored DB2 database and mainly uses database snapshot commands or DB2 event monitors to collect database availability data. Stores this collected data in its repository database. -Console Server: Runs as an application in DHSM Engine environment and connects to DHSM repository database. Also allows DHSM users to use a web interface to retrieve this data and configure the monitoring behavior of DHSM. -Repository database: DB2 Enterprise V9.5 database that is included in the OPM product packaging. Stores database performance data collected by the repository server from the monitored DB2 databases and database application data collected by DHSM.
  3. Notes: Installation directory: -Linux and UNIX Administrative user: /opt/IBM/DSHM Non-administrative user: $HOME /DSHM -Windows: Administrative user: C:\\Program Files\\IBM\\DSHM Non-administrative user: %USERPROFILE% \\IBM\\DSHM To upgrade an existing version of Data Studio Health Monitor select the installation directory of the earlier product in the installer. Installation Logs: - Linux and UNIX: DSHM_installation_dir /logs/DSHMinstall_summary_ timestamp .log DSHM_installation_dir /logs/DSHMinstall_details_ timestamp .log - Windows: DSHM_installation_dir \\logs\\DSHMinstall_summary_ timestamp .log DSHM_installation_dir \\logs\\DSHMinstall_details_ timestamp .log
  4. Notes: - The default port number 11080 but it is also possible to use any unoccupied port in the range of 1024 to 65534 . - The currently configured port number is retained when DSHM is upgraded from an earlier version.
  5. Notes: Look at slide 19 for further information about the description of types of privileges.
  6. Notes: Alert Configuration (Extended procedure): -In the Task Manager of the web console, under Configuration, select Health Alerts Configuration. -Select a database for which to view and edit the configurable alert parameters. -Enable or disable database health monitoring for the database. To display alert information for the database in the Health Summary and Alert List, database health monitoring must be enabled. Enable health monitoring by selecting the Monitor database health check box. -Set the refresh rate for the database. The refresh rate controls how often the database is checked for conditions that might trigger alerts. -Configure alerts for the database. Select an alert type and click Edit. If prompted, sign in as a user with the ability to manage alerts on the database. Enable or disable the alert for the database, and configure the critical and warning thresholds for the alert type.
  7. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  8. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  9. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  10. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  11. Notes: Optim Performance Manager (OPM), formerly known as DB2 Performance Expert, helps organizations to resolve database and database application problems before they impact the business . OPM supports monitoring of DB2 for Linux, UNIX, and Windows V9 databases, including single partition, multi-partition, and pureScale databases. Significant new capability has also been added to a new product offering known as Optim Performance Manager Extended Edition. This new offering includes the base Optim Performance Manager capabilities augmented with the Extended Insight capabilities for end-to-end database monitoring, integration with Tivoli enterprise monitoring solutions, and support for configuring the DB2 Workload Manager capabilities. Capabilities of Optim Performance Manager: -Guided analysis using new web-based health summary and diagnostic drilldowns -Trend analysis using interactive reporting -Rapid deployment for rapid return -Flexible administrative control with monitoring privileges -Enhanced integration to enable end-to-end diagnosis and tuning -Problem prevention using proactive workload monitoring. -Extended insights into more application environments (only in Extended Edition) -Integration with Tivoli enterprise monitoring (only in Extended Edition)
  12. Notes: Key components of Optim Performance Manager are as follows: -Repository Server: Establishes connection to monitored DB2 database and mainly uses database snapshot commands and DB2 event monitors to collect database performance data. Stores this collected data in its repository database. -Console Server: Runs as an application in WebSphere Application Server environment and connects to Optim Performance Manager repository database. Also allows Optim Performance Manager users to use a web interface to retrieve this data and configure the monitoring behavior of Optim Performance Manager. - Repository database: DB2 Enterprise V9.5 database that is included in the OPM product packaging. Stores database performance data collected by the repository server from the monitored DB2 databases and database application data collected by OPM Extended Insight client. IBM® recommends that you install Optim Performance Manager on computers that are separate from your production database server and database client computers.
  13. Notes: Optim Performance Manager Extended Insight consists of following components: -Optim Performance Manager Extended Insight client: Collocated with the database application. The Extended Insight client hooks into JDBC or CLI drivers, intercepts database traffic for the monitored DB2 database and collects response time data about transactions and SQL statements. This data is then periodically forwarded to the Extended Insight monitoring server, which stores it in the repository database. -Optim Performance Manager Extended Insight controller: Embedded in the repository server of the Optim Performance Manager. The Extended Insight controller is a global controller that listens on a port for Extended Insight clients accessing the controller. It also knows about all available Extended Insight monitoring servers. When an application that you monitor with Extended Insight client starts and connects to the monitored database, the Extended Insight client accesses the controller and asks for the Extended Insight monitor server port which is listening for the Extended Insight data from the monitored database. From that point on, the Extended Insight client sends the collected data to the Extended Insight monitor server for the monitored database over the communicated monitor server port. You specify the port number of the controller when you activate ExtendedInsight on Optim Performance Manager and when you configure Extended Insight clients. On both systems the port number is saved in the pdq.properties file. -Optim Performance Manager Extended Insight monitoring server: Embedded in the repository server of the Optim Performance Manager. There is one Extended Insight monitoring server available per monitored database for which Extended Insight monitoring is configured. Each monitoring server is listening on a dedicated port for response time data about transactions and SQL statements from Extended Insight clients. Extended Insight clients first access the Extended Insight controller to obtain the port number of the responsible Extended Insight monitoring server. After that Extended Insight clients send the collected response time data periodically to the Extended Insight monitoring server which receives the data and stores the data in the repository database. By default the port number of each Extended Insight monitoring server is determined dynamically. If you prefer fixed port numbers, you can specify them when you configure Extended Insight monitoring from Optim Performance Manager web console. -Optim Performance Manager Extended Insight metric collectors: Embedded in the repository server of the Optim Performance Manager. There is one set of metric collectors available per monitored database for which Extended Insight monitoring is configured. The metric collectors collect additional information about the transactions and SQL statements directly from the monitored database, combine the collected data with the data which Extended Insight monitoring server receives from Extended Insight clients and store the data in the repository database. The metric collectors start unit of work or package cache event monitors (DB2 9.7 or above) or use the dynamic SQL snapshots (DB2 9.5 or lower) to collect additional information about the transactions and SQL statements. The additional information consists of time distributions for transaction and SQL statement executions on the database and complete statement text. By combining this data with data received from Extended Insight client you get an end-to-end response time distribution of transactions and SQL statements. Further information at: OPM: http://publib.boulder.ibm.com/infocenter/idm/v2r2/topic/com.ibm.datatools.perfmgmt.installconfig.doc/pm_topology.html OPM EI: http://publib.boulder.ibm.com/infocenter/idm/v2r2/topic/com.ibm.datatools.perfmgmt.installconfig.doc/opmei_basic_architecture.html IBM® recommends that you install Optim Performance Manager on computers that are separate from your production database server and database client computers.
  14. Installation directory: -Linux and UNIX Administrative user: /opt/IBM/OPM Non-administrative user: $HOME /OPM -Windows: Administrative user: C:\\Program Files\\IBM\\OPM Non-administrative user: %USERPROFILE% \\IBM\\OPM Installation Logs: -AIX: /var/adm/sw -linux: /var/log -Solaris: In the home directory of the root user -Windows: %USERPROFILE% (For example: C:\\Documents and Settings\\Administrator) If after installation Optim Performance Manager is not running, do this: 1) Start WebSphere Application Server: -Linux and UNIX: From the OPM_installation_dir /bin directory, run the command WASstart.sh -Windows: From the OPM_installation_dir \\bin directory, run the command WASstart.bat 2)Start Optim Performance Manager: -Linux and UNIX: From the OPM_installation_dir /RepositoryServer/bin directory, run the command ./pestart -Windows: From the Start menu, click All Programs > IBM Optim > IBM Optim Performance Manager - DB2_instance_name > Start the Repository Server. 3) Luch the OPM Web Console
  15. Notes: Look at slide 19 for further information about the description of types of privileges.
  16. Notes: Health Summary: A new web-based user interface makes it easier to get performance information by removing reliance on a workstation client. A health summary view provides instant visual indicators of the health of all monitored databases based on key performance indicators. The health summary view also provides visual alerts for problematic areas, such as I/O, memory, logging, workload, sorting, and locking. From any alert, you can display more details about the alert and then drill down to detailed diagnostic dashboards for each of these areas. These dashboards provide important performance metrics and running SQL statements for immediate problem detection. Alert Configuration (Extended procedure): -In the Task Manager of the web console, under Configuration, select Health Alerts Configuration. -Select a database for which to view and edit the configurable alert parameters. -Enable or disable database health monitoring for the database. To display alert information for the database in the Health Summary and Alert List, database health monitoring must be enabled. Enable health monitoring by selecting the Monitor database health check box. -Set the refresh rate for the database. The refresh rate controls how often the database is checked for conditions that might trigger alerts. -Configure alerts for the database. Select an alert type and click Edit. If prompted, sign in as a user with the ability to manage alerts on the database. Enable or disable the alert for the database, and configure the critical and warning thresholds for the alert type.
  17. Notes: Dashboards: -Active SQL: Identifies and analyzes long-running queries in a certain time frame. You can stop a query. If Optim Query Tuner is installed, you can launch it in context to do more tuning. -Buffer pool and I/OChecks and tunes database I/O on the buffer pool, table space, and table level. -Extended Insight: Checks transaction response times of your database applications and determines where and why the response time was spent. If Optim Query Tuner is installed, you can launch it in context to do further tuning. -Logging: Checks and tunes log performance.LockingIdentifies and analyzes deadlocks, timeouts, and locking conflicts. If Optim Query Tuner is installed, you can launch it in context to do further tuning. -Memory: Checks the DB2 instance and database memory consumption. Determines whether memory should be increased or decreased. -System: Checks system resources. If you have Optim Performance Manager Extended Edition, you could launch into Tivoli Monitoring (if installed) to get more detailed information about system resources. -Utility: Plans execution of utilities and identifies failures. -Workload: Gives an overview of workload utilization.
  18. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  19. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  20. Notes: Dashboards: Current Application Connections: Shows all connections to the database. Current Table Spaces: Shows the current table spaces on screen and the d isk space consumption for each one of them.
  21. Notes: Available reports: -Top n SQL statement: The Dynamic SQL Statement Detail report shows an analysis of a specific SQL statement. The report includes detailed information, such as the complete statement text, general statement relation information, response time analysis, sort performance, I/O activity, and buffer pool activity. You can use the resource usage information to identify problems with insufficient system resources or you can run Optim Query Tuner to analyze problems with the access plan or to evaluate inadequate optimizer statistics. -Connected applications: The Database Connection Detail report shows information about the selected connection, such as complete identification details, timing information, SQL activity, locks, cache, buffer pool, sorts, and agent-related activity. – Database and database manager configurations: The Database Manager Configuration report shows an overview of the current database manager configuration and which parameters have been changed in a given time frame to help you determine whether a problem might have been caused by configuration changes. The Database Manager Configuration report contains details about system management, system monitoring parameters, instance administration, capacity management, and communications. -Disk space consumption for table spaces, including growth rate: The Disk Space Consumption Detail report shows details about table space configuration, container details, ranges, table space layout, and active tables under a specific table space. The report includes information for the table space, such as general information about the table space, size of the table space, storage information, and the variation in size of the table space over time. In a DPF environment, the Disk Space Consumption Detail report shows the disk space for each partition so that you can check for potential data skew problems.
  22. Notes: Play the video call ed OPM_Demo.mp4.
  23. Notes: Workload Manager Review: A key capability to managing workload prioritization and resource utilization in DB2 for Linux, UNIX, and Windows is the DB2 workload manager (WLM). Available as part of the DB2 Advanced Enterprise Server Edition, DB2 workload manager helps automatically manage workloads according to your priorities. This helps to manage resource utilization, especially in those cases where there are widely varying workloads. An obvious benefit of using DB2 workload manager is to prevent problems caused by low-priority work or rogue queries consuming system resources such that higher-priority work cannot get the resources needed to meet service level agreements. The tooling solution for configuring DB2 workload manager is part of Optim Performance Manager, which is also included in the DB2 Advanced Enterprise Server Edition. Service superclasses enable you to take a first cut at dividing resources at a higher level than that represented by workloads or users. You can also see information you need in context while making configuration decisions.
  24. Notes: Workload Manager Review: A key capability to managing workload prioritization and resource utilization in DB2 for Linux, UNIX, and Windows is the DB2 workload manager (WLM). Available as part of the DB2 Advanced Enterprise Server Edition, DB2 workload manager helps automatically manage workloads according to your priorities. This helps to manage resource utilization, especially in those cases where there are widely varying workloads. An obvious benefit of using DB2 workload manager is to prevent problems caused by low-priority work or rogue queries consuming system resources such that higher-priority work cannot get the resources needed to meet service level agreements. The tooling solution for configuring DB2 workload manager is part of Optim Performance Manager, which is also included in the DB2 Advanced Enterprise Server Edition. Service superclasses enable you to take a first cut at dividing resources at a higher level than that represented by workloads or users. You can also see information you need in context while making configuration decisions.
  25. Notes: These graphics are just examples of what can be done graphically from WLM Configuration Tool inside OPM. The graphics and the analyzed variables could be different according to the configuration of WLM.
  26. Notes: Play the video call ed WLM_Demo.mp4.
  27. Notes: IBM Optim Query Tuner cut costs and improve performance by advising developers on writing high-quality queries during development. Also provides a facility for identifying and tuning poorly performing queries that have been deployed into production. With the query tuner client you can: View formatted query text. View and compare access plan graphs. Get statistics recommedations. Generate query reports. Capture query environments With Optim Query Tuner for DB2 for LUW: View queries with statistics annotations Get index recommendations. Get query writing recommendations. Get access path recommendations.
  28. Notes: It is important to remember this: 1 - You need first to install the OQT Server Configuration Kit (license) on the database server. 2 - Then you can install and configure the OQT client. If no license is installed on the server, OQT will show a message saying that we can not proceed with the optimization.
  29. Notes: Events information available on Event Analyzer: -Database: Statistics on database operation, tables, and table spaces. -Buffer pools: Statistics on operations that use buffer pools. -Tables: Overflows, access information, and rows written and read. -Table spaces: Details on buffer pool usage. -Deadlocks: Information on resources and applications involved. -Connections: Sorts and SQL statement counts. -Transactions: Rows written and read, CPU times, and start and stop times. -Statements: Statement identification information and statistics on statement operations. You can view and analyze event information after the event monitor has stopped and written its collected data elements to its target tables.
  30. Notes: Health Monitor: It is a good practice to run the DB2 health monitor which is a DB2 tool which monitors the health of an instance and active databases. The health monitor also has the capability to alert a database administrator (DBA) of potential system health issues. The health monitor proactively detects issues that might lead to hardware failures, or to unacceptable system performance or capability. The proactive nature of the health monitor enables users to address an issue before it becomes a problem that affects system performance. The health monitor checks the state of your system using health indicators to determine if an alert should be issued. Preconfigured actions can be taken in response to alerts. The health monitor can also log alerts in the administration management-by-exception model to free up valuable DBA resources by generating alerts to potential system health issues without requiring active monitoring. The health monitor gathers information about the health of the system using interfaces that do not impose a performance penalty. It does not turn on any snapshot monitor switches to collect information. To get to DB2's Health Center on Windows, go to Start > All Programs > IBM DB2 > Monitoring Tools > Health Center . To get to DB2's Health Center on UNIX, log on as the DB2 user, like db2inst1, and run this command: db2cc . Before running the command, make sure you source the profile: . / home/<instance_owner>/sqllib/db2profile.
  31. Notes: Memory Visualizer: The Memory Visualizer is a DB2 tool that helps database administrators to monitor the memory-related performance of an instance and all of its databases organized in a hierarchical tree. With this application you can: -View or hide data in various columns on the memory utilization of selected components for a DB2 instance and its databases. -Change settings for individual memory components by updating configuration parameters. -Load performance data from a file into a Memory Visualizer window. -Save the performance data