How to change the IP Addresses for all CA Performance Center component systems

Document ID : KB000048018
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

How to move entire systems to a new subnet

Solution:

Changing the IP Addresses of a Vertica Single Node Setup (only)

(To change a Vertica Cluster configuration, see page 426 of the Vertica 6.0 administration guide)

  1. take down Vertica using admintools, and then spread:

    /etc/init.d/spreadd stop

  2. do the necessary OS network changes (ifconfig, etc/hosts, etc.)

  3. /opt/vertica/config/admintools.conf - change all ip references in this file

  4. /opt/vertica/config/vspread.conf - change all ip references in this file

  5. cd to the catalog dir of the database (e.g. /home/dbadmin/mydb/*catalog

  6. grep -rl youroldip - verify the old ip isn't found in any .cat or .conf file(s), if so, edit accordingly.

    **********DO not modify any Checksum .cat files that are returned from the grep !!*********

  7. Start spread:

    /etc/init.d/spreadd start

  8. Start the database using /opt/vertica/bin/admintools
    ---------------------

To change the Data Aggregator IP address:

  1. Stop Data Aggregator by logging in to the computer where Data Aggregator is installed as the root user. Type the following command:

    /etc/init.d/dadaemon stop

    Data Aggregator stops.

  2. Type the following commands to access the jms directory:
    cd <Data Aggregator installation directory>/apache-karaf-2.3.0/jms

  3. Edit the local-jms-broker.xml file with an editor such as vi. Change the IP address that appears at the bottom of this file to the IP address you want it to be.

    ********Modify dbconnection.cfg to new ipaddress******
    <Data Aggregator installation directory>/apache-karaf-2.3.0/etc/dbconnection.cfg

  4. Restart Data Aggregator by logging in to the computer where Data Aggregator is installed as the root user. Open a command prompt and type the following command:

    /etc/init.d/dadaemon start

    The Data Aggregator starts. The IP address for Data Aggregator is changed.

To change the IP address for CAPC:

  1. Make sure you take a back up of mysql

  2. Stop CAPC services
    change the ip under Datasources ....'Edit datasource': save IP change and test.

  3. Start CAPC services.
    Then run a full sync to the datasources

To change the IP Address for the DataCollector(s):

  1. Stop the DC, if not already stopped:

    /etc/init.d/dcmd stop

  2. Edit the file: /opt/IMDataCollector/apache-karaf-2.3.0/etc/com.ca.im.dm.core.collector.cfg
    Update the hostname or address is correct in the line
    collector-manager-da-hostname

    Save the file.

  3. Update the IP address in /opt/IMDataCollector/apache-karaf-2.3.0/jms/local-jms-broker.xml

  4. Delete the file /opt/IMDataCollector/apache-karaf-2.3.0/deploy/local-jms-broker.xml

  5. Wipe out the cache:
    rm -rf /opt/IMDataCollector/apache-karaf-2.3.0/data/cache/*

  6. Start the DC

    /etc/init.d/dcmd start

    Verify the correct ipaddress is shown In CAPC-Admin-DataAggregator@da-hostname:

    System Status: Data Collectors