Data Collectors disconnect from Data Aggregator and fail to reconnect
search cancel

Data Collectors disconnect from Data Aggregator and fail to reconnect

book

Article ID: 204058

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Data Collector is showing as Not Connected.

Restarting the Data Collector dcmd service shows it runs for a moment but doesn't stay running.

The ActiveMQ (default path) /opt/IMDataCollector/broker/apache-karaf-<version>/conf/activemq.xml has a single networkConnector section in the networkConnectors section. There should be four.

Environment

DX NetOps Performance Management r3.7.3

Cause

The cause for failed update to the activemq.xml file during the last upgrade cycle is unknown. It had taken place over 1 year ago and the install log was clean, free of any errors or problems.

Resolution

Edit the /opt/IMDataCollector/broker/apache-karaf-<version>/conf/activemq.xml.

Ensure these are the only networkConnector sections in the activemq.xml file.

Save the changes. Stop the activemq service allowing the dcmd service to restart it.

                    <networkConnector name="da_manager" uri="static:(failover:(tcp://host:61616,tcp://host1:61616)?maxReconnectAttempts=3)" duplex="true"
                                      suppressDuplicateTopicSubscriptions="false">
                        <excludedDestinations>
                            <queue physicalName="DADistItemRepositoryMgr"/>
                            <queue physicalName="DIM.>"/>
                            <queue physicalName="DIP-poll.>"/>
                            <queue physicalName="DIP-req.>"/>
                            <queue physicalName="jms-lock.>"/>
                            <queue physicalName="PRQ.>"/>
                            <queue physicalName="Rollups>"/>
                            <queue physicalName="dcupgrade.>"/>
                        </excludedDestinations>
                    </networkConnector>

                    <networkConnector name="da_manager-PRQ" uri="static:(failover:(tcp://host:61618,tcp://host1:61618)?maxReconnectAttempts=3)" duplex="true"
                              suppressDuplicateTopicSubscriptions="false">
                <dynamicallyIncludedDestinations>
                    <queue physicalName="PRQ.>"/>
                </dynamicallyIncludedDestinations>
          </networkConnector>

                  <networkConnector name="da_manager-IREP" uri="static:(failover:(tcp://host:61620,tcp://host1:61620)?maxReconnectAttempts=3)" duplex="true"
                                     suppressDuplicateTopicSubscriptions="false">
                        <dynamicallyIncludedDestinations>
                            <queue physicalName="DADistItemRepositoryMgr"/>
                            <queue physicalName="DIM.>"/>
                            <queue physicalName="DIP-poll.>"/>
                    <queue physicalName="DIP-req.>"/>
                    <queue physicalName="jms-lock.>"/>
                        </dynamicallyIncludedDestinations>
                  </networkConnector>

                  <networkConnector name="da_manager-blob" uri="static:(failover:(tcp://host:61622,tcp://host1:61622)?maxReconnectAttempts=3)" duplex="true"
                                     suppressDuplicateTopicSubscriptions="false">
                        <dynamicallyIncludedDestinations>
                            <queue physicalName="dcupgrade.>"/>
                        </dynamicallyIncludedDestinations>
                  </networkConnector>