Previous Topic: Upgrade the Data Aggregator Installation - Command LineNext Topic: Upgrade CA Performance Management 2.3.3 with Embedded CAMM to CA Performance Management 2.4 with CAMM 2.4


Upgrade the Data Collector Installation - Command Line

You can upgrade your Data Collector installation. The installation upgrade is installed without uninstalling the existing software.

Important! Be sure that Data Aggregator is up and running before you upgrade the Data Collector installation. Access the following address, http://hostname:port/rest, where hostname:port specifies the Data Aggregator host name and the port number. If this page displays successfully, Data Aggregator is up and running.

Follow these steps:

  1. Log in to the computer where you plan to install Data Collector either as the root user or the sudo user.
  2. Access the Data Collector installation package by doing one of the following actions:
  3. Transfer the install.bin file to a local directory on the computer where you want to install Data Collector. For the sake of installation instructions, we assume that the installer is placed in the /tmp directory, however, this location is not required.

    Note: Alternatively, use the wget command when you have HTTP access to the computer where Data Aggregator is installed and want to install Data Collector in noninteractive mode.

  4. Type the following command to change to the /tmp directory:
    cd /tmp
    
  5. Change the permissions for the installation file by typing the following command:
    chmod a+x install.bin
    
  6. To run the console installation, do one of the following steps:

    The License Agreement opens.

  7. Read the license agreement, accept the agreement, and click Next.
  8. When the installer prompts you, enter a user. This user will both own the installation and will be the user that Data Collector will run as. The default user is the root user. Hit Enter to select the root user.
  9. Enter an installation directory when prompted.
  10. The installer automatically calculates your maximum memory usage allocation for the Data Collector process, basing it on 80 percent of your server memory. You can modify this value during or after the installation.
  11. When the installer prompts you for the Data Aggregator host information, enter either the IP address or the hostname for Data Aggregator that will be associated with Data Collector.

    Important! Specify the Data Aggregator host information correctly. If you specify the Data Aggregator host information incorrectly, Data Collector shuts down after installation. An error message is logged in the Data Collector installation directory/apache-karaf-2.3.0/shutdown.log file. Uninstall and reinstall Data Collector.

  12. Enter either 'y' or 'n' when you are asked whether to associate this Data Collector with the Default Tenant.

    Enter ‘n’ if you represent a service provider who is planning to deploy multi-tenancy. You can then associate each Data Collector installation with a tenant. If you are not deploying multi-tenancy, enter 'y'. For more information about multi-tenant deployments, see the CA Performance Center online help.

    Data Collector is installed, started, and connects to Data Aggregator.

    Note: If you restart the computer where Data Collector is installed, Data Collector automatically restarts and connects to Data Aggregator.

  13. Review the /opt/IMDataCollector/Logs/CA_Infrastructure_Management_Data_Collector_install_timestamp.log file on the computer where Data Collector is installed. If the installation is successful, the log shows 0 Warnings, 0 NonFatalErrors, and 0 FatalErrors.
  14. Verify that the Data Collector connection is successful after the installation by doing the following actions:
    1. Log in to CA Performance Center as the global administrator.
    2. Navigate to the Data Aggregator administration view and expand the System Status view.
    3. Select Data Collectors from the menu.
    4. Verify that Data Collector appears in the list. Its Tenant and IP Domain are blank if you selected 'n' when you were asked whether to associate this Data Collector with the Default Tenant.

      Note: The list can take several minutes to refresh and show the new Data Collector installation.

  15. Assign a tenant and IP domain to each Data Collector if the Tenant and IP Domain are blank:
    1. Select the Data Collector instance and click Assign.
    2. Select another tenant and an IP domain for this Data Collector in the Assign Data Collector dialog and click Save.

    Data Collector is installed. Data Collector is running as the installation owner.

  16. Type the following command to verify that Data Collector is running:

    service dcmd status

When Data Collector is reinstalled, Data Collector picks up devices and components from Data Aggregator and resumes polling the devices and components that were being polled previously.

More information:

How to Upgrade CA Performance Management Data Aggregator - Command Line