Upload
stefan-bergstein
View
362
Download
2
Tags:
Embed Size (px)
Citation preview
Correlation Composer for
HP OpenView Operations
Stefan BergsteinAnish Joseph
OpenView SoftwareJune 2003
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 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 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 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 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 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 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 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 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 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 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 1311/29/2014 Correlation Composer for OVO
OVO Applications for OV Composer
• Start Composer UI
• Install Correlators on Agent
• Install Correlators on Server
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 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 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 1711/29/2014 Correlation Composer for OVO
Examples
• Multi-Source - Combine an DB and OS messages
• Enhance – Enrich message using Perl
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 1911/29/2014 Correlation Composer for OVO
Multi-Source - Combine an DB and OS messages (2)
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 2111/29/2014 Correlation Composer for OVO
Enhance – Enrich message using Perl (2)