Table of Contents |
---|
...
Note |
---|
Changes to enterprise properties for AWS billing
|
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. |
...
language | bash |
---|
...
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. |
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 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
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 | ||
---|---|---|
| ||
# 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. |
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
...