SonaQube Clustering - HA

270 views
Skip to first unread message

mave...@gmail.com

unread,
Nov 16, 2015, 1:10:27 PM11/16/15
to SonarQube
Hello,

I was looking to cluster SonarQube as my organization is using it a lot.

We made a stack, and it worked for a little.

* Docker container of 5.2
* Docker Swarm (scale 4 sonars)
* Behind a HAProxy.
* Same database (Oracle 11g)

All working fine, we've migrate some projects to production, first problems showing up:
- No SSO (problably solved by LDAP Plugin, not tested)
- Files are not shared trough cluster, so temp files are problem, mount need to be shared between containers.

If I share my disk into all containers and get LDAP plugin configure SSO and so, should I get it working?

The actual error:  {"errors":[{"msg":"Logs of task AVEQ1Rx0cqtGU-Vf-ZUM not found"}]}
I lost log files, but it shows file not found on that AVEQ1Rx0cqtGU-Vf-ZUM string.

I know https://jira.sonarsource.com/browse/SONAR-5391 is a open issue for 5.X LTS, it seems so close to work that I wanted to share my problems, maybe we get some solution.

Should I step back on idea of cluster?

Simon Brandhof

unread,
Nov 16, 2015, 1:47:05 PM11/16/15
to mave...@gmail.com, SonarQube
Hi,

Clustering is not supported for various reasons like startup tasks and SONAR-5391. It can't work, so your environment can't be production-ready. 
Unfortunately no need to share the problems you face, causes are already known. 

Regards


Simon BRANDHOF | SonarSource
Tech Lead & Co-Founder
http://twitter.com/SimonBrandhof

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/5fc0885d-e1d8-4294-85c1-41a79859025c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages