From 6841db5dea25f3121a0851ec2ca706c5bb122347 Mon Sep 17 00:00:00 2001 From: tobias-trabelsi-sonarsource <64127335+tobias-trabelsi-sonarsource@users.noreply.github.com> Date: Wed, 3 Jun 2020 10:01:43 +0200 Subject: [PATCH] DOCS mentioned sonar.cluster.node.host is mandatory --- server/sonar-docs/src/pages/setup/install-cluster.md | 5 +++++ server/sonar-docs/src/pages/setup/operate-cluster.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/server/sonar-docs/src/pages/setup/install-cluster.md b/server/sonar-docs/src/pages/setup/install-cluster.md index e32694f9292..fdb75c46395 100644 --- a/server/sonar-docs/src/pages/setup/install-cluster.md +++ b/server/sonar-docs/src/pages/setup/install-cluster.md @@ -88,6 +88,7 @@ sonar.cluster.enabled=true sonar.cluster.hosts=ip1,ip2 sonar.cluster.search.hosts=ip3,ip4,ip5 sonar.cluster.node.type=application +sonar.cluster.node.host=ip1 sonar.auth.jwtBase64Hs256Secret=YOURGENERATEDSECRET ... ``` @@ -99,6 +100,7 @@ sonar.cluster.enabled=true sonar.cluster.hosts=ip1,ip2 sonar.cluster.search.hosts=ip3,ip4,ip5 sonar.cluster.node.type=application +sonar.cluster.node.host=ip2 sonar.auth.jwtBase64Hs256Secret=YOURGENERATEDSECRET ... ``` @@ -111,6 +113,7 @@ sonar.auth.jwtBase64Hs256Secret=YOURGENERATEDSECRET sonar.cluster.enabled=true sonar.cluster.search.hosts=ip3,ip4,ip5 sonar.cluster.node.type=search +sonar.cluster.node.host=ip3 sonar.search.host=ip3 ... ``` @@ -121,6 +124,7 @@ sonar.search.host=ip3 sonar.cluster.enabled=true sonar.cluster.search.hosts=ip3,ip4,ip5 sonar.cluster.node.type=search +sonar.cluster.node.host=ip4 sonar.search.host=ip4 ... ``` @@ -131,6 +135,7 @@ sonar.search.host=ip4 sonar.cluster.enabled=true sonar.cluster.search.hosts=ip3,ip4,ip5 sonar.cluster.node.type=search +sonar.cluster.node.host=ip5 sonar.search.host=ip5 ... ``` diff --git a/server/sonar-docs/src/pages/setup/operate-cluster.md b/server/sonar-docs/src/pages/setup/operate-cluster.md index 9d8090108da..231290823c1 100644 --- a/server/sonar-docs/src/pages/setup/operate-cluster.md +++ b/server/sonar-docs/src/pages/setup/operate-cluster.md @@ -51,6 +51,7 @@ To add an Application Node: sonar.cluster.enabled=true sonar.cluster.hosts=ip1,ip2,ip6 sonar.cluster.search.hosts=ip3,ip4,ip5 + sonar.cluster.node.host=ip6 sonar.cluster.node.type=application sonar.auth.jwtBase64Hs256Secret=YOURGENERATEDSECRET ... @@ -103,7 +104,7 @@ Property | Description | Default | Required | `sonar.cluster.search.hosts`|Comma-delimited list of search hosts in the cluster. Each item in the list must contain the port if the default `sonar.search.port` value is not used. Item format is `sonar.search.host` or `sonar.search.host:sonar.search.port`.| |yes `sonar.cluster.node.name`|The name of the node that is used on Elasticsearch and stored in Hazelcast member attribute (NODE_NAME) for sonar-application|`sonarqube-{UUID}`|no `sonar.cluster.node.type`|Type of node: either `application` or `search`| |yes -`sonar.cluster.node.host`|IP address of the network card that will be used by Hazelcast to communicate with the members of the cluster. If not specified, the first interface will be chosen (note that loopback interfaces won't be selected)| |no +`sonar.cluster.node.host`|IP address of the network card that will be used by Hazelcast to communicate with the members of the cluster| |yes ### Application nodes -- 2.39.5