Why did the Data Aggregator shut down

Document ID : KB000094223
Last Modified Date : 15/05/2018
Show Technical Document Details
Question:
Why did the CA Performance Management  Data Repository and Data Aggregator shut down
Environment:
CA Performance Management all versions
Answer:

The Data Aggregator will shut down when it can no longer contact any Data Repository hosts.

On the Data Aggregator, in the ${da.karaf.home}/shutdown.log you will see messages similar to the following:

WARN  | :DRHOSTNAME-01 | 2018-05-04 02:40:05,458 | shutdown | ase.heartbeat.DBStateManagerImpl  731 | ase.heartbeat.DBStateManagerImpl  731 | ommon.core.services.impl |       | DB state for host DRHOSTNAME-01 changing from OK to DOWN
ERROR | anager-thread-13 | 2018-05-04 02:40:05,468 | shutdown | ces.shutdown.ShutdownManagerImpl  131 | ces.shutdown.ShutdownManagerImpl  131 | ommon.core.services.impl |       | Shutting down the data aggregator.It was detected that no data repository nodes were contactable. The uncontactable hosts are:[DRHOSTNAME-01]
ERROR | anager-thread-14 | 2018-05-04 02:40:05,468 | shutdown | tTolerantDBConnectionManagerImpl  221 | tTolerantDBConnectionManagerImpl  221 | ommon.core.services.impl |       | No DB host name available.
INFO  | anager-thread-14 | 2018-05-04 02:40:05,469 | shutdown | tTolerantDBConnectionManagerImpl  376 | tTolerantDBConnectionManagerImpl  376 | ommon.core.services.impl |       | The primary host for database transactions is now set to null
ERROR | anager-thread-14 | 2018-05-04 02:40:05,469 | shutdown | tTolerantDBConnectionManagerImpl  179 | tTolerantDBConnectionManagerImpl  179 | ommon.core.services.impl |       | The primary data repository host 'DRHOSTNAME-01' is no longer available, and there are no available secondary hosts. Current Host Status: {DRHOSTNAME-01=DOWN}
 
You can get the location of da.karaf.home from the /etc/DA.cfg:

]$ grep 'da.karaf.home' /etc/DA.cfg
da.karaf.home=/opt/IMDataAggregator/apache-karaf-2.4.3

After starting the Data Repository, start the Data Aggregator:

service dadaemon start