Add 'cluster.cookie' configuration
This commit is contained in:
parent
8a804c56f3
commit
e4ac8a56dd
|
@ -10,6 +10,9 @@
|
||||||
## The cluster Id
|
## The cluster Id
|
||||||
cluster.id = emq
|
cluster.id = emq
|
||||||
|
|
||||||
|
## Cookie for distributed node
|
||||||
|
cluster.cookie = emqsecretcookie
|
||||||
|
|
||||||
## The multicast address and port.
|
## The multicast address and port.
|
||||||
cluster.multicast = 239.192.0.1:44369
|
cluster.multicast = 239.192.0.1:44369
|
||||||
|
|
||||||
|
@ -85,6 +88,9 @@ log.syslog.level = error
|
||||||
## Console log file
|
## Console log file
|
||||||
## log.console.file = {{ platform_log_dir }}/console.log
|
## log.console.file = {{ platform_log_dir }}/console.log
|
||||||
|
|
||||||
|
## Info log file
|
||||||
|
## log.info.file = {{ platform_log_dir }}/info.log
|
||||||
|
|
||||||
## Error log file
|
## Error log file
|
||||||
log.error.file = {{ platform_log_dir }}/error.log
|
log.error.file = {{ platform_log_dir }}/error.log
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
{datatype, string}
|
{datatype, string}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
%% @doc Secret cookie for distributed erlang node
|
||||||
|
{mapping, "cluster.cookie", "vm_args.-setcookie", [
|
||||||
|
{default, "emqsecretcookie"}
|
||||||
|
]}.
|
||||||
|
|
||||||
%% Cluster Multicast Addr
|
%% Cluster Multicast Addr
|
||||||
{mapping, "cluster.multicast", "emqttd.cluster", [
|
{mapping, "cluster.multicast", "emqttd.cluster", [
|
||||||
{default, "239.192.0.1:44369"},
|
{default, "239.192.0.1:44369"},
|
||||||
|
|
Loading…
Reference in New Issue