60
Grid Control System Monitoring Plug-Ins Monitoring von Fremdsystemen mit Grid Control Thomas Niewel Oracle Deutschland GmbH

2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Grid Control System Monitoring Plug-InsMonitoring von Fremdsystemen mit Grid Control

Thomas Niewel

Oracle Deutschland GmbH

Page 2: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überblick

Agenda

System Monitoring Plug-In for IBM Websphere MQ

System Monitoring Plug-In for IBM DB2 Database

Weitere Funktionalitäten der System Monitoring Plug-Ins

Page 3: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Grid Control Komponenten

Oracle Management Services

Servers Storage Network Software

Database AS OCS E-Biz

Enterprise ConfigManagement

Application Perf Management

Precision System Monitoring Administration

Infrastructure (Jobs, Alerts, and so on)

Oracle Management Repository

Portals

Mobile device

HTML Console

Firewall

Manage from Anywhere

HTTP/S

HTTP/S

HTTP/S

Targets

HTTP/S

JDBC

E-Biz

AS

DB

Host

…….

Agent

E-Biz

AS

DB

Host

…….

Agent

E-Biz

AS

DB

DB2

MQ

Agent

Page 4: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Oracle built Plug-Ins

Database Storage Middleware Network Host

IBM DB2 Database

Plug-In

NetApp Filer Plug-In BEA WebLogic Plug-In Check Point Firewall

Plug-In

Dell PowerEdge Server

Integration

Microsoft SQL Server

Plug-In

EMC Celerra Plug-In IBM WebSphere

Application Server

Plug-In

Juniper Netscreen

Firewall Plug-In

VMware ESX Server

Plug-In

Sybase Adaptive Server

Enterprise Plug-In

EMC Symmetrix DMX

System Plug-In

Microsoft Active

Directory Plug-In

F5 BIG-IP Local Traffic

Manager Plug-In

TimesTen In-Memory

Database Plug-In

EMC CLARiiON

System Plug-In

Microsoft BizTalk

Server Plug-In

Microsoft Commerce

Server Plug-In

Microsoft Internet

Information Services

(IIS) Plug-In

Microsoft Internet

Security and

Acceleration (ISA)

Server Plug-In

Microsoft .NET

Framework Plug-In

IBM WebSphere MQ

Plug-In

JBoss Application

Server Plug-In

Microsoft Exchange

Server Plug-In

Apache Tomcat Plug-In

Grid Control Plug-Ins

Page 5: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Partner Built Plug-Ins Connectors

Nortel Alteon

Application Switch

Plug-In

Egenera pServer Plug-

In

BMC Remedy Help

Desk Connector

Microsoft Operations

Manager Connector

Citrix Presentation

Server Plug-In

BEZ BEZProphet Plug-

In

Peoplesoft Enterprise

HelpDesk Connector

Blue Lane PatchPoint

Manager Plug-In

Nimsoft NimBUS SAP

Plug-In

Siebel HelpDesk

Connector

Onaro SANScreen

Plug-In

Veritas Cluster Server

and Storage Foundation

Plug-In

HP ServiceCenter

Connector

Pillar Data Systems

Axiom Plug-In

MySQL Plug-In HP Service Manager

Connector

Grid Control Plug-Ins

Page 6: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überblick

Agenda

System Monitoring Plug-In for IBM Websphere MQ

System Monitoring Plug-In for IBM DB2 Database

Weitere Funktionalitäten der System Monitoring Plug-Ins

Page 7: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Page 8: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Vorraussetzungen

• SYSMON authority

• Enable des DB2 Health Monitor( Optional –notwendig, wenn Health Monitor Metriken genutztwerden sollen)

• Execute des Package GET_DBSIZE_INFO

• Enable des Parameters DFT_MON_STMT (WennStatement Performance Reports genutzt werde sollen)

System Monitoring Plug-In for IBM DB2 Database

Page 9: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Installation

• Installation des Grid Control Agent

• Installation des DB2 JDBC drivers

• Deploy des DB2 System Monitoring Plug-In

• Setup Agent – Add IBM Database DB2

• Vervollständigung der JDBC-Connect Informationen

System Monitoring Plug-In for IBM DB2 Database

Page 10: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Installation

Metriken

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Corrective Actions

Reports

Page 11: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Out-of-Box Monitoring

• Out-of-Box Monitoring Funktionalitäten

• Vordefinierte DB2 Metriken• DB2 DB2 Performance Daten• DB2 Health Indikatoren

• Real-Time Performance-Charts

• Überwachung des db2diag.log

• Historie

Page 12: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Grid Control – DB2 System Monitoring Plug-In

Page 13: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Metriken mit Schwellwerten

Page 14: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Page 15: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Definition des „Collection Schedule“

Page 16: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Definition einer „Corrective Action“

Page 17: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Definition einer „Corrective Action“

Page 18: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Inhalt des Scripts Inhalt des Scripts Inhalt des Scripts Inhalt des Scripts „tn1.tn1.tn1.tn1.cmdcmdcmdcmd“

Beispiel:Beispiel:Beispiel:Beispiel:connectconnectconnectconnect totototo samplesamplesamplesamplealteralteralteralter tablespace tniewel autoresizetablespace tniewel autoresizetablespace tniewel autoresizetablespace tniewel autoresize YESYESYESYESalteralteralteralter tablespace tniewel maxsizetablespace tniewel maxsizetablespace tniewel maxsizetablespace tniewel maxsize 15m15m15m15mquitquitquitquit

