Prepare to Install Performance Center
To ensure that your npc installation is successful, complete the requirements before you install npc:
To ensure that your
Performance Centerinstallation is successful, complete the requirements before you install
Verify the Prerequisites
- The software can be installed in any filesystem to which the root user has write access. The default installation directory is /opt/CA/PerformanceCenter. The setup program lets you select another location.
- Verify that Security Enhanced Linux (SELinux) is disabled on the server where you plan to installPerformance Center. By default, some Linux distributions enable this feature, which does not allow the product to function properly.For information about configuring an SELinux security policy, see the Red Hat documentation.
- By default, the MySQL database is installed to /opt/CA/MySql/, but you can select another location during the installation. Verify that the selected filesystem has enough allocated disk space to support a database.
- To avoid database corruption, exclude the installation directory, and all its subdirectories, from antivirus scans. Prevent scanning by a local instance of an antivirus client and scanning by a remote antivirus instance. Exclude the following directories:
- Performance Centerrequires DNS resolution. If DNS is not configured, add system entries to the /etc/hosts file on your server manually.
- Verify that your /tmp location has at least 4 GB of space available.
- The installer requires the zip and unzip packages. If these packages are not installed, use the following command to install them:
- yum -y install zip unzip
Set the Limit on the Number of Open Files
Verify that the user account that is installing
Performance Centerhas a value of at least 65536 on the number of open files. Set this value permanently.
For systems where a sudo user installs
Performance Center, the installation user might not have the required permissions to complete this procedure. Work with the system administrator to configure the limit.
Follow these steps:
- Log in to thePerformance Centerhost.
- Edit the following file:/etc/security/limits.conf
- Add the following lines to the file:# Added by Performance Center* soft nofile 65536# Added by Performance Center* hard nofile 65536
- Restart the login session.
- Verify that the number of open files is set properly:ulimit -nThe command returns the limit that you have specified.
Verify Communication Ports
Performance Centeruses multiple ports to communicate with various components, particularly data sources. In addition, some of the products and components that integrate with
Performance Centerhave specific port requirements. Consult the documentation of each data source for the list of required ports.
For any firewall that protects this server, open the required ports and protocols for the data sources you are deploying. The product documentation for each data source provides a list of required ports and protocols.
Each data source uses unique ports.
The following communication ports allow
Performance Centerservices to communicate with
- TCP 3306Enables communications to the MySQL database (inbound) from thePerformance Centerservices.
- TCP/HTTP 8481Enables communications between the Device Manager and Console services.
The following communication ports allow users to contact
- TCP/HTTP 8181Enables communications between client computers and thePerformance Centerserver. Enables console communications with data sources.
- TCP/HTTP 8381Enables communications between client computers and thePerformance Centerserver. Also enables login using the single sign-on authentication component.
The following communication ports allow other data sources to contact
Performance Centerfor eventing and OpenAPI single sign-on:
- TCP/HTTP 8281Enables communications between the Event Manager, which is installed automatically with thePerformance Centersoftware, and the data sources. The Data Aggregator initiates communication and pushes data through this port.
- TCP/HTTP 8381Enables communication between the Data Aggregator andPerformance Centerfor direct authentication of OpenAPI queries.
The following communication ports must be open on the other data sources:
- TCP/HTTP 80Enables synchronization with CA Network Flow Analysis to retrieve configuration data.
- TCP/HTTP 8681Enables synchronization with CA Network Flow Analysis to retrieve device data.
- TCP/HTTP 8581Enables synchronization withCA Performance Management. For the Data Aggregator,Performance Centerinitiates communication and pulls data through this port.
The following diagram illustrates the default port usage:
Verify Time Synchronization
Time synchronization using the Network Time Protocol (NTP) daemon is required for
Performance Centerand is recommended for all data source consoles. On Linux servers, the NTP daemon ensures that the clocks on the hosts are synchronized for timing purposes. Verify that the daemon is running on the
Performance Centerhost server.
Follow these steps:
- Open a console and type the following command:$ chkconfig --list ntpdIf the NTP daemon is installed, the output resembles the following example:ntp 0:off 1:off 2:on 3:on 4:off 5:on 6:offThe output indicates the runlevels where the daemon runs.
- Verify that the current runlevel of the system (usually 3 or 5) has the NTP daemon set to 'on'. If you do not know the current runlevel, type the following commands to find it:$ runlevelN 3If the current runlevel does not have the NTP daemon enabled, enable it by typing the following command:$ chkconfig --levelcurrent_runlevelntpd onExample:$ chkconfig --level 3 ntpd on
- Type the following command to start the NTP daemon manually:$ /etc/init.d/ntpd startThe daemon is started.
(Optional) Configure the Sudo User Account for
If you do not have root access to install and run
Performance Center, configure the sudo user account.
Follow these steps:
- Locate the following file on thePerformance Centerhost:/etc/sudoers
- Add a command alias with the following permissions to the file:
Separate the permissions with commas and place all permissions on a single line.Example:Cmnd_Alias CAPERFCENTER = /tmp/CAPerfCenterSetup.bin,/etc/init.d/caperfcenter_console, /etc/init.d/caperfcenter_devicemanager,/etc/init.d/caperfcenter_eventmanager, /etc/init.d/caperfcenter_sso, /etc/init.d/mysql,/opt/CA/PerformanceCenter/Tools/bin/npcshell.sh,/opt/CA/PerformanceCenter/SsoConfig,/opt/CA/PerformanceCenter/Uninstall_MySql,/opt/CA/PerformanceCenter/Uninstall_PerformanceCenter,/opt/CA/PerformanceCenter/Uninstall_SSO,/sbin/service,/opt/CA/MySql/bin/mysql,/opt/CA/MySql/bin/mysqldump,/opt/CA/PerformanceCenter/sso,/opt/CA/PerformanceCenter/PC,/opt/CA/PerformanceCenter/PC/webapps/pc/apps,/opt/CA/PerformanceCenter/PC/webapps/pc/css/CA-Blue/images,/opt/CA/PerformanceCenter/PC/webapps/pc/css/CA-Gray/images,/opt/CA/jre/bin/keytool,/opt/CA/PerformanceCenter/RemoteEngineer/re.shsudouserALL = CAPERFCENTER
With the sudo user configured, add the sudo prefix to all commands to installPerformance Center.Example:sudo ./CAPerfCenterSetup.bin
- Specify the user who can run the sudo commands.sudouser
Configure UTF-8 Support
Performance Centerhost to support UTF-8 encoding. If UTF-8 encoding is not enabled, characters might not display properly during the installation.
The appropriate language packs are also required to support localized deployments.
Some scripts that are used in the installation of selected components are not localized and run in English. For more information, see the
Localization Status Readmefile.
Follow these steps:
- Do one of the following steps:
- Type the following command from a Korn or bash shell:export LANG=LANG_value; export LC_ALL=$LANGspecifies the language that you want the product to support. The following variables are supported:LANG_value
For example:export LANG=zh_TW.utf8 ; export LC_ALL=$LANG
- Simplified Chinese:zh_CN.utf8
- Traditional Chinese:zh_TW.utf8
- Type the following command from a Bourne Shell:LANG=LANG_value; export LANGLC_ALL=LANG_value; export LC_ALLFor example:LANG=zh_CN ; export LANGLC_ALL=zh_CN ; export LC_ALL