Upon enabling the Spectrum data source in NetOps Portal, it generates the following error in the /opt/CA/PerformanceCenter/DM/logs/DMService.log and remains disabled:
An error occurred during a sync request with data source Spectrum Infrastructure Manager: 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
DX NetOps CA Performance Management and CA Spectrum
Product ID does not match on both the source (Spectrum) and the destination (NetOps Portal).
cd $SPECROOT/mysql/bin
./mysql --defaults-file=../my-spectrum.cnf -uroot -p<pass>
use netqos_integ
select * from registry;
mysql> select * from registry;
+-----------+--------------------------------------+
| attribute | value |
+-----------+--------------------------------------+
| guid | 116ab9ed-3a11-435d-b841-16fa4da3f696 |
+-----------+--------------------------------------+
1 row in set (0.02 sec)
\q
cd /opt/CA/MySql/bin
./mysql -unetqos -p<DB_PASSWORD> netqosportal
select * from data_sources2 where ConsoleName like '%Spectrum%'\G;
*************************** 1. row ***************************
SourceID: 4
SourceType: 65536
SourceGUID: 34196c80-f136-48f8-9c53-cd6bd0799178
ConsoleName: Spectrum@xx.xx.xx.xx
ConsoleHost: xx.xx.xx.xx
ConsolePort: 8080
ConsoleProtocol: http
update data_sources2 set sourceguid='GUID value from step 4' where sourceid=<spectrum SourceID>;
From the above example:
update data_sources2 set sourceguid='116ab9ed-3a11-435d-b841-16fa4da3f696' where sourceid=4;