Admin Guide 1. Abiquo: Upgrading
This section describes how to prepare to upgrade from any previous version of Abiquo 3.x to the current version.
Please contact Abiquo Support for further information.
1. Prevent cloud users from performing VM operations
- In the User Interface, in Infrastructure view, 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
On the Abiquo API Server, check the RabbitMQ queues are empty
sudo rabbitmqctl list_queues messages name
The number of messages in each of the queues in the list should 0
Check for any active V2V conversions by checking for the V2V or Mechadora processes
$ ps aux | grep v2v $ ps aux | grep mechadora
3. Stop platform services
Abiquo Server
service abiquo-tomcat stop service httpd stop
Remote Services
service abiquo-tomcat stop
- V2V Server
- The BPM remote service is run on-demand only, so there is no need to stop anything
KVM
service abiquo-aim stop
LVM
service abiquo-lvmiscsi stop
4. Back up the main platform elements
Back up MySQL
mysqldump --routines --triggers kinton > kinton_dump_`date +%d%m%y`.sql mysqldump --routines --triggers kinton_accounting > kinton_accounting_dump_`date +%d%m%y`.sql
Back up Redis
redis-cli lastsave bgsave lastsave
Back up the contents of opt abiquo
tar cvfz opt-abiquo.tgz /opt/abiquo
Backup user interface
tar cvfz var-www-html-ui.tgz /var/www/html/ui