During an upgrade I entered a shared directory for fault tolerance by accident

book

Article ID: 103131

calendar_today

Updated On:

Products

CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration CA Performance Management - Data Polling

Issue/Introduction

During an upgrade I entered a shared directory for fault tolerance by accident and now the Data Aggregator will not start / is having RIB and Certification errors.  In the below steps the mistake that was made was the shared directory was set to be "/opt/IMDataAggregator/apache-karaf-2.4.3/data/", this is how you set it back to the correct "/opt/IMDataAggregator/data/"

Environment

Release:
Component: IMAGGR

Resolution

1. mkdir /opt/IMDataAggregator/data 
2. chmod 775 /opt/IMDataAggregator/data 
3. cd /opt/IMDataAggregator/apache*/data/data.bak/ 
Note: The files may not be in data.bak so check the other data.bak* files in that directory.

4. cp -rp broker certifications custom performance-spool /opt/IMDataAggregator/data/ 
6. service dadaemon stop 
7. service activemq stop 
8. edit /etc/DA.cfg 

change

da.data.home=/opt/IMDataAggregator/apache-karaf-2.4.3/data

to

da.data.home=/opt/IMDataAggregator/data 

9. chmod 775 /opt/IMDataAggregator/broker/apache-activemq-5.15.2/conf/activemq.xml 
10. edit /opt/IMDataAggregator/broker/apache-activemq-5.15.2/conf/activemq.xml 

change 

<kahaDB directory="/opt/IMDataAggregator/apache-karaf-2.4.3/data/broker/kahadb" 
ignoreMissingJournalfiles="true" 
checkForCorruptJournalFiles="true" 
checksumJournalFiles="true" /> 

to 

<kahaDB directory="/opt/IMDataAggregator/data/broker/kahadb" 
ignoreMissingJournalfiles="true" 
checkForCorruptJournalFiles="true" 
checksumJournalFiles="true" /> 

11. service dadaemon start