Data Aggregator / Data Repository Vertica Performance Issues After Upgrade to 2.2.0 or 2.2.1
book
Article ID: 48844
calendar_today
Updated On:
Products
CA Infrastructure Performance
Issue/Introduction
Description:
Customers upgrading to release CA Infrastructure Manager 2.2.0 or 2.2.1 and above might notice issues with the Vertica database:
Symptoms include:
Dashboards in Performance Center, that report on Data Aggregator data, progressively slow down over time
Data Repository/vertica processes show consistent high CPU utilization
Data Repository average CPU usage increases over time.
Data Repository memory usage increases over time
Failures when synchronizing Performance Center and Data Aggregator
Solution:
To resolve these issues the Vertica database must be upgraded. Please follow the instructions below:
Open an issue with support to get the vertica-6.0.2-0.x86_64.RHEL5.rpm. Then download it to your data repository installation folder previously created by the InstallDR.bin installer, for example: /opt/CA/IMDataRepository_vertica6
Perform a manual backup of your Data Repository, type the following command:
Indicates the directory path and filename of the configuration file you created previously. This file is located where you ran the backup utility (/opt/vertica/bin/vbr.py).
If you are prompted about the authenticity of the host, answer yes.
Note: In a cluster installation, you only have to perform this step on one of the hosts that are participating in the cluster.
Important! If you back up Data Repository and have not been regularly backing up Data Repository previously, it can take several hours or more to back up Data Repository
As root, stop the Data Aggregator by running "/etc/init.d/dadaemon stop" from the data aggregator
As the Linux database administrator user, log in to the database server you use for Data Repository as the database administrator user and stop Data Repository:
Type the following command: /opt/vertica/bin/adminTools
The Administration Tools dialog opens.
Select (4) Stop Database.
Press the Space bar next to the database name, select OK, and press Enter.
You are prompted for the database password.
Enter the database password and press Enter. The Data Repository database stops.
Note: If Data Repository does not stop, select (2) Stop Vertica on Host from the (7) Advanced Tools Menu. In a cluster environment, select (2) Stop Vertica on Host for each host in the cluster. If Data Repository still does not stop, select (3) Kill Vertica Process on Host in the Advanced menu. In a cluster environment, you may need to select (3) Kill Vertica Process on Host on more than one host in the cluster.
Determine which hosts Vertica is running on by doing the following steps:
Select option 6 (Configuration Menu).
Select option 3 (View Database).
Select the database.
Make a note of the hostnames. You will need these hostnames later in this procedure.
Exit the adminTools utility after Data Repository stops.
Log on to the computer where Data Repository is installed as the root user.
To run the Data Repository installation package, type the following command as the root user:
Indicates the name of the hosts where you want to install Data Repository. For a single-node installation, specify one hostname. For a cluster installation, specify a comma-separated list of three hostnames without whitespace before or after the commas. Each host in the cluster is set up for the installation.
Note: Do not use 'localhost' in the case of a single-node installation. Specify the actual hostname of the computer.
-u dr_username
Indicates the username of the vertica Linux database administrator user account you created previously.
-l home directory
Indicates the Linux user home directory.
[-r installation_directory]
(Cluster installation only) Indicates the installation directory where the Data Repository installation package resides. You extracted the license file and the Data Repository installation package to this installation directory.
As the linux database administrator (for example, dradmin), Llog on to the computer where Data Repository is installed.
Verify that you installed Data Repository correctly by doing the following steps:
Type the following command: /opt/vertica/bin/adminTools
The Administration Tools dialog opens.
Verify that the top of the banner indicates that the database version is 6.0.2-0.
(Single-Node and Cluster Installations) As the root user, Sstop the vertica_agent on each computer where you installed Data Repository. This agent is unnecessary and consumes CPU:
Open a command prompt and type the following command: service vertica_agent stop
Type the following command: chkconfig --del vertica_agent
As the linux database administrator, launch adminTools again.
/opt/vertica/bin/adminTools
Restart Data Repository by selecting option 3 (Start Database) from the main menu of the Administration Tools dialog.
As the root user, restart the Data Aggregator with the following command: "/etc/init.d/dadaemon start" from the data aggregator host.