You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2018/07/18 18:04:27 UTC

[couchdb-documentation] branch master updated: Configure cluster Erlang port range using vm.args

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

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new 211e71b  Configure cluster Erlang port range using vm.args
211e71b is described below

commit 211e71b74816b671dc57b8086bbf776dade68398
Author: Aleksandar Kodzhabashev <d3...@users.noreply.github.com>
AuthorDate: Wed Jul 18 17:32:33 2018 +0300

    Configure cluster Erlang port range using vm.args
    
    Ports specified in sys.config as per previous documentation seem to be ignored by CouchDB
---
 src/cluster/setup.rst | 29 +++++++----------------------
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/src/cluster/setup.rst b/src/cluster/setup.rst
index d7fb40f..683062f 100644
--- a/src/cluster/setup.rst
+++ b/src/cluster/setup.rst
@@ -119,31 +119,16 @@ To close the shells, run in both:
 Make CouchDB use the open ports.
 --------------------------------
 
-Open ``sys.config``, on all nodes, and add ``inet_dist_listen_min, 9100`` and
-``inet_dist_listen_max, 9200`` like below:
+Open ``vm.args``, on all nodes, and add ``-kernel inet_dist_listen_min 9100``
+and ``-kernel inet_dist_listen_max 9200`` like below:
 
 .. code-block:: erlang
 
-    [
-        {lager, [
-            {error_logger_hwm, 1000},
-            {error_logger_redirect, true},
-            {handlers, [
-                {lager_console_backend, [debug, {
-                    lager_default_formatter,
-                    [
-                        date, " ", time,
-                        " [", severity, "] ",
-                        node, " ", pid, " ",
-                        message,
-                        "\n"
-                    ]
-                }]}
-            ]},
-            {inet_dist_listen_min, 9100},
-            {inet_dist_listen_max, 9200}
-        ]}
-    ].
+    -name ...
+    -setcookie ...
+    ...
+    -kernel inet_dist_listen_max 9100
+    -kernel inet_dist_listen_max 9200
 
 .. _cluster/setup/wizard: