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

  1. Log in to the API/UI server as an administrator

  2. To use the separate database on the datanode server, edit the tomcat configuration at /opt/abiquo/tomcat/conf/Catalina/localhost/api.xml

  3. 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"/>
  4. Change the user and password. If you need more information, please contact Abiquo Support

  5. 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:

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

  1. Log in to the datanode server as an administrator

  2. Configure the Galera cluster with the following command

  3. Edit the RabbitMQ environment configuration file at /etc/rabbitmq/rabbitmq-env.conf

  4. Set the nodename that corresponds to the server, such as rabbit@services1

  5. Restart the RabbitMQ service

  6. Then run the following command

 


Monitoring node

Do these steps on the monitoring node to build a cluster with one node.

  1. Log in to the monitoring server

  2. Edit the Cassandra configuration file at:

     

    1. Remove the seeds value. In this example, remove x.x.x.x

       

    2. Add the IP of the monitoring VM as the new seeds value.

  3. Edit the KairosDB properties file at:

    1. Remove the this property

    2. Add this property (note the cql_” in the name) and set the value as the IP address of the monitoring node, without the port

  4. Edit the watchtower properties files at:

  5. Set the URL of the MySQL server connection (as for the API server) with the IP address of the Watchtower server

  6. Set the database credentials

  7. Restart the cluster

    1. Stop the services:

      1. cassandra

      2. kairosdb

      3. abiquo-emmett

      4. abiquo-delorean

      5. firewalld (and allow connections as required)

    2. Start cassandra and wait 5 minutes before continuing

    3. Start kairosdb and wait 1 minute

    4. Start abiquo-emmett and abiquo-delorean

    5. Start firewalld

The cluster of one node should now be fully functioning.

 

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