Definition einer „Corrective Action“

Page 19: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

select SNAPSHOT_TIMESTAMP ,

substr(TABLESPACE_NAME,1,10), HI_ID,

HI_alert_state_detail

FROM TABLE(HEALTH_TBS_HI('',-1)) AS t

oder

SELECT * FROM

TABLE(HEALTH_DB_HIC('',-1)) AS T

„Correctice Actions“ können in DB2 Stored Proceduresausgeführt werden

Step 1: Ermitteln von DB2 Objekten mit kritischemStatus innerhalb einer DB2 Stored Procedure:

Beispiel:Definition einer „Corrective Action“

Page 20: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

set cmd='alter tablespace tniewel

autoresize yes';

execute immediate cmd;

set cmd1='runstats on table

tniewel.emp';

call SYSPROC.ADMIN_CMD (cmd1);

Ausführung einer „Corrective Action“in einer DB2 Stored Procedure

Beispiel:Definition einer „Corrective Action“

Page 21: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Beispiel: Alert mit „Corrective Action“

Page 22: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Beispiel: Alert mit „Corrective Action“

Page 23: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Beispiel: Alert mit „Corrective Action“

Page 24: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Beispiel: Alert mit „Corrective Action“

Page 25: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Beispiel: Alert mit „Corrective Action“

Page 26: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Page 27: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überwachung des db2diag.log

Page 28: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überwachung des db2diag.log

Page 29: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überwachung des db2diag.log

• DIAGPATH muss gesetzt sein

• $ORACLE_BASE/agent/agent10g/sysman/admin/scripts/emx/ibm_db2_database

•Diag_log_file_match_pattern_file.txt

Example:

#add your match patterns here

Failed to connect to database

•Diag_log_file_no_match_pattern_file.txt

Example:

#add your ignoree patterns here

sqldEscalateLocks

Page 30: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überwachung des db2diag.log

Page 31: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überwachung des db2diag.log

Page 32: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Page 33: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Reports

• Vordefinierte Reports für “DB2 Targets”

• Benutzerdefinierte Reports

• DB2-Metriken mit Historien

Page 34: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Vordefinierte Reports

Page 35: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Vordefinierte Reports

Page 36: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Vordefinierte Reports

Page 37: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Metriken

Page 38: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

MetrikenBeispiel einer Trend Analyse

Page 39: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Database Wartung mit Hilfe vonBenutzerdefinierten Jobs

Page 40: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Database Wartung mit Hilfe vonBenutzerdefinierten Jobs

Page 41: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Database Wartung mit Hilfe vonBenutzerdefinierten Jobs

Page 42: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überblick

Agenda

System Monitoring Plug-In for IBM Websphere MQ

System Monitoring Plug-In for IBM DB2 Database

Weitere Funktionalitäten der System Monitoring Plug-Ins

Page 43: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Grid Control – Websphere MQ System Monitoring Plug-In

Installation• Vorraussetzung: IBM Support Pack ms0b

• MQSeries PCF classesThe MQSeries Programmable Command Formats (PCF) facility

provides the capability to monitor and administer MQSeries queue

managers by sending messages to the queue manager's command

queue.

• Installation des Grid Control Agent

• Hinzufügen des IBM WebSphere MQ Targets

Page 44: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Konfiguration

Page 45: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In

Page 46: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In - Metriken

Page 47: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In – Metriken

Page 48: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In - Alerts

Page 49: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In - Alerts

Page 50: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In - Reports

Page 51: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Websphere MQ System Monitoring Plug-In - Reports

Page 52: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Grid Control – Websphere MQ System Monitoring Plug-In

Weiteres

• Automatische Fehlerbehebung bzw. Administrationkann in Scripts ausgeführt werden (z.B. durch Aufrufvon runmqsc)

• Überwachung von AMQERR01.LOG• Kann durch die Grid Control Host Funktionalität

implementiert werden

Page 53: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Überblick

Agenda

System Monitoring Plug-In for IBM Websphere MQ

System Monitoring Plug-In for IBM DB2 Database

Weitere Funktionalitäten der System Monitoring Plug-Ins

Page 54: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Blackouts

Oracle Management Services

Servers Storage Network Software

Database AS OCS eBiz

Enterprise configmanagement

Application pref management

Precision system monitoring Administration

Infrastructure (Jobs, Alerts, and so on.)

Oracle Management Repository

Portals

Mobile device

HTML console

Firewall

Manage from anywhere

HTTP/S

HTTP/S

HTTP/S

Targets

HTTP/S

JDBC

EBiz

AS

DB

Host

…….

Agent

EBiz

AS

DB

Host

…….

Agent

eBiz

AS

DB

Host

…….

Agent

Blackout

Page 55: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Gruppen

Oracle ProduktionHost

Gruppen

DB2 Produktion

Websphere MQ Test

Page 56: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Templates

• Erlauben die Festlegung von dedizierten Schwellwerten für Objekte, die mit Grid Controladministriert/überwacht werden

• Templates können für Plug-Ins definiert werden

Page 57: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

Grid Control Managements Connectors

• Erlauben die Integration von Helpdesk Sytemen

• HP ServiceCenter Connector• HP Service Manager Connector• Microsoft Operations Manager• Remedy Help Desk• Remedy Service Desk• Siebel Help Desk• HP OpenView Operations Connector• ...

Page 58: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen

<Insert Picture Here>

Fragen & Antworten

Page 59: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen
Page 60: 2008-K-DB-Niewel-Grid Control Monitoring Fremdsystemen