92
Unicenter Automatic Duplicate Suppression EvtADS - EvtAds r11 - Field Developed Utility - January 17 th 2006

Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Embed Size (px)

Citation preview

Page 1: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Unicenter Automatic Duplicate Suppression

EvtADS- EvtAds r11

- Field Developed Utility- January 17th 2006

Page 2: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

2 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Disclaimer

This is a field developed utility targeted to be included in the future release for NSM. It is not supported by the CA Support organisation.

Page 3: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

3 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Acknowledgments

- Kevin Higgins - Cap Gemini UK plc

Page 4: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Introduction

Page 5: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

5 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

What is EvtAds?

- A simple but function rich utility to intelligently manage duplicate events to aid in auto-ticketing and eliminate opening multiple problem tickets for the same problem.

- Automatic Duplicate Suppression

- Tool for Windows Event Management

Page 6: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

6 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Problem Summary

- Unicenter message processing repeats messages on the operator console unless explicitly discarded.

- Such duplication may prevent use of auto-ticketing or occasionally cause acute message storms, (where too many messages per second are generated).

- Message storm can result into denial of service if extensive instrumentation is carried out to address duplicates.

Page 7: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

7 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Automatic Duplication Suppression- EvtAds is Unicenter Event Management Anti-Duplication Suppression driven by Event Message Actions.

- It is specifically designed for scalability to handle large message storms without any performance degradation.

- In a lab environment, it has successfully processed message storm of over a million events

Page 8: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

8 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Automatic Duplication Suppression - ADS is called using EXTERNAL Message action and determines if the event has been previously seen within the reset interval. It returns with an &rc indicating the number of times an event / alert has been previously seen.

- Analysing &RC value assists in auto-ticketing and prevents multiple tickets been raised for the same problem.

- Provides means of escalation based on the number of alerts received for the same problem. For example, if 15 failure events are received within reset interval period for the same problem, it would make sense to escalate the problem to emphasis the impact of the problem. Without ADS, this may result in 15 problem tickets being raised

Page 9: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

9 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Why EvtAds?

- Unicenter Event Management provides frequency based message rules. This is based on Counter and Interval.

- Frequency based event rules are driven by message records and may require complex rules to integrate with Help desk.

- Interval computation for Frequency event rule is based on time the first event occurred. EvtAds works on interval based on last update time – this is key for effective duplicate suppression.

Page 10: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

10 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Help Desk

- To provide integrity, it is important that duplicate problem tickets are not raised. Multiple problem tickets for the same problem can easily distract the main focus of resolving the problem.

- For this reason, duplicate Alerts should be identified and discarded (or in some cases escalated).

- If duplicated alerts exceed an acceptable limit, the problem should be escalated to minimise the impact. It is important to identify the number of times an alert has occurred within a clear down interval.

Page 11: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Usage

Page 12: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

12 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

EvtAds Functions

- CAds

- Checks for duplicate Events

- CVersion

- Displays Version details

- CStats

- Displays how many events are cached

- CList

- Generate list of cached entries for review

Page 13: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

13 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

EvtAds FunctionsCOptions

Funtion Name Option Description

COptions -Purge On Demand Purge expired entries

-Debug On Demand start Debugging

-StopDebug On Demand stop Debugging

-Reinit

Reinitialise options by reading the EvtAds.dat file again. This is normally useful if Search and Replace entries have been changed

Page 14: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

14 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

ClearDownInterval

- This is used for computing if the cached event entry is current and not expired. It is based on Last Update time of the event.

- If (Last Update Time + ClearDownInterval) < Current Time, the cached event entry is expired and the duplication count of the cached event is reset to zero.

- This enables identification of new occurrences of problems outside the ClearDownInterval

Page 15: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

15 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CAds /T:120 /M:""&text"""

EvtAds Message ActionCAds Function

Function Name

ClearDownInterval

Message Text

Action

Page 16: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

16 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CAds /Q /T:120 /M:""&text"""

EvtAds Message ActionCAds Function Query Option

Function Name

ClearDownInterval

Message Text

Action

Query Option

Page 17: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

17 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Query Option

- Query option function works in the same as CAds except the cache count is not updated. The clear down rules still applies.

- This function is extremely useful when conditional logic is required such as “Stop forward action if more than 10 forwards have failed due to destination down”.

Page 18: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

