Configure Data Collector When the Data Aggregator IP Address Changes

If the IP address of the Data Aggregator host changes, update the Data Collectors to point to the new IP. If the Data Collector uses the hostname to communicate with the Data Aggregator, restart the Data Collector. If the Data Collector uses the IP address to communicate with the Data Aggregator, complete the following procedure:
capm360
If the IP address of the Data Aggregator host changes, update the Data Collectors to point to the new IP. If the Data Collector uses the hostname to communicate with the Data Aggregator, restart the Data Collector. If the Data Collector uses the IP address to communicate with the Data Aggregator, complete the following procedure:
Follow these steps:
  1. Log in to the Data Collector host.
  2. Stop the Data Collector service:
    service dcmd stop
  3. Locate and edit the IP address in the following file:
    /
    DC_Install_Directory
    /apache-karaf-<
    vers
    >/etc/com.ca.im.dm.core.collector.cfg
    /opt/IMDataCollector
    is the default installation directory.
  4. Edit the following line:
    ...
    collector-manager-da-hostname=
    DA_host_IP
    ...
    Save the file.
  5. Locate and edit the following file:
    /
    DC_Install_Directory
    /broker/apache-activemq-<
    vers
    >/conf/activemq.xml
  6. Edit the IP address in the following lines:
    ...
    <networkConnector name="da_manager" uri="static:(tcp://
    DA_host_IP
    :61616)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    <networkConnector name="da_manager-PRQ" uri="static:(tcp://
    DA_host_IP
    :61618)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    <networkConnector name="da_manager-IREP" uri="static:(tcp://
    DA_host_IP
    :61620)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    <networkConnector name="da_manager-blob" uri="static:(tcp://
    DA_host_IP
    :61622)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    ...
    In a fault tolerant tolerant environment, the content of the activemq.xml has the following format:
    ...
    <networkConnector name="da_manager" uri="static:(failover:(tcp://
    DA1_host_IP
    :61616,tcp://
    DA2_host_IP
    :61616)?maxReconnectAttempts=3)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    <networkConnector name="da_manager-PRQ" uri="static:(failover:(tcp://
    DA1_host_IP
    :61618,tcp://
    DA2_host_IP
    :61618)?maxReconnectAttempts=3)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    <networkConnector name="da_manager-IREP" uri="static:(failover:(tcp://
    DA1_host_IP
    :61620,tcp://
    DA2_host_IP
    :61620)?maxReconnectAttempts=3)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    <networkConnector name="da_manager-blob" uri="static:(failover:(tcp://
    DA1_host_IP
    :61622,tcp://
    DA2_host_IP
    :61622)?maxReconnectAttempts=3)" duplex="true" suppressDuplicateTopicSubscriptions="false"/>
    ...
  7. Start the Data Collector:
    service dcmd start
  8. Verify that the correct address appears in the Data Collector List.
    1. Open
      CA Performance Center
      as an administrator.
    2. Select Admin, Data Sources, and click a Data Aggregator data source.
    3. Click Data Collectors from the System Status menu.
      The IP address of each Data Collector appears under the 'Address' column. The status of each Data Collector is "Collecting Data".