My Data Aggregator keeps shutting down constantly

Document ID : KB000031690
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem: My Data aggregator keeps shutting down with the following error in the karaf.log

ERROR | t Monitor Thread | 2015-09-03 10:19:48,944 | shutdown | ase.heartbeat.DBStateManagerImpl 385 | ommon.core.services.impl | | DB heartbeat to host ><hostname of Db execeeded max non-success time of 300000 
WARN | t Monitor Thread | 2015-09-03 10:19:48,944 | shutdown | ase.heartbeat.DBStateManagerImpl 726 | ommon.core.services.impl | | DB state for host <hostname of Db> changing from OK to DOWN 

Cause: If there is no valid database connection then the Data Aggregator shuts down.

Environment: Data Aggregator and vertica db

Resolution: Check if the vertica database is up and running. If so, there should be a valid connectivity between the Data Aggregator and the vertica database. 

The Data Aggregator waits for 5 minutes before shutting down itself without a valid connection to the database.

If you find the 5 minute shutdown timeout is too short (or too long), you

 can modify it by adding a configuration file with the name

 com.ca.im.core.services.database.heartbeat.DBStateManager.cfg

 and place it in the %IM_DATA_AGGREGATOR%/apache-karaf-2.x.x/etc directory 

 In this file add the following property:

         maxNonSuccessTimeBeforeDRNodeConsideredDown=300000

  (change to 600000 for example to specify a 10 minute timeout).