How to clustering with 3 node? and how to start it?

here my configuration…

node {
name = “emqx3@10.21.85.204
cookie = “emqxsecretcookie”
data_dir = “data”
}

log {
file_handlers.default {
level = warning
file = “log/emqx.log”
}
}

emqx.cluster {
name = emqxcl
discovery_strategy = auto
auto_join = on
seed_mode = static
emqx_cluster_static_seed=“["emqx1@10.21.85.208","emqx2@10.21.85.202","emqx3@10.21.85.204"]”
}

listeners.tcp.default {
bind = “0.0.0.0:1883”
max_connections = 1024000
}

listeners.ssl.default {
bind = “0.0.0.0:8883”
max_connections = 512000
ssl_options {
keyfile = “etc/certs/key.pem”
certfile = “etc/certs/cert.pem”
cacertfile = “etc/certs/cacert.pem”
}
}

listeners.ws.default {
bind = “0.0.0.0:8083”
max_connections = 1024000
websocket.mqtt_path = “/mqtt”
}

listeners.wss.default {
bind = “0.0.0.0:8084”
max_connections = 512000
websocket.mqtt_path = “/mqtt”
ssl_options {
keyfile = “etc/certs/key.pem”
certfile = “etc/certs/cert.pem”
cacertfile = “etc/certs/cacert.pem”
}
}

dashboard {
listeners.http {
bind = 18083
}
default_username = “admin”
default_password = “public”
}

authorization {
deny_action = ignore
no_match = allow
sources = [
{
type = file
enable = true
# This file is immutable to EMQX.
# Once new rules are created from dashboard UI or HTTP API,
# the file ‘data/authz/acl.conf’ is used instead of this one
path = “etc/acl.conf”
}
]
}

Hello,

This configuration doesn’t look valid. For example, discovery_strategy can’t be auto, it should be one of these values:

Please check the relevant example explaining how to configure static discovery:

node {
name = “emqx2@10.21.85.204
cookie = “emqxsecretcookie”
data_dir = “data”
}

log {
file_handlers.default {
level = warning
file = “log/emqx.log”
}
}

Like this?

emqx.cluster {
name = emqxcl
discovery_strategy = auto
auto_join = on
seed_mode = auto
}

No, this still doesn’t make sense.
The second link from my previous post has example code. Please copy it as is, and just replace node names.

this is from my cluster of 3 nodes (part of config):


node {
  name = "host1@name.com"
  cookie = "secretcookie"
  data_dir = "data"
}

log {
  file_handlers.default {
    level = warning
    file = "log/emqx.log"
  }
}

cluster {
  name = emqx
  discovery_strategy = static
  static {
        seeds = ["host1@name.com", "host2@name.com", "host3@name.com"]
    }

}


ant this is work