IBM Support

Messages in systemout.log "Defaulting to use of global affinity"

Technical Blog Post


Abstract

Messages in systemout.log "Defaulting to use of global affinity"

Body

image

Messages in systemout.log "Defaulting to use of global affinity"


What are the cause of the errors in systemout.log that are in the format:

[11/07/15 17:19:47:974 CEST] 00000029 SitEventModel E com.ibm.tivoli.
monitoring.provider.events.SitEventModelManager dispatchEvents
(PBasedTable) EXCEPTION: Defaulting to use of global affinity: &IBM.
STATIC000
11/07/15 17:21:23:498 CEST] 00000029 SitEventModel E com.ibm.tivoli.
monitoring.provider.events.SitEventModelManager dispatchEvents
(PBasedTable) EXCEPTION: Incoming event affinity is invalid:
0000000O0WW000W0000000000000004000000000000

These are informational messages stating that the affinity used on an event that is being sent to an event server (normally Omnibus) is being changed to a global one.

The affinity is the long code, in this example "0000000O0WW000W0000000000000004000000000000".
It is an internal code that identifies the agent type and sometimes the version.

In this case it was investigated and there were two affinities that were being changed.
Both belonged to the IBM Tivoli Composite Application Manager Agent for J2EE (the yj agent)

It was checked that this change was not causing any problems by:

1) Identifying the situations that used the affinity

2) Checking that when events arrived in ITM for these situations that they were being sent correctly to the Event Server.


To check the first of these, a table in the HUB TEMS had to be reviewed, 

The table is QA1CSITF.DB, which holds the situation descriptions.


Data can be extracted from this by using the SPUFI tool.

Details on using SUPFI are detailed on the Monitoring Academy here:

http://ow.ly/Vt66N

You will need the fields AFFINITIES and SITNAME

By matching the affinities to the situation name, it can be checked that the situations are shown correctly in the ITM situation Event console and in the Event Server when they fire.image

Check out all our other posts and updates:

Academy Blogs:                    http://ow.ly/FezGi

Academy Videos:                  http://bit.ly/1wFKveY

Academy Google+:               http://bit.ly/1sR5QTV

Academy Twitter Handle:     http://bit.ly/1CknfoF   

[{"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":""},{"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Product":{"code":"SSZ8F3","label":"IBM Tivoli Monitoring V6"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":""}]

UID

ibm11084149