I have now had 2 incident where CAPC would no longer sync with the DA. With help of the support the first time this happened the following info was provided:
DA Status: Synchronization Failure on IM2.1/IM2.2. The
customer had good DA syncing until something happened and after that began experiencing these failures. Analysis of the DM logs indicated the following error message consistently occurring with each attempted DA sync:
An error occurred during a sync request with data source Data Aggregator@DA_Host: additional info:
enum.datasourceerror.DS_PRODUCT_ID_CHANGED. The following stack trace shows the context of the sync request:
com.ca.im.portal.api.services.interfaces.datasource.DataSourceOp$Exception: enum.datasourceerror.DS_PRODUCT_ID_CHANGED
When DA is added as a data-source to PC it generates a random UUID, passes that UUID to PC. Both DA and PC store this UUID in their respective databases. At the start of each sync cycle PC queries each data-source and checks to make sure that the UUIDs match a sort of handshake if you will. If the UUID s do not match the sync fails. A
reinstall of the DA without first removing it as a data-source will cause this to happen.
It has just occurred again. In both cases there was no reinstalling of the DA data source so that reason is totally invalid in my case.
What else would cause the DA Data Source UUID to change?
I do have a solution to fix it but that take 30-60min of downtime assuming you detect it at the exact moment it occurs.
In this last situation the scenario was as follows:
- everything was working fine yesterday
- logged in today and found view had query failures
- checked the Data Sources tab and found CAPC had lost communication with DA Data Source
- checked the DR and it was working fine
- checked the DA and it was working fine (I could even go into the DA GUI from CAPC link)
- restarted the DA
- went back to Data Sources and now found Test said it was communicating but there was a sync failure
- tried doing a full resync but still sync failure
- went to
http://dahostname:8581/rest/dataaggregator and noted down the UUID
- logged on to CAPC host and open the netqosportal in mysql
- type select SourceGUID from DataSources2 where sourceType=262144;
- the SourceGUID was different from one noted earlier
- followed the solution to fix both the DA and DC
- all working again
So once again what causes the GUID to change?