EEM Policy changes do not reflect immediately in WCC
search cancel

EEM Policy changes do not reflect immediately in WCC

book

Article ID: 208166

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

In EEM MonitorViewControl policy, when making a change to the policy, it is delayed significantly to be reflected on WCC side. The views on WCC side will not show up unless a new view is created. 

This can happen to any other type of policy change also.

Environment

AutoSys Workload Automation

Resolution

WCC has a configurable option to check with EEM to see if there are new policies to consume.  WCCUI -> Configuration -> Preferences -> Monitoring -> Security Cache Timeout

NOTE: 
WCC does not perform full cache syncs in every request.
By default, it updates the cached group attributes, policies, and calendars, but does not update the sessions.
The impact on the behavior of WCC is that user attributes will not be updated until the user logs off and on again.
This means changes to policies reflect immediately but user attributes changes requires logout and login.
 

There is a way, if required, to force a full update so the user attribute changes for the existing sessions will be reflected immediately. 

  1. Backup the file $CA_WCC_INSTALL_LOCATION/wcc/data/config/application/config/resources/connection.properties
  2. Edit the file and add below two lines at the end of the file (if they do not exist already) 
     
    eem.fullCacheUpdate=true
    eem.cacheUpdateInterval=30
     
  3. Save the file and restart WCC after making this change.

  4. If there are multiple WCC nodes, the change needs to be done on all the nodes

With that in place a full cache sync, including user attributes will be done every 30 seconds.