This section describes how to prepare to upgrade from any previous version of Abiquo to the current version. Please contact Abiquo Support for further information.
Table of Contents |
---|
1. Prevent cloud users from performing VM operations
In the UI Infrastructure tab, select each physical machine and click Disable
Using the API, set the state of each physical machine to DISABLED
2. Check for operations in progress on the platform
Check that the Abiquo RabbitMQ queues are empty. The number of messages in all queues must be 0:
Code Block # 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.
In a standard environment, the RabbitMQ service is on the Abiquo API server. Depending on the environment, this will be the Abiquo Monolithic or the Abiquo Server appliance.
Check for any active V2V conversions by checking for the V2V or Mechadora processes
Code Block $ ps aux | grep v2v $ ps aux | grep mechadora
3. Stop platform services
Stop the API on the API server or monolithic server
Code Block systemctl stop abiquo-tomcat
Stop the UI on the API server or monolithic server or dedicated UI server
Code Block systemctl stop httpd
Stop remote services server
Code Block systemctl stop abiquo-tomcat
Stop the database on the monolithic server or database server.
Code Block 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
Stop RabbitMQ (on the monolithic server or API server or Datanode)
Code Block systemctl stop rabbitmq-server
V2V Server -
You do not need to stop anything because the BPM remote service is run on-demand onlyStop monitoring server
Code Block systemctl stop abiquo-delorean systemctl stop abiquo-emmett systemctl stop kairosdb systemctl stop cassandra
On the monitoring server, check if Cassandra is really dead
Code Block 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.
Code Block kill -9 12345
4. Back up the main platform elements
Include Page | ||||
---|---|---|---|---|
|
...