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

Preview:

Citation preview

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

Thomas Niewel

Oracle Deutschland GmbH

Ü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

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

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

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

Ü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

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

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

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

Installation

Metriken

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Corrective Actions

Reports

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

Grid Control – DB2 System Monitoring Plug-In

Metriken mit Schwellwerten

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Definition des „Collection Schedule“

Definition einer „Corrective Action“

Definition einer „Corrective Action“

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“

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“

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“

Beispiel: Alert mit „Corrective Action“

Beispiel: Alert mit „Corrective Action“

Beispiel: Alert mit „Corrective Action“

Beispiel: Alert mit „Corrective Action“

Beispiel: Alert mit „Corrective Action“

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Überwachung des db2diag.log

Überwachung des db2diag.log

Ü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

Überwachung des db2diag.log

Überwachung des db2diag.log

Installation

Monitoring

System Monitoring Plug-In for IBM DB2 Database

Überwachung des db2diag.log

Reports

Automatische Fehlerbehebung (Corrective Actions)

Reports

• Vordefinierte Reports für “DB2 Targets”

• Benutzerdefinierte Reports

• DB2-Metriken mit Historien

Vordefinierte Reports

Vordefinierte Reports

Vordefinierte Reports

Metriken

MetrikenBeispiel einer Trend Analyse

Database Wartung mit Hilfe vonBenutzerdefinierten Jobs

Database Wartung mit Hilfe vonBenutzerdefinierten Jobs

Database Wartung mit Hilfe vonBenutzerdefinierten Jobs

Ü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

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

Konfiguration

Websphere MQ System Monitoring Plug-In

Websphere MQ System Monitoring Plug-In - Metriken

Websphere MQ System Monitoring Plug-In – Metriken

Websphere MQ System Monitoring Plug-In - Alerts

Websphere MQ System Monitoring Plug-In - Alerts

Websphere MQ System Monitoring Plug-In - Reports

Websphere MQ System Monitoring Plug-In - Reports

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

Ü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

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

Gruppen

Oracle ProduktionHost

Gruppen

DB2 Produktion

Websphere MQ Test

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

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• ...

<Insert Picture Here>

Fragen & Antworten

Recommended