You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/02/13 06:00:22 UTC

[incubator-skywalking] branch remote-host updated: Provide document for internalComHost and internalComPort

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch remote-host
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/remote-host by this push:
     new add510a  Provide document for internalComHost and internalComPort
add510a is described below

commit add510a7978f9873bef303b1a052564d0bcec994
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Feb 13 14:00:02 2019 +0800

    Provide document for internalComHost and internalComPort
---
 docs/en/setup/backend/backend-cluster.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/docs/en/setup/backend/backend-cluster.md b/docs/en/setup/backend/backend-cluster.md
index 4ce144d..60a4467 100644
--- a/docs/en/setup/backend/backend-cluster.md
+++ b/docs/en/setup/backend/backend-cluster.md
@@ -30,6 +30,22 @@ cluster:
 - `hostPort` is the list of zookeeper servers. Format is `IP1:PORT1,IP2:PORT2,...,IPn:PORTn`
 - `hostPort`, `baseSleepTimeMs` and `maxRetries` are settings of Zookeeper curator client.
 
+In some cases, oap default gRPC host and port in core are not suitable for internal communication among the oap nodes.
+The following setting are provided to set the hot and port manually, based on your own LAN env.
+- internalComHost, the host registered and other oap node use this to communicate with current node.
+- internalComPort, the port registered and other oap node use this to communicate with current node.
+
+```yaml
+zookeeper:
+  nameSpace: ${SW_NAMESPACE:""}
+  hostPort: ${SW_CLUSTER_ZK_HOST_PORT:localhost:2181}
+  #Retry Policy
+  baseSleepTimeMs: ${SW_CLUSTER_ZK_SLEEP_TIME:1000} # initial amount of time to wait between retries
+  maxRetries: ${SW_CLUSTER_ZK_MAX_RETRIES:3} # max number of times to retry
+  internalComHost: 172.10.4.10
+  internalComPort: 8080
+``` 
+
 
 ## Kubernetes
 Require backend cluster are deployed inside kubernetes, guides are in [Deploy in kubernetes](backend-k8s.md).
@@ -56,3 +72,9 @@ cluster:
     # Consul cluster nodes, example: 10.0.0.1:8500,10.0.0.2:8500,10.0.0.3:8500
     hostPort: ${SW_CLUSTER_CONSUL_HOST_PORT:localhost:8500}
 ```
+
+Same as Zookeeper coordinator,
+in some cases, oap default gRPC host and port in core are not suitable for internal communication among the oap nodes.
+The following setting are provided to set the hot and port manually, based on your own LAN env.
+- internalComHost, the host registered and other oap node use this to communicate with current node.
+- internalComPort, the port registered and other oap node use this to communicate with current node.
\ No newline at end of file