This guide presents the complete walk-through on how to upgrade you Control Panel server from OnApp Cloud 5.0 to 6.0. Please follow the complete procedure of the upgrade process. All packages must belong to the same major version to ensure the best performance of your cloud. If you do not complete an upgrade procedure, you may face issues with standard functions such as VS creation, VS migration etc.
Before you upgrade your Control Panel server, we strongly recommend you to do the following:
Check the character_set_database and collation_database variables on your database server. If you have non-Latin values applied for character set and collation, edit the following parameters in the my.cnf file before the upgrade.
Access the MySQL database server and run the following SQL statement:
After you save the changes, restart your SQL server.
Upgrade Control Panel Server
To upgrade your Control Panel server under CentOS 6.x from OnApp 5.0 to 6.0:
Download and install the OnApp Control Panel update package:
Before running the OnApp Control Panel update script, apply the following changes to the /onapp/onapp-cp.conf file to avoid the RC4 Cipher Suite (CVE-2015-2808) vulnerability.
Run the update script:
The update script is interrupted if any inconsistencies are detected on your system. See Upgrade Notes for more details.
If the update script has failed, you can:
- Manually solve the reason of the failure.
Continue updating to a certain version with the Control Panel installer by running the following command:
If the CP installer command is run successfully, you can continue with the update script.
Check that the cloud has been successfully updated through the OnApp versions 5.1-6.0:
The update to 5.6 is skipped on purpose since the code from 5.6 was ported to 5.7 that is a cumulative update.
If the update has been completed successfully, run the following command:
Ensure that all services are working: