Post-OVA configuration for Distributed scalable
This document describes the post-install configuration after you deploy the Abiquo OVAs if you deploy them all that once. To deploy and configure the services progressively, see Install a distributed scalable environment
This configuration is required for a Distributed scalable environment, which means that there is only 1 node in the datanode cluster and 1 datanode in the Monitoring cluster.
Abiquo API UI Server
After you deploy the OVA, do these configuration steps
Log in to the API/UI server as an administrator
To use the separate database on the datanode server, edit the tomcat configuration at
/opt/abiquo/tomcat/conf/Catalina/localhost/api.xml
Change the DB endpoint from localhost to the Galera cluster (datanode server)
Remove:driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/kinton?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"/>
Add this line and replace
{DATANODE_IP_ADDRESS}
with the IP address of your datanode server:driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://{DATANODE_IP_ADDRESS}:3306/kinton?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"/>
Change the user and password. If you need more information, please contact Abiquo Support
To point to the datanode instead of the local host for RabbitMQ and Redis, edit the
abiquo.properties
file at/opt/abiquo/config/abiquo.properties
:Change the values of the following properties to be the IP address of the datanode
abiquo.rabbitmq.addresses={DATANODE_IP_ADDRESS} abiquo.redis.host={DATANODE_IP_ADDRESS}
Datanode services cluster
Do these steps on the datanode server to create a cluster with one node.
Log in to the datanode server as an administrator
Configure the Galera cluster with the following command
Edit the RabbitMQ environment configuration file at
/etc/rabbitmq/rabbitmq-env.conf
Set the
nodename
that corresponds to the server, such asrabbit@services1
Restart the RabbitMQ service
Then run the following command
Monitoring node
Do these steps on the monitoring node to build a cluster with one node.
Log in to the monitoring server
Edit the Cassandra configuration file at:
Remove the seeds value. In this example, remove
x.x.x.x
Add the IP of the monitoring VM as the new seeds value.
Edit the KairosDB properties file at:
Remove the this property
Add this property (note the “cql_” in the name) and set the value as the IP address of the monitoring node, without the port
Edit the watchtower properties files at:
Set the URL of the MySQL server connection (as for the API server) with the IP address of the Watchtower server
Set the database credentials
Restart the cluster
Stop the services:
cassandra
kairosdb
abiquo-emmett
abiquo-delorean
firewalld (and allow connections as required)
Start cassandra and wait 5 minutes before continuing
Start kairosdb and wait 1 minute
Start abiquo-emmett and abiquo-delorean
Start firewalld
The cluster of one node should now be fully functioning.
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved