Abiquo migration: from Centos to Ubuntu

This document describes how to migrate your Abiquo platform from CentOS to Ubuntu distribution.

1. CentOS API-UI Servers

On each API Server do these steps.

  1. Stop services:

service abiquo-tomcat stop
  1. Copy client-config-custom.json and abiquo.properties files to Ubuntu server:

scp /var/www/html/ui/config/client-config-custom.json user@ubuntu_server_ip:/var/www/html/ui/config/client-config-custom-centos.json scp /opt/abiquo/config/abiquo.properties user@ubuntu_server_ip:/opt/abiquo/config/abiquo.properties-centos

 

2. CentOS Remote Services Servers

  1. Stop services:

service abiquo-tomcat stop
  1. Backup redis and stop the service:

  1. Copy redis and abiquo.properties files to Ubuntu server:

 

3. CentOS Services Servers

  1. Backup redis and stop the service:

  1. Copy redis files to Ubuntu server:

  1. Backup MySQL and copy it to Ubuntu server:

 

4. CentOS Monitoring Servers

  1. Stop services:

  1. Backup Watchtower db and copy it to Ubuntu server:

5. Ubuntu API-UI Servers

  1. Stop services:

  1. Remove default configuration:

  1. Modify the abiquo.properties Ubuntu file according to the abiquo.properties file from CentOS. In this case, delete the properties: abiquo.m.identity, abiquo.m.credential, abiquo.m.instanceid y abiquo.server.api.location = http://127.0.0.1:8009/api and then add the property abiquo.api.zk.serverConnection=10.10.204.77 -> services IP

6. Ubuntu Remote Services Servers

  1. Stop services:

  1. Modify the abiquo.properties Ubuntu file according to the abiquo.properties file from CentOS.

  2. Restore Redis CentOS backup in Ubuntu server:

7. Ubuntu Services Servers

  1. Import MySQL data from CentOS:

  1. Restore Redis CentOS backup in Ubuntu server:

8. Ubuntu Monitoring Servers

  1. Stop services:

  1. Import Watchtower db data from CentOS:

9. Start services in all Ubuntu Servers

In API-UI and Remote Services:

In Monitoring Server:

Wait 5 minutes:

Wait for 1 minute:

 

From the Abiquo UI modify the RS to point the new RS Ubutnu Servers.

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved