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 4 Next »

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 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

  1. Check that the Abiquo RabbitMQ queues are empty. The number of messages in all queues must be 0:

    # 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.

    On standard environment, the RabbitMQ service is in the Abiquo API server. Depending on the environment, this will by the Abiquo Monolithic or the Abiquo Server appliance.



  2. 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

  1. Abiquo Server

    service abiquo-tomcat stop
    service httpd stop
  2. Remote Services

    service abiquo-tomcat stop
  3. V2V Server
    1. The BPM remote service is run on-demand only, so there is no need to stop anything


  4. KVM

    service abiquo-aim stop
  5. LVM

    service abiquo-lvmiscsi stop

4. Back up the main platform elements

  1. 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
  2. Back up Redis

    redis-cli
    lastsave
    bgsave
    lastsave

    Copy the dump of the database from /var/lib/redis/dump.rdb to a secure location

  3. Back up the contents of opt abiquo

    tar cvfz opt-abiquo.tgz /opt/abiquo
  4. Backup user interface

    tar cvfz var-www-html-ui.tgz /var/www/html/ui
  • No labels