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

Document ID : KB000103131
Last Modified Date : 22/06/2018
Show Technical Document Details
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/"
Instructions:
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