Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »


This section describes how to upgrade from Abiquo 4.7.0 or above to the current Abiquo version. Please contact Abiquo Support for further information.



Major upgrade

The upgrade to Abiquo 5.2.0 is a major upgrade with upgrades of third-party software packages that are critical platform dependencies

You must make snapshots of ALL servers before you start the upgrade


  • Abiquo YUM repositories are no longer open, please contact Abiquo Support to obtain your credentials
  • This upgrade process starts from Abiquo 4.7 or above. To upgrade from earlier versions, please contact Abiquo Support


Prepare branding

  • If you are upgrading from Abiquo 4.7.x, the new UI in Abiquo 5.0 requires new branding. See Abiquo branding guide




Prevent cloud users from performing VM operations

  1. In the UI in the Infrastructure view, select each physical machine and click Disable
  2. Using the API, set the state of each physical machine to DISABLED




Check for operations in progress on the platform


Check for operations in progress on the platform

Before you shut down the platform servers you should check that no operations are in progress on the platform.

  1. Check that the Abiquo RabbitMQ queues are empty on the Abiquo Monolithic Server, Abiquo Server or Datanode server

    The number of messages in all queues must be 0.

    # rabbitmqctl list_queues messages name

    # rabbitmqctl list_queues messages name
    Listing queues ...
    0	abiquo.am.notifications
    0	abiquo.bpm.notifications
    0	abiquo.datacenter.requests.ADatacenter.bpm
    0	abiquo.datacenter.requests.ADatacenter.virtualfactory
    0	abiquo.ha.tasks
    0	abiquo.nodecollector.notifications
    0	abiquo.pcrsync.messages
    0	abiquo.pcrsync.parking-expect-no-consumers
    0	abiquo.scheduler.fast.requests
    0	abiquo.scheduler.requests
    0	abiquo.scheduler.slow.requests
    0	abiquo.tracer.traces
    0	abiquo.virtualfactory.notifications
    0	abiquo.virtualmachines.definitionsyncs
    0	abiquo.vsm.eventsynk
    ...done.

  2. On the V2V Server, check for any active conversions by checking for the V2V or Mechadora processes

    $ ps aux | grep v2v
    $ ps aux | grep mechadora

When user VM operations are blocked and all of the above checks show that no tasks are running, it is safe to halt the platform.




Back up the main platform elements


Back up the main platform elements


To perform a basic backup of the platform, run the following backups:

Before you begin, stop platform services, and check you have enough space on your destination systems.

# On DB server, back up the Abiquo MySQL DBs
mysqldump --routines --triggers kinton            > kinton.sql-$(date +%Y%m%d_%H%M%S)
mysqldump --routines --triggers kinton_accounting > kinton_accounting.sql-$(date +%Y%m%d_%H%M%S)

# On the Monitoring server, back up Watchtower DB
mysqldump --routines --triggers watchtower            > watchtower.sql-$(date +%Y%m%d_%H%M%S)

# On the Abiquo API Server or UI server, back up the UI
tar cvfz /var/www/html/ui.tgz-$(date +%Y%m%d_%H%M%S) /var/www/html/ui

# If you are using SAML authentication with multiple IdPs, on ALL Abiquo API Servers, back up this file
cp 
/opt/abiquo/tomcat/webapps/api/WEB-INF/classes/springresources/security/saml/security-saml-generated-beans.xml /opt/abiquo/tomcat/webapps/api/WEB-INF/classes/springresources/security/saml/security-saml-generated-beans.xml-$(date
 +%Y%m%d_%H%M%S)

# On ALL servers, back up the /opt/abiquo folder
tar cvfz /opt/abiquo.tgz-$(date +%Y%m%d_%H%M%S) /opt/abiquo

# On Abiquo Monolithic or API Server, Remote Services, or Datanode, back up Redis
redis-cli save
cp -a /var/lib/redis /var/lib/redis-$(date +%Y%m%d_%H%M%S)




If you are using HTTPS-SSL between your Tomcat servers, for each Tomcat server:

