cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damodar Reddy Talakanti" <damoder.re...@citrix.com>
Subject Re: Review Request 15344: Enabling DB HA for cloud stack data bases using mysql active-active solution
Date Tue, 12 Nov 2013 12:43:43 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15344/
-----------------------------------------------------------

(Updated Nov. 12, 2013, 12:43 p.m.)


Review request for cloudstack, Abhinandan Prateek and Darren Shepherd.


Changes
-------

Fixing the issue with db connections after master goes down in case of having more than 2
db nodes.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-4916
    https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-4916


Repository: cloudstack-git


Description
-------

To enable Data base High Availability for cloud stack management server database. We have
used Mysql's connector parameters to switch between master and slaves along with mysql's 2-way
replication and chain way of replication for more than 2 nodes

https://wikis.oracle.com/display/CommSuite/MySQL+High+Availability+and+Replication+Information+For+Calendar+Server#MySQLHighAvailabilityandReplicationInformationForCalendarServer-MySQLServerTwoWayReplicationExample

Due ot this defect http://bugs.mysql.com/bug.php?id=68141 changed 2 files to have synchronized
for on block of statements which were cauing Thread BLOCKING..


Diffs (updated)
-----

  client/tomcatconf/db.properties.in 31e0803 
  framework/db/pom.xml 5af00a0 
  framework/db/src/com/cloud/utils/db/StaticStrategy.java PRE-CREATION 
  framework/db/src/com/cloud/utils/db/TransactionLegacy.java 39893bd 

Diff: https://reviews.apache.org/r/15344/diff/


Testing
-------

Basic sanity testing is done using 2 nodes. If any transaction(api request) is in between
and if server goes down then that api request will fail


Thanks,

Damodar Reddy Talakanti


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