cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Beims Bräscher <>
Subject Re: MySQL HA
Date Tue, 12 Dec 2017 10:56:35 GMT
Hi Alireza,

I have production environments with Master to Master replication and
we have no problems. We may need more details of your configuration.
Have you configured the slave database? Are you sure that you configured
correctly the ha heuristic?

Considering that you already configured replication and "my.cnf", I will
focus on the CloudSack file.

When configuring Master-Master replication, you should have at
/etc/cloudstack/management/ something like:

#High Availability And Cluster Properties

cluster.node.IP=<cluster node IP>



"db.ha.loadBalanceStrategy" is confiugured with the heuristic

"db.ha.enabled" need to be “true”

The primary database is configured with the variable “”. The
secondary database(s) is(are) configured with the variable
“db.usage.slaves”. One variable that is different from both Apache
CloudStack servers is “cluster.node.IP”, being the ACS mgt IP.
Additionally, you will need to create a folder
“/usr/share/cloudstack-mysql-ha/lib/” and move the jar file
“cloud-plugin-database-mysqlha-” into the new folder.

mkdir -p /usr/share/cloudstack-mysql-ha/lib/


2017-12-12 6:30 GMT-02:00 Alireza Eskandari <>:

> I have opened a new jira ticket about this problem:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message