From the /opt/abiquo/tomcat/conf folder, back up the server.xml files. You will need to restore and modify them after the yum upgrade.

See Upgrade Tomcat 8 to Tomcat 9 with HTTPS TLS.


Disable old billing dashboards and delete last bills

In Abiquo 5.2, the billing dashboard feature is now in the core Abiquo platform.

If you are using the billing dashboard scripts from previous versions, disable them and delete last bills before you continue with the upgrade.

  1. On the server where you were running the billing packages, remove the Cron jobs to run the billing scripts.

    # rm /etc/cron.d/abiquo-billing-ec2
    # rm /etc/cron.d/abiquo-billing-arm
  2. Delete the last bills from the previous version of the billing dashboards (from the kinton.billing_consolidation and kinton.billing_register tables). Remove the bills for Azure and Amazon providers, for the number of months covered by the abiquo.enterprise.property.billing.monthoffset property, which has a default value of 2 months. Later the new billing dashboards feature will regenerate these bills.




Stop platform services


Stop platform services


This section describes how to stop platform services on all servers.

Before you begin, Check for operations in progress on the platform and wait for all operations to complete.

If there are operations in progress, DO NOT STOP the platform services because this can cause serious issues with your platform.

To stop platform services:

  1. Stop the API on the API server or Monolithic server

    systemctl stop abiquo-tomcat
  2. Stop the UI on the API server or Monolithic server or dedicated UI server

    systemctl stop httpd
  3. Stop Remote services server

    systemctl stop abiquo-tomcat
  4. Stop the database on the Monolithic server or Database server or Datanode server.

    systemctl stop mariadb

    For a datanode configuration, you will also need to stop the Galera cluster. For more details, see Stop and start HA configuration

  5. Stop RabbitMQ (on the monolithic server or API Server or Datanode)

    systemctl stop rabbitmq-server
  6. V2V server -
    You do not need to stop anything because the BPM remote service is run on-demand only

  7. Stop monitoring server

    systemctl stop abiquo-delorean
    systemctl stop abiquo-emmett
    systemctl stop kairosdb
    systemctl stop cassandra
  8. On the monitoring server, check if Cassandra is really dead

    ps auwx | grep cassandra

    Get the process number for Cassandra (the first number in the output of the previous command), and kill it. In this example, Cassandra is process 12345.

    kill -9 12345

All processes on platform servers should now be halted.





Make snapshots and backups of all platform servers

The upgrade to Abiquo 5.2.x is a major upgrade with upgrades of third-party software packages that are critical platform dependencies

You MUST make snapshots of all servers in your platform before you upgrade to Abiquo 5.2.x.




Prepare yum repositories on all servers


Prepare yum repositories on all servers for v5.2

Unable to render {include} The included page could not be found.



Upgrade Datanode servers in HA

Upgrade Datanode servers to v5.2

Unable to render {include} The included page could not be found.




Upgrade UI servers in HA

Upgrade standalone UI servers to v5.2

Unable to render {include} The included page could not be found.




Upgrade load balanced API servers in HA

Upgrade load balanced API servers to v5.2

Unable to render {include} The included page could not be found.




Upgrade remote services servers

Upgrade remote services servers to v5.2

Unable to render {include} The included page could not be found.





Upgrade monitoring server

Upgrade monitoring server to v5.2

Unable to render {include} The included page could not be found.



Upgrade steps from 4.7.x to 5.0.x

Start with your original version and perform the steps to the final version.


 Click for Upgrade steps from 4.7.x to 5.0.x

Upgrade steps from 4.7.x to 5.0.x

Unable to render {include} The included page could not be found.





Upgrade steps from 5.0.x to 5.1.x

Start with your original version and perform the steps to the final version.


 Click for Upgrade steps from 5.0.x to 5.1.x for Veeam

Upgrade steps from 5.0.x to 5.1.x for Veeam


Unable to render {include} The included page could not be found.


 Click for Upgrade steps from 5.0.x to 5.1.2 or 5.2.x for VM names

