Changing correlation value for a domain through command line
search cancel

Changing correlation value for a domain through command line

book

Article ID: 332181

calendar_today

Updated On:

Products

VMware Smart Assurance VMware Telco Cloud Service Assurance

Issue/Introduction

To implement new Correlation Interval value, one must restart the domain service after making changes to the devstat-init.asl file.  It does not work through command line use.

Environment

10.x Smarts

2.x TCSA

Resolution

The change applied to the Correlation Interval value would persist only if the "../smarts/rules/devstat/devstat-init.asl" file is edited prior to the domain restart.
One must run:
 
sm_edit devstat-init.asl

 And set the correlationInterval in the file and restart the domain service:

INIT_DX {
local dxObj = object(getInstances("DX_DM")[0]);
} do {
dxObj->correlationInterval = 30; <<<<<<<<<<<<< Set the value here.
dxObj->correlationTimeLimit = 5;
dxObj->closureComboMode = "MAXIMUM";

This way you are making the correlationInterval persistent and will remain the same even after restart.