Table of Contents |
---|
Prerequisites
You can upgrade from any version of Abiquo 3.0.0-GA or 3.x version to the latest Abiquo version.Remember to backup, stop services and
Warning |
---|
Remember to:
|
...
Note about UI configuration
|
Perform the packages upgrade
Info |
---|
This step must be done on all Abiquo servers, including Abiquo Management Server, Remove Remote Services, KVM Servers and LVM Servers. |
Configure Repositories
Remove previous repo packages
Code Block |
---|
yum remove abiquo-release* |
Install destination repo package
There is one package for each major version that installs base and update repositories. Please locate the abiquo-release-ee package of your destination version and install it with the following command. This example is for the latest Abiquo major version of 3.6.
Code Block |
---|
yum localinstall http://mirror.abiquo.com/abiquo/3.6/os/x86_64/abiquo-release-ee-3.6.0-2.el6.noarch.rpm |
Update yum cache
Code Block |
---|
yum clean all && yum makecache |
...
Update abiquo packages
Code Block |
---|
yum update 'abiquo-*' && yum update jdk |
Update databases
Info |
---|
This step must be done on the database server. |
Main Abiquo database
Note |
---|
Ensure your hostname is in your DNS or in your /etc/hosts file. |
Code Block |
---|
abiquo-liquibase [-h DB hostname] [-P DB port] [-u user] [-p password] update |
Info | ||
---|---|---|
Is there a known issue with upgrades from There is a known issue with upgrades from 3.2 versions where nextthe following message appears and fails to applythe liquibase update fails:
This can be easily solved by executing nextthe following command and retryretrying the abiquo-liquibase update command.
|
...
Additional steps for intermediate versions
...
Start with your original version and perform all the steps to the final version.
Info |
---|
All scripts are located on the Abiquo Server. |
Expand | ||
---|---|---|
| ||
Ok, you have some critical work to do here, on this version we included credentials encription, so you must download cryptography libraries and cypher your current credentails, please follow instructions:In 3.1 we introduced credentials encryption. First install the new encryption libraries for Java 8 Upgrade from Abiquo 3.1.x to 3.2.x To cypher your current credentials, please follow these instructions: Upgrade from Abiquo 3.0.1 to 3.1 Now continue with the sections for the following 3.x versions |
Expand | ||||
---|---|---|---|---|
| ||||
You must add next properties to the UI config files, in order to work properlyIf you are upgrading from 3.1, Abiquo 3.2 requires a new Java Cryptography Extension (JCE) libraries for Java 8 so you will need to install the new encryption libraries. Upgrade from Abiquo 3.1.x to 3.2.x You must apply this script to remote services redis database Upgrade from Abiquo 3.1.x to 3.2.xUpgrade redis schema Execute the Redis delta script on each Abiquo Server running Redis (Abiquo Server and Abiquo RS nodes) to update the schema to the 3.2 version. This script can be found on following path on the Abiquo Server
And in the next path in the Abiquo Remote services
Now continue with the sections for the following 3.x versions |
Expand | ||||
---|---|---|---|---|
| ||||
Execute this script on the Abiquo Management Server:Upgrade from Abiquo 3.2.x to 3.4
And this other script on the Abiquo Remote Services:Upgrade from Abiquo 3.2.x to 3.4
Now continue with the sections for the following 3.x versions |
Expand | ||||
---|---|---|---|---|
| ||||
Execute this script on the Abiquo Management Server:Upgrade from Abiquo 3.4.x to 3.6
And this other script on the Abiquo Remote Services:
|
Expand | ||
---|---|---|
| ||
Execute this script on the Abiquo Remote Services:
|
Configuration
Add Abiquo Configuration Properties to the abiquo.properties file as required.
UI configuration
After the upgrade is complete, perform the UI configuration. The default UI location in Abiquo 3.x is /var/www/html/ui
- Add custom labels and translations in the lang_xx_XX_custom.json files in the lang folder
Add custom configuration to client-config-custom.json
The essential UI configuration is the API endpoint pointing to your Abiquo API server
Code Block { "config.endpoint": "http://myAbiquoAPIServer/api" }