Important! The following procedure is only required if you are upgrading CA Performance Center Release 2.2.00 to Release 2.3.00.
Upgrades to CA Performance Center Release 2.3.00 involve a onetime upgrade to the database server to support more recent versions of Red Hat Enterprise Linux. Previous releases of CA Performance Center included MySQL v5.1, which must be upgraded to version 5.6.
The upgrade automatically backs up the database contents. However, if this step fails to execute properly, you must manually back up the CA Performance Center database and specify its use for an upgrade. An error message informs you whether the automatic backup has failed.
Follow these steps:
echo 'show databases;' | mysql | grep -v ^Database$ | grep -v ^information_schema$ | grep -v ^mysql$ | grep -v ^test$ | grep -v performance_schema$ | xargs mysqldump --add-drop-database --databases -R > databaseBackup.sql
If mysqldump cannot be found, you can manually define the location of the backup file. For example, enter the following command:
/opt/CA/MySql/bin/mysqldump
The responsefileName file should contain the following contents:
MYSQL_BACKUP_FILE=/tmp/databaseBackup.sql
./tmp/CAPerformanceCenter.bin -f responsefileName
The upgrade proceeds. The backup file that you created is used to populate the database.
|
Copyright © 2013 CA.
All rights reserved.
|
|