...
To use the separate database cluster in Abiquo, edit the tomcat configuration at:
Code Block /opt/abiquo/tomcat/conf/Catalina/localhost/api.xml
Change the DB endpoint from localhost to the Galera cluster.
Remove:Code Block driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/kinton? autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"/>
Add:
We added some line breaks to make this more readable but it should be all on one line 😞Code Block driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://10.10.51.105:3306,10.10.51.106:3306,10.10.51.107:3306/kinton? autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"/>
Change the user and password. Please contact Abiquo Support for more information
To point to the services cluster instead of the local host for RabbitMQ and Redis, edit the abiquo.properties file at:
Code Block /opt/abiquo/config/abiquo.properties
Set the RabbitMQ property
Code Block abiquo.rabbitmq.addresses=
Enter the three IPs in the datanode services cluster, separated by commas.
For example:Code Block abiquo.rabbitmq.addresses=10.60.30.185,10.60.30.186,10.60.30.187
Set the Redis host property
Code Block abiquo.redis.host=
Enter the master IP of the cluster, which be the IP of the first VM deployed in the cluster.
For example:Code Block abiquo.redis.host=10.60.30.185
...