Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5687

Support of Elasticsearch clustering

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: ElasticSearch, Scalability
    • Labels:
      None

      Description

      By default cluster mode is disabled. To enable, the following properties must be set :

      • On master:
      sonar.cluster.activate=true
      sonar.cluster.master=true
      
      • On slaves:
      sonar.cluster.activate=true
      sonar.cluster.master=false
      sonar.cluster.masterHost=<host/ip of master:port>
      
      # the following property must be set in order to not fall to the default value (9001) which might already be used by the master
      sonar.search.port=<a port not already binded>
      

      When cluster is enabled:

      • Set the ES replication factor to 1 for all ES indexes
      • Increase the ES timeout value to boot and reach the yellow state to 2 mn

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: