...
Download the
server
OVA file and launch it. For details of how to deploy an OVA in VMware, see OVA deployment for distributed scalableEnter the standard parameters for the API UI server, which are as follows:
Friendly hostname, e.g.
server-ova
, which must be a valid Linux hostnameManagement interface IPv4 Address, e.g.
10.60.10.100
, which should be a static network configurationManagement interface IPv4 Netmask, e.g.
255.255.255.0
Default Gateway, e.g.
10.60.10.1
Space separated DNS Server list, e.g.
10.60.10.1
Space separated NTP Server list, e.g.
10.60.10.1
, which is required for features that depend on clock synchronization
Enter the API/UI server parameters
Abiquo API server FQDN, e.g.
serverova.lab.abiquo.com
This FQDN must be resolvable from customer premises for SSL and the Appliance manager to work properly
Remote Services IP, e.g.
10.60.10.110
Watchtower IP, e.g.
10.60.10.102
...
...
Services datanode
We will deploy a single services datanode
server to form a cluster of one node. Later, you can easily deploy more nodes and add them to the cluster.
Download the
services
datanode OVA file and launch it.Enter the standard parameters for the services datanode server. The description of the parameters is the same as above
Friendly hostname, e.g.
servicesova
, enter a valid Linux hostnameManagement interface IPv4 Address, e.g.
10.60.10.185
, which should be a static network configuration
Enter the
services
datanode server parametersServices cluster IPs, e.g.
10.60.10.185
, which is the IP of this server because the cluster will only have one node
...
Post install steps
DatanodeServices datanode
Log in to the services datanode server as an administrator
Configure the Galera cluster with the following command
Code Block galera_new_cluster
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
Code Block systemctl restart rabbitmq-server.service
Then run the following command
Code Block /usr/local/abiquo/setup build_cluster
Note that this command will output the default user and password of the database, so for a test system behind a firewall, you can use that in the next step.
...
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 IP address of the services datanode server, where your Galera database cluster is running .
Remove this line:Code Block 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:Code Block driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://{SERVICES_DATANODE_IP_ADDRESS}:3306/kinton?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"/>
Change the
user
andpassword
. If you need more information, please contact Abiquo Support
Edit the
abiquo.properties
file at/opt/abiquo/config/abiquo.properties
:.SetChange the IP address of the
services datanode
and add the
port of the
Redis
instance, and the FQDN of the API. Also deactivate monitoring until you deploy the monitoring node.
Code Block abiquo.rabbitmq.addresses = {SERVICES_DATANODE_IP_ADDRESS}
abiquo.redis.host = {SERVICES_DATANODE_IP_ADDRESS} abiquo.redis.port = 6379 abiquo.monitoring.enabled=false abiquo.server.api.location = https://{API_FQDN}/api
Save the properties file and restart the
abiquo-tomcat
serverCode Block
systemctl restart abiquo-tomcat.service
To check when the Abiquo server has started you can follow the end of the log with the following command until the API has started and connected to the services.
Code Block tail -f /opt/abiquo/tomcat/logs/catalina.out
...