18 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Sample Application of Query Option

There is another MRA for %CAOP_E_504 with EXTERNAL action. This issues CAds Function call with /M”&1,&6”. This updates the cache counter to identify the number of times, the forward has failed within cleardown interval.

Prior to forward action, Query option is requested to determine the number of times %CAOP_E_504 message has been generated. The query option will not update the counter. In this example if more than 5 FORWARD to node BREER01PACO have failed, forward action is suspended with appropriate messages. This would be good candidate for EVALUATE function

Page 19: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

19 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Sample Application of Query Option

Page 20: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

20 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CAds /T:600 /F:2 /M:""&(2:9)"""

EvtAds Message ActionSearch & Replace Override

Function Name

ClearDownInterval

Message Text

Search & Replace Item

Page 21: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

21 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

CVersion

- Display EvtAds Version details

define msgrec

msgid="EVTADS CVersion"

type="MSG"

msgnode="*"

desc="What version of EvtAds are you running"

cont='N'

msgact='Y'

wcsingle='?'

wcmany='*'

case="y"

regexp="n"

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CVersion"

Page 22: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

22 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

CVersion

Page 23: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

23 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

define msgrec

msgid="EVTADS CStats"

type="MSG"

msgnode="*"

desc="Tell me how many entries have been cached so far"

cont='N'

msgact='Y'

wcsingle='?'

wcmany='*'

case="y"

regexp="n"

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CStats"

CStats

- Display number of events cached

Page 24: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

24 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

CStats

CStats - 2000 entries cached

Page 25: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

25 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

define msgrec

msgid="EVTADS CList"

type="MSG"

msgnode="*"

desc="Dump Current Cached entries to a ascii file"

cont='N'

msgact='Y'

wcsingle='?'

wcmany='*'

case="y"

regexp="n"

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CList"

CList

- Dumps cached entries for review

- List file placed in EvtAds directory.

- File name

- yyyymmdd.ads

Page 26: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

26 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

CList

Page 27: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

27 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

CList

Page 28: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Clear Down Interval

Page 29: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

29 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Clear Down Interval

- Clear Down Interval is Reset Interval. Can be different for different message rules.

- Cached entry is expired if the last update of the event is older than clear down interval.

- If no Clear Down Interval specified on the message rule, it defaults to Initialisation Option default

Page 30: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

30 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Clear Down Interval

Page 31: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

31 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Hierarchy

- /T: override on message action

- Initialisation Default from Ini File

Page 32: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

32 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Clear Down IntervalOverride

Page 33: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Purge

Page 34: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

34 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

What is Purge?

- Remove matured cached event entries from the queue

- Cache entries eligible for Purge if Current Time > (LastUpdateTime + (ClearDownInterval * PurgeLag)

- PurgeLag is customisable option via configuration GUI.

Page 35: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

35 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

PurgeLag

Page 36: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

36 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Why Purge?

- This is a simple housekeeping function to keep the Queue to a manageable size.

- In the lab environment, Queue Size of 300,000+ has been tested successfully.

- This allows removal of single event entries with no probability of reoccurrence

Page 37: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

37 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

How is Purge Initiated

- Purge can be initiated on demand or automatically performed at the specified Check Interval

- CheckInterval = nn - where nn = interval value in minutes. - INI File option - configured via Configuration GUI - Check Interval value should be based on the Event Activity. In

most cases Check Interval of 2hours should suffice. However, in lab environment, this has worked fine with value of 1 minute.

Page 38: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

38 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

CheckInterval

Page 39: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

39 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Purge On Demand

- To run purge on demand, simply call COptions –Purge function.

- Utility is built with threshold monitoring of Queue Size. If it exceeds Warning or Critical thresholds, it generates Warning or Critical Messages.

- This messages should be reviewed with the view to execute Purge On Demand request on receipt threshold violation messages

Page 40: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

40 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Queue Size Monitoring

Page 41: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

41 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Automatic Purge

This shows Purge is executed every 15 minutes. CheckInterval value set to 15

Page 42: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

42 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

How to disable automatic Purge

- If you wish to stop the automatic purge process and certainly not recommended, then this can be accomplished by manually updating EvtAds.dat file.

- Set CheckInterval=0

- This will disable to automatic purge process

- The Configuration Wizard, will not permit this value to be set to 0 as it is not recommended

Page 43: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

43 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Purge

12,000+ Entries purged in no time

Page 44: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Search and Replace

Page 45: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

45 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Why?

- Some events may include fields such as Time which would make the event unique and thus potentially not suitable for ADS.

- If fields such as Time are not relevant to determine the duplication count, then search and replace function should be reviewed.

Page 46: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

46 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

How?

- Using Configuration GUI, specify POSIX regular expression to search the message text passed to EvtAds and replace with the supplied text.

- GUI provides a TEST function to verify your search and replace function.

- Each Search & Replace item is allocated a sequential number. This number should be specified on the CAds function as /F:n option, where n is the item number

Page 47: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

47 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Replace Time Field with hh.mm.ss

- Define Search and Replace Item.

- Item number for this field is 2

- ReformatEventSearch<ItemNum>

Replace Item

Search RegExp

Page 48: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

48 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Search & ReplaceOverride Option

Item Number

Page 49: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

49 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Time Field Replaced with hh:mm:ss

cawto EVTADS Jobxxxx failed at 10:11:38

cawto EVTADS Jobxxxx failed at 10:11:39

cawto EVTADS Jobxxxx failed at 10:11:40

cawto EVTADS Jobxxxx failed at 10:11:41

cawto EVTADS Jobxxxx failed at 10:11:42

Generate Time Based Events

Cached Entry

Page 50: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

50 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Wizard

Page 51: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Message Prefix

Page 52: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

52 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Ignore Message Prefix

Page 53: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

53 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Message Prefix

- Some Message prefix are not suitable for EvtADS suppression. For example you may want to see all %CAOP messages or messages generated by EvtADS itself.

- This function provides assurances in case catch all message record rule is used for ADS, such as *

Page 54: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Cache Statistics

Page 55: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

55 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Release r11

- r11 release has been enhanced to maintain some degree of statistics of the cache events. This enhances the CList function if MaintainStats option is set to 1.

- By default, it will work as prior releases i.e no history of cached events will be maintained

Page 56: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

56 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats

- This option is not currently configurable from the wizard. If the option is set to 1, it will enable Stats option

Page 57: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

57 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats – Automatic Mode

- If MaintainStats option is enabled, it will maintain cache count (duplicate count) of each cached entry.

- CheckInterval, is a configurable option from the configuration wizard. It specifies how often to perform housekeeping on the expired cache entries i.e entries that gone past (CleardownInterval * PurgeLag).

- If MaintainStats is enabled, at each CheckInterval, it will automatically generate statistics and append to the file YYYYMMDD_ads.csv.

Page 58: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

58 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats – Manual Mode

- If MaintainStats option is enabled, stats information can also be manually requested by calling function CList.

Page 59: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

59 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

define msgrec

msgid="EVTADS CList"

type="MSG"

msgnode="*"

desc="Dump Current Cached entries to csv file if MaintainStats enabled"

cont='N'

msgact='Y'

wcsingle='?'

wcmany='*'

case="y"

regexp="n"

define msgact

name=(*,10)

action="EXTERNAL"

attrib="DEFAULT"

color="DEFAULT"

condop=" "

evaluate='Y'

quiet='N'

status="ACTIVE"

sim='N'

text="EvtAds.DLL CList"

MaintainStats - CList

- Dumps cached entries for review

- List file placed in EvtAds directory.

- File name

- yyyymmdd_ads.csv

Page 60: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

60 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Stats File

This shows EvtAds was processing 1700 events per seconds

Page 61: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

61 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats

- Id- Groups all entries for a specific stats request

- Cache Rate- Number of Events cached per second for the respective message text

- If the entry was purged due to no activity, the event rate will be calculated from the time the entry was re-cached till the lastupdate time. If the entry has not been previously purged, then the event rate is calculated from the time the entry was first cached till last update time.

Page 62: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

62 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats

- Total Cached

- Total number of Events cached for the respective message text

- If the entry was purged due to no activity, the “Total Cached” count is from the time the entry was re-cached. If the entry has not been previously purged, then the “Total Cached” count is from the time the entry was first cached.

Page 63: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

63 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats

- DuplicateCount- The total number duplicate entries within the current

cleardownInterval period. - ElapsedSeconds

- The number of seconds from the time the cache entry was created or recreated if previously purged

- Request- Request Type. The entries written to the csv file was as a

result of CheckInterval, then this is set to Auto. If the CList function is called by the user, this is set to Manual

- FirstTimeStamp- The timestamp of the first occurrence of the cached

message text. If the entry was previously purged, it is timestamp when the entry was re-created

Page 64: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

64 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

MaintainStats

- LastUpdateTimestamp

- The timestamp of the last cached entry update

Page 65: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Scalability

Page 66: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

66 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Test Plan

- Generate Message Storm of quarter million (250,000) events

- Analyze the latency with EvtAds caching the entries from this message storm

- Display the first entry and last few entries

- Re-run the tests without caching entries.

- Analyze the latency without EvtAds caching the entries

Page 67: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

67 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Message Actions

1. Cache Entries based on message token 2 and 3.

2. Check if first entry. If so, display the text

3. Check if the last few entries. If so, display the text

4. Otherwise do not display the message on the Unicenter Console

Page 68: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

68 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Generate Message storm

- Message Storm Ended at 08:20:29

Page 69: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

69 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Message Storm 250,000 Events

- 250,000 Events message storm cached by EvtADS

- Latency on the last cached event 71 seconds

Page 70: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

70 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

EvtAds

This shows EvtADS processing 2121 events per second

Page 71: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

71 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Re-run test without EvtADS

- Re-run the tests without executing the 4 MRA processed by the message storm

The latency without EvtADS caching 250,000 events and not processing 4 MRA is 50 seconds. That is 21 seconds less than EvtADS

Page 72: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

72 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Purge

60,000+ Entries purged under a second

Page 73: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

73 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Cache Table Search Time

- If large number of entries are cached (over 50,000) , degradation in response time should be expected as the time to search for a specific cache entry in the cache table will increase as well

- EvtADS monitors its cache table and generates alert messages if it exceeds Warning or Critical threshold.

- If you are planning to trigger EVTAds with MRA such as “*” i.e for all messages, then please review purge housekeeping options such as PurgeLag and CheckInterval to maintain the cache table to a reasonable size

Page 74: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Install

Page 75: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

75 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Install

Page 76: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

76 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Install

Page 77: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Configuration Wizard

Page 78: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

78 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Configuration Wizard

Page 79: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

79 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Options Configuration

Page 80: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

80 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Message Prefix Exclusion

Page 81: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

81 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Search & Replace

Page 82: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

82 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Search & Replace

Page 83: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

83 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

ADS Management Options

Page 84: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

Verification

Page 85: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

85 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Verification

- Execute EvtAds_Demo.cmd few times and verify

- Duplicates Message Discarded Test- Only one message should displayed evtAds_001 New Entry Cached - EVTADS DupTest This should only show the first message

- Search and Replace Function- Only one message displayed for duplicate Time field messagesevtAds_001 New Entry Cached - EVTADS Jobxxxx failed at 10:11:38

- Escalation- 3 Message displayed

- Normal when duplication 0

- Warning with 10th occurrence of message

- Critical with 15th occurrence of message

Page 86: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

86 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Alert based on 10th and 15th occurrences

Count based Escalation verification. Warning EVTADS ServiceDesk Process displayed on 10th occurrence of the duplicate message within 2 minutes interval. Critical message on 15th occurrence

Page 87: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

EvtADS Initialize

Page 88: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

88 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Message Storm at Startup

- If the message storm is generated and EvtADS is not initialized, then there may be a small delay at start up. This delay is mainly due to CA OPR daemon has to load the EvtADS external library.

- For release r11, it is recommended to initialize EvtADS at startup of CA OPR daemon, so that external library is pre-loaded.

Page 89: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

89 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

How to initialize EvtADS at Startup?- Define Message Records Actions for the Message Id

- %CAOP_I_DAEMONINIT, Console Daemon initialized on node

- Define Message Actions as defined in the file EvtADS_init.cautil

Page 90: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

90 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Initialize EvtADS at Startup

Page 91: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

91 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Initialize EvtADS at Startup

- If EvtADS is not initialized at startup, CA OPR daemon will initialize the first execution or EXTERNAL message action for EvtADS library

Page 92: Unicenter Automatic Duplicate Suppression EvtADS -EvtAds r11 -Field Developed Utility -January 17 th 2006

92 © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Questions and Answers

Any questions?Any questions?