Back up Performance Center before an upgrade. To avoid losing valuable data, back up and archive Performance Center regularly.
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:
Estimate the size of the backup:
du –hs MySql/data
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
Change to a directory where you want to save the database archive:
Use any secure location with sufficient space for the backup directory.
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
Create a MySQL dump of Event Manager data:
/opt/CA/MySql/bin/mysqldump -u root -pnetqos em > $backupDir/em.sql
Compress these backup files to save space using the following commands:
tar czvf netqosportal.tgz netqosportal.sql
tar czvf em.tgz em.sql
Remove the uncompressed MySQL dump files using the following commands:
Start the Performance Center services on the new system as follows:
Start the SSO service:
service caperfcenter_sso start
Wait one minute, then start the event manager and device manager:
service caperfcenter_eventmanager start
service caperfcenter_devicemanager start
Wait one minute, then start the console service:
service caperfcenter_console start
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:
Back up the following directories:
If you have enabled SSL, back up the following files:
Custom OpenAPI applications reside on the Performance Center host. If your deployment includes custom OpenAPI applications, back up the application folder:
If you use custom logos for your themes, back up the following files: