Skip to content
CA Performance Management - 3.5
Documentation powered by DocOps

Back Up Performance Center

Last update May 25, 2018

Back up Performance Center before an upgrade. To avoid losing valuable data, back up and archive Performance Center regularly.

Back Up the Performance Center Database

Create a backup archive of the current database anytime that you plan to reinstall or upgrade the software. We recommend that you create a backup archive on a weekly basis.

Follow these steps:

  1. Log in to the Performance Center host as 'root', or use the 'sudo' account that you configured for the installation.
  2. Estimate the size of the backup:

    du –hs MySql/data

  3. Stop all the Performance Center services, using the following commands:

    service caperfcenter_console stop

    service caperfcenter_devicemanager stop

    service caperfcenter_eventmanager stop

    service caperfcenter_sso stop

  4. Change to a directory where you want to save the database archive:

    cd /$backupDir

    Use any secure location with sufficient space for the backup directory.

  5. Create a MySQL dump of the database using the following command:

    Note: If you leave out the optional password syntax from the following command, you are prompted for the password.

    /opt/CA/MySql/bin/mysqldump --routines -u root -pnetqos netqosportal > $backupDir/netqosportal.sql

    Note: As a step toward enhanced security, the MySQL utilities require a MySQL password. Currently, you cannot set or change the password, which defaults to netqos.

    Note: During the installation, you are prompted to 'Select a Location for the MySQL Data Directory'. The default location is /opt/CA/MySql/data.
  6. Create a MySQL dump of Event Manager data:

    /opt/CA/MySql/bin/mysqldump -u root -pnetqos em > $backupDir/em.sql

  7. Compress these backup files to save space using the following commands:

    tar czvf netqosportal.tgz netqosportal.sql

    tar czvf em.tgz em.sql

  8. Remove the uncompressed MySQL dump files using the following commands:

    rm netqosportal.sql

    rm em.sql

  9. Start the Performance Center services on the new system as follows:

    1. Start the SSO service:

      service caperfcenter_sso start

    2. Wait one minute, then start the event manager and device manager:

      service caperfcenter_eventmanager start

      service caperfcenter_devicemanager start

    3. Wait one minute, then start the console service:

      service caperfcenter_console start

Back Up Single Sign-On Configuration Files

If you configure single sign-on, backup the configuration settings. Use rsync or another preferred method, such as a script, to back these files up automatically.

Back up the following files:

  • /opt/CA/PerformanceCenter/sso/start.ini
  • /opt/CA/PerformanceCenter/PC/start.ini

Back up the following directories:

  • /opt/CA/PerformanceCenter/sso/webapps/sso/configuration

  • /opt/CA/PerformanceCenter/sso/etc

  • /opt/CA/PerformanceCenter/sso/conf

  • /opt/CA/PerformanceCenter/PC/etc

  • /opt/CA/PerformanceCenter/PC/conf

If you have enabled SSL, back up the following files:

  • /opt/CA/PerformanceCenter/sso/start.d/ssl.ini

  • /opt/CA/PerformanceCenter/PC/start.d/ssl.ini

Back Up Custom Settings

Custom OpenAPI applications reside on the Performance Center host. If your deployment includes custom OpenAPI applications, back up the application folder:

  • /opt/CA/PerformanceCenter/PC/webapps/pc/apps 

If you use custom logos for your themes, back up the following files:

  • /opt/CA/PerformanceCenter/PC/webapps/pc/css/CA-Blue/images/customLogo
  • /opt/CA/PerformanceCenter/PC/webapps/pc/css/CA-Gray/images/customLogo
Was this helpful?

Please log in to post comments.

  1. LUTZ HOLZBECHER
    2018-03-29 02:14

    The backup for netqosportal database should include the mysql functions and procedures, the option --routines should be added: mysqldump --routines -u root -pnetqos netqosportal > netqosportal.sql Without the functions in the restore, users may not be able to login.

    1. Corry Root
      2018-03-29 08:31

      Thanks Lutz. I'll verify with Engineering and update as soon as possible.