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/23 23:57:43 UTC
[couchdb-documentation] 11/18: 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 2.2.0-release-notes
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
commit d35007288ea6844095d86d99488761fca6d34401
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: