Re: MySQL HA

2018-07-05 Thread Alireza Eskandari
eases. > > > - Rohit > > <https://cloudstack.apache.org> > > > > > From: Alireza Eskandari > Sent: Wednesday, July 4, 2018 8:13:16 PM > To: dev@cloudstack.apache.org > Cc: rafaelweingart...@gmail.com > Subject: Re:

Re: MySQL HA

2018-07-05 Thread Rohit Yadav
o: dev@cloudstack.apache.org Cc: rafaelweingart...@gmail.com Subject: Re: MySQL HA Hi Your fix works as expected, thanks. But today I update CS to 4.9.3.1 and it seems that the fix was not ported to this version. Could you please send me an updated version of that jar file? Regards On Mon, Dec 18, 2017, 14:03

Re: MySQL HA

2018-07-04 Thread Alireza Eskandari
Hi Your fix works as expected, thanks. But today I update CS to 4.9.3.1 and it seems that the fix was not ported to this version. Could you please send me an updated version of that jar file? Regards On Mon, Dec 18, 2017, 14:03 Rafael Weingärtner wrote: > Here is a fix: > > https://www.dropbox.c

Re: MySQL HA

2017-12-18 Thread Alireza Eskandari
Yes, I'll keep it and do some stress tests on it to be sure about its functionality. On Dec 18, 2017 14:53, "Rafael Weingärtner" wrote: > So, this fixed the problem? > Can you keep this running for a while longer? Just to make sure. Then, I > can open a PR to fix it in master. > > On Mon, Dec 18

Re: MySQL HA

2017-12-18 Thread Rafael Weingärtner
So, this fixed the problem? Can you keep this running for a while longer? Just to make sure. Then, I can open a PR to fix it in master. On Mon, Dec 18, 2017 at 9:02 AM, Alireza Eskandari wrote: > Thank you Rafael, > I test your fix and it seems that I have got the expected result. You > can see

Re: MySQL HA

2017-12-18 Thread Alireza Eskandari
Thank you Rafael, I test your fix and it seems that I have got the expected result. You can see the exception raised for database failover. I should notice I replace the file for cloudstack-mnagement and cloudstack-usage: /usr/share/cloudstack-usage/lib/cloud-framework-cluster-4.9.3.0.jar /usr/shar

Re: MySQL HA

2017-12-18 Thread L Radhakrishna Rao
On 18-Dec-2017 4:03 PM, "Rafael Weingärtner" wrote: > Here is a fix: > https://www.dropbox.com/s/kgakhs3v05uz88x/cloud- > framework-cluster-4.9.3.0.jar?dl=1 > You need to replace this jar file in CloudStack installation. You should > also backup the original jar and restore it as soon as you fini

Re: MySQL HA

2017-12-18 Thread Rafael Weingärtner
Here is a fix: https://www.dropbox.com/s/kgakhs3v05uz88x/cloud-framework-cluster-4.9.3.0.jar?dl=1 You need to replace this jar file in CloudStack installation. You should also backup the original jar and restore it as soon as you finish testing. To replace the JARs, you need to stop ACS, and just t

Re: MySQL HA

2017-12-16 Thread Alireza Eskandari
I'm using CS 4.9.3.0-shapeblue0 On Sat, Dec 16, 2017 at 12:49 PM, Rafael Weingärtner wrote: > Awesome! > I found one method that might seem the cause of the problem. > What is the version of ACS that you are using? > > On Sat, Dec 16, 2017 at 4:10 AM, Alireza Eskandari > wrote: > >> Hi >> >> Gab

Re: MySQL HA

2017-12-16 Thread Rafael Weingärtner
Awesome! I found one method that might seem the cause of the problem. What is the version of ACS that you are using? On Sat, Dec 16, 2017 at 4:10 AM, Alireza Eskandari wrote: > Hi > > Gabriel, > My configuration is same as your suggestion, but I get the errors. > > Rafael, > You are right. I con

Re: MySQL HA

2017-12-15 Thread Alireza Eskandari
Hi Gabriel, My configuration is same as your suggestion, but I get the errors. Rafael, You are right. I confirm that CS works normally but I get those warnings. I would make me happy to help you for this fix :) On Tue, Dec 12, 2017 at 3:30 PM, Rafael Weingärtner wrote: > Alireza, > This is a w

Re: MySQL HA

2017-12-12 Thread Rafael Weingärtner
Alireza, This is a warning and should not cause you much trouble. I have been trying to pin point this problem for quite some time now. If I generate a fix, would you be willing to test it? On Tue, Dec 12, 2017 at 8:56 AM, Gabriel Beims Bräscher < gabrasc...@gmail.com> wrote: > Hi Alireza, > > I

Re: MySQL HA

2017-12-12 Thread Gabriel Beims Bräscher
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 replic

Re: MySQL HA

2017-12-12 Thread Alireza Eskandari
I have opened a new jira ticket about this problem: https://issues.apache.org/jira/browse/CLOUDSTACK-10186