Upgrade steps from 5.0.x to 5.1.2 or 5.2.x for VM names


Unable to render {include} The included page could not be found.





Upgrade steps from 5.1.x to 5.2.x

Start with your original version and perform the steps to the final version.

When upgrading from 5.1.0 or 5.1.1 to 5.1.2 or above, follow the steps from the Upgrade steps from 5.0.x to 5.1.x block.


 Click for Upgrade steps from 5.1.x to 5.2.x for Azure

Upgrade steps from 5.1.x to 5.2.x for Azure


Unable to render {include} The included page could not be found.


 Click for Upgrade steps from 5.1.x to 5.2.x for Tomcat (step 3 is mandatory)

Upgrade steps from 5.1.x to 5.2.x for Tomcat with TLS


Unable to render {include} The included page could not be found.


 Click for Upgrade steps from 5.1.x to 5.2.x for Redis

Upgrade steps to remove old VSM definitions for Redis


Unable to render {include} The included page could not be found.


 Click for Upgrade steps from 5.1.x to 5.2.x for billing dashboards

Upgrade steps from 5.1.x to 5.2.x for billing dashboards


Unable to render {include} The included page could not be found.


Upgrade steps for 5.2 versions

These steps apply to upgrades starting from version 5.2.0 and above.


 Click here to show/hide the steps to upgrade 5.2 versions

Upgrade steps for 5.2 versions


Unable to render {include} The included page could not be found.




Configure Abiquo after the upgrade

  1. Before you start the Abiquo tomcat server, add Abiquo configuration properties to the abiquo.properties file.
    By default the abiquo.properties file is found in the /opt/abiquo/config/ folder.
    See Changes to Abiquo configuration properties

  2. Configure the user interface. The default UI location is /var/www/html/ui.
    Optional: 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. See Configure Abiquo UI
    If your API is not in the same domain as the UI, set the API endpoint pointing to your Abiquo API server:

    {
        "config.endpoint": "http://myAPIserver/api"
    }
  3. Reporting changes: To upgrade the Abiquo Reports database for the upgrade to Abiquo 4.7.x+, contact Abiquo Support for the file and procedure.




Start Abiquo servers and services

Start Abiquo servers and services


To start the Abiquo platform servers and services, do these steps:

  1. On the Abiquo server, restart the HTTP daemon to refresh the user interface files, and bring up the Tomcat server.

    service httpd start
    service abiquo-tomcat start
  2. On the Remote services server, start the Tomcat server

    service abiquo-tomcat start
  3. On the Monitoring server do these steps.

    1. Edit the file /opt/kairosdb/conf/kairosdb.properties to update the name of the following variable and to remove the port from it:

      1. Replace the line kairosdb.datastore.cassandra.host_list=192.168.888.999:9160.

      2. With this line kairosdb.datastore.cassandra.cql_host_list=192.168.888.999. Please note the new cql_ prefix for host_list.

    2. Edit the file /etc/cassandra/conf/cassandra.yml OR /etc/cassandra/default.conf/cassandra.yaml (whichever exists) to remove a variable:

      1. Remove the line starting with kairosdb.datastore.cassandra.datapoint_ttl and save and close the file.

    3. Edit the file /opt/kairosdb/conf/kairosdb.properties to add a new variable (ref: Internal JIRA SUP-333):

      1. Add kairosdb.datastore.cassandra.datapoint_ttl = 15768000

  4. On the Monitoring server, start the Cassandra service

    sudo service cassandra start
  5. WAIT about 5 minutes until the service is up and running

  6. Start the KairosDB service

    sudo service kairosdb start
  7. Start the other services in this order

    sudo service abiquo-emmett start
    sudo service abiquo-delorean start
  8. On the V2V server: restart the Tomcat server:

    service abiquo-tomcat restart

  9. In Abiquo, re-enable the physical machines! (smile)

  10. Clear your browser cache to prevent glitches in the UI

  • No labels