Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Note

Changes to enterprise properties for AWS billing

  • Before you upgrade to Abiquo 6.0.0, add the amazon_bucket_region as an enterprise property. The value is the code for the AWS region where your billing bucket is located (for example, us-east-1). This property applies to AWS resellers and standard accounts with billing dashboard configurations



3. Prevent cloud users from performing VM operations

...

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.

5. Back up the main platform elements

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

Note

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

...

languagebash

...

6. Stop platform services

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

Note

if there are operations in progress, DO NOT STOP the platform services because this can cause serious issues with your platform.
See Check for operations in progress on the platform and wait for all operations to complete

To stop platform services:

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

    Code Block
    systemctl stop abiquo-tomcat

  2. Stop the UI on the API server or monolithic server or dedicated UI server

    Code Block
    systemctl stop httpd

  3. Stop remote services server

    Code Block
    systemctl stop abiquo-tomcat

  4. V2V Server
    You do not need to stop anything because the BPM remote service is run on-demand only

  5. Stop monitoring server

    Code Block
    systemctl stop abiquo-delorean
    systemctl stop abiquo-emmett
    systemctl stop kairosdb
    systemctl stop cassandra

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

All processes on platform servers should now be halted.

...

Back up the main platform elements

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

Note

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

Code Block
languagebash
# On DB server, back up the Abiquo WatchtowerMySQL DBDBs
mysqldump --routines --triggers watchtowerkinton            > watchtowerkinton.sql-$(date +%Y%m%d_%H%M%S)
mysqldump --routines --triggers kinton_accounting # On the Abiquo API Server or UI> kinton_accounting.sql-$(date +%Y%m%d_%H%M%S)

# On the Monitoring server, back up theWatchtower UIDB
tarmysqldump cvfz /var/www/html/ui.tgz---routines --triggers watchtower            > watchtower.sql-$(date +%Y%m%d_%H%M%S) /var/www/html/ui

# IfOn youthe areAbiquo usingAPI SAMLServer authenticationor withUI multiple IdPsserver, onback ALLup Abiquothe APIUI
Servers,tar back up this file
cp 
/opt/abiquo/tomcat/webapps/api/WEB-INF/classes/springresources/security/saml/security-saml-generated-beans.xml /opt/abiquo/tomcat/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-$(date
 +%Y%m%d_%H%M%S /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)

6. Stop platform services

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

Note

if there are operations in progress, DO NOT STOP the platform services because this can cause serious issues with your platform.
See Check for operations in progress on the platform and wait for all operations to complete

To 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

...

V2V Server
You do not need to stop anything because the BPM remote service is run on-demand only

Stop 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

All processes on platform servers should now be halted.

...

7. Make snapshots and backups of all platform servers

...