22
Correlation Composer for HP OpenView Operations Stefan Bergstein Anish Joseph OpenView Software June 2003

Correlation Composer for HP OpenView Operations

Embed Size (px)

Citation preview

Page 1: Correlation Composer for HP OpenView Operations

Correlation Composer for

HP OpenView Operations

Stefan BergsteinAnish Joseph

OpenView SoftwareJune 2003

Page 2: Correlation Composer for HP OpenView Operations

page 211/29/2014 Correlation Composer for OVO

OV Correlation Composer Overview

Correlation Composer enables you to:

• Specify correlation logic for simple to complex problems including root cause analysis

• Use pre-packaged Correlator Templates to define commonly occurring correlation logic

Page 3: Correlation Composer for HP OpenView Operations

page 311/29/2014 Correlation Composer for OVO

Correlation Composer’s Components

Composer Circuit

ECS Engine

• GUI environmentto specify correlation requirement(s)

• Runtime Componentused to implement correlation

Page 4: Correlation Composer for HP OpenView Operations

page 411/29/2014 Correlation Composer for OVO

Correlations in OVO

Suppression of messages• timer• counter• combination of both• message conditions• agent

Smart Message correlation• message counter in browser • built-in pair-wise correlation• defined via message key and

relations• persistence message handling • server based

Event Correlation (ECS)• very sophisticated• additional product• supports complex scenarios• agent and server correlations

Correlation Composer• supports 6 standard correlation

scenarios• much easier to use that ECS

Designer• integrates external data into the

correlation • extendable with Perl• agent and server correlations

Page 5: Correlation Composer for HP OpenView Operations

page 511/29/2014 Correlation Composer for OVO

OV Correlation Composer

Why do we need an additional correlation tool?

– Out-of-the-box Correlation for “well known” problems

– Quickly & easily customizable

– Ability to easily and quickly extend functionality

– Ability to easily use external data for correlation

– Technology and domain independence

Page 6: Correlation Composer for HP OpenView Operations

page 611/29/2014 Correlation Composer for OVO

Correlation Design Process (ECS Designer)

Output:

1. OS Correlation circuit

2. DB Correlation circuit

3. Network Correlation circuit

RequiresDomain & Technical Knowledge

DB & ECSExpert

Network & ECS Expert

ECS Designer

Expert Designs Circuit in ECDL

ECS Engine

Test & Debug Cycle

OS & ECS Expert

Page 7: Correlation Composer for HP OpenView Operations

page 711/29/2014 Correlation Composer for OVO

Composer Correlation Design Process

Correlator TemplatesCorrelator DB

Output

1. OS Correlator

2. DB Correlator

3. Network Correlator

ECS Engine

Expert Configures Correlator(s)

Composer GUI

OS

DB

Network

Page 8: Correlation Composer for HP OpenView Operations

page 811/29/2014 Correlation Composer for OVO

Correlation Composer Concept

ECS Engine

ECS Circuit •Out-of-the-box ECS Template and circuit

implements the Correlator Templates

Rate

Transi

ent

Suppre

ss

Enrich

Repeate

d

Multi

-sourc

e

Use

r-defined

correlation definition

configuration GUI

circuit

Correlator Templates•Defined models used to build correlation

definitions.

Correlators •Defines the instances of the correlation

templates used in the correlation definition•Defines the default parameters and values for

the correlation templates

Correlation Composer•New easy mechanism to configure and customize

correlation definitions•New easy mechanism to create new correlation

definitions

ECS Engine •Embedded in OVO Server and agent

Page 9: Correlation Composer for HP OpenView Operations

page 911/29/2014 Correlation Composer for OVO

Correlator Templates Overview (1)

Enhance • modify/enrich messages

Multi-Source

• define a relationship between messages

• discard/modify a subset of messages

Rate • measure the number of msgs occurring within a specified period.

• discard all msgs and emit only the newly created msg

Page 10: Correlation Composer for HP OpenView Operations

page 1011/29/2014 Correlation Composer for OVO

Correlator Templates Overview (2)

Repeated • duplicate messages received within a time window are discarded

Suppress • is used when a specific category of msgs needs to be discarded.

Transient • detect transient failures and on detection discard both the msgs.

User-Defined

• is used when none of the other correlator templates meet the correlation requirement.

Page 11: Correlation Composer for HP OpenView Operations

page 1111/29/2014 Correlation Composer for OVO

Using composer with OVO

• Prepare your management server or agent system

• Developing Correlators with the OV Composer UI

• Install Correlators to your management server or agent system

Page 12: Correlation Composer for HP OpenView Operations

page 1211/29/2014 Correlation Composer for OVO

Composer ECS Circuit

• Circuit implements the pre-defined Composer Correlation logic

• configured via a Correlator Store (a fact store)

• Runs on OVO agent or server

Page 13: Correlation Composer for HP OpenView Operations

page 1311/29/2014 Correlation Composer for OVO

OVO Applications for OV Composer

• Start Composer UI

• Install Correlators on Agent

• Install Correlators on Server

Page 14: Correlation Composer for HP OpenView Operations

page 1411/29/2014 Correlation Composer for OVO

Correlation composer integration

OVO Admin

ECS runtimeopcecm/a

<<process>>

Composer Circuit

ecs_comp.eco<<circuit>>

Correlatorsecs_comp.fs

<<factstore>>

OVO ECtemplates

ec

Correlator Composer UI

activate

ecsmgr<<command>>

Messages

OVO Message Browser

Correlatorsmy_work.fs

<<factstore>>

save

merge, rename, & copy

update1

2

3

OVO app“start ui”

OVO app“install”

Page 15: Correlation Composer for HP OpenView Operations

page 1511/29/2014 Correlation Composer for OVO

ovocomposer(1) - perform tasks related to OV Composer

Start the Correlation Composer UI:

ovocomposer -ui

Install Correlator store(s) on OVO Management Server:

ovocomposer -install \

[ -fs fstore1 [ -fs fstore2 ... ] ] -ms

Install a Correlator store(s) on OVO agents:

ovocomposer -install \

[ -fs fstore1 [ -fs fstore2 ... ] ] \

-agt node1 [ node2 ... ]

Page 16: Correlation Composer for HP OpenView Operations

page 1611/29/2014 Correlation Composer for OVO

Directories, files, man pages

Central Correlator store directory on the OVO Server:/etc/opt/OV/share/conf/OpC/mgmt_sv/CO/

Correlator store with OVO specific constants:/etc/opt/OV/share/conf/OpC/mgmt_sv/CO/empty.fs

Directory for files which contain Perl callback functions:/opt/OV/contrib/ecs/external/perl/

For further information see:ovocomposer(5), ovocomposer(1)

Page 17: Correlation Composer for HP OpenView Operations

page 1711/29/2014 Correlation Composer for OVO

Examples

• Multi-Source - Combine an DB and OS messages

• Enhance – Enrich message using Perl

Page 18: Correlation Composer for HP OpenView Operations

page 1811/29/2014 Correlation Composer for OVO

Multi-Source - Combine an DB and OS messages (1)

Correlation requirement:•add probable cause “Filesystem is full” to msg

text of ORA msg•add filesystem oper-action to ORA msg

Filesystem <fileys> is full

ORA-2820: Unable to write the requested number of blocks.

Messages

oper-action: bdf <filesys>

ORA-2820: Unable to write the requested number of blocks. Probable cause: Filesystem /u01/oradata/ is full.

oper-action: bdf <filesys>

Page 19: Correlation Composer for HP OpenView Operations

page 1911/29/2014 Correlation Composer for OVO

Multi-Source - Combine an DB and OS messages (2)

Page 20: Correlation Composer for HP OpenView Operations

page 2011/29/2014 Correlation Composer for OVO

Enhance – Enrich message using Perl (1)

Correlation requirement:•call getHostInfo(msg_node_name)•add return value to message text

Any Message text

Messages

Any Message text: Info from Perl function

sub getHostInfo {

local($nodename)=@_;

local($infile) ="/etc/hosts";

local($line);

if (!open (INFILE, "<$infile")) { … }

while (<INFILE>)

{

$line = $_;

if( $line =~ /$nodename.*\#(.*)/ )

{ return " $1"; }

}

return " ";

}

Page 21: Correlation Composer for HP OpenView Operations

page 2111/29/2014 Correlation Composer for OVO

Enhance – Enrich message using Perl (2)

Page 22: Correlation Composer for HP OpenView Operations