After it is over-installed, the Data Aggregator (DA) fails to sync to NetOps Portal
search cancel

After it is over-installed, the Data Aggregator (DA) fails to sync to NetOps Portal

book

Article ID: 239755

calendar_today

Updated On:

Products

CA Performance Management Network Observability

Issue/Introduction

After doing an over-install of the DA, the DA data source fails sync in NetOps Portal.

Also, the errors similar to the following are seen in the karaf.log on the Data Aggregator showing that the DA cannot contact the Event Manager on the NetOps Portal.

at java.lang.Thread.run(Unknown Source) [?:?]
aused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with http://<PCHost>:8281/EventManager/EventManaerWS.asmx

Environment

DX NetOps CAPM Release : 21.2
Component : PM Data Aggregator

Cause

When doing a 21.2.8 over-install of the DA, we do not change the SsoEncryptionAlgorithm from AES to DES in case the user has changed to DES.

Resolution

To resolve this, do the following:

  1. Use SsoConfig on the Netops Portal to verify the following under 4. Single Sign-On

    Encryption Decryption Key: <VALUE>
    Encryption Algorithm:      <AES/DES>

  2. Compare these to the following values from the Data Aggregator from http://<DA>:<port>/rest/dataaggregator

    <SsoEncryptionAlgorithm>(AES or DES)</SsoEncryptionAlgorithm>
    <SsoEncryptionDecryptionKey>(VALUE)</SsoEncryptionDecryptionKey>

    Also note the <ID>(NUMBER)</ID>

  3. If you did an over-install of the DA what you will likely see is the SsoEncryptionDecryptionKey matches, but the SsoEncryptionAlgorithm does not.

    To correct this, make the SsoEncryptionAlgorithm on the DA match the Netops Portal via REST:


    URL:    http://<DA>:<port>/rest/dataaggegator/ID
    Method: PUT
    Value: 

    <DataAggregatorInfo version="1.0.0"><SsoEncryptionAlgorithm>(AES or DES)</SsoEncryptionAlgorithm></DataAggregatorInfo>

    Where ID is the ID of the Data Aggregator as noted previously, and (AES or DES) would be th value in use by the Neetop Portal as noted previously.

    Example using curl, where the DA id was 70 and the SsoEncryptionAlgorithm needs to be changed to AES, run from the DA itself:

    curl -kv -u admin:admin  -X PUT -H "Content-Type: application/xml" -d'<DataAggregatorInfo version="1.0.0"><SsoEncryptionAlgorithm>AES</SsoEncryptionAlgorithm></DataAggregatorInfo>' http://127.0.0.1:8581/rest/dataaggregator/70