Hello, We just switched to Elasticsearch 7.0.0.
What is the correct setting in the elasticsearch.yml file?
We are having issues shown below:
Log node 2
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] loaded module [x-pack-ml]
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] loaded module [x-pack-monitoring]
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] loaded module [x-pack-rollup]
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] loaded module [x-pack-security]
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] loaded module [x-pack-sql]
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] loaded module [x-pack-watcher]
[2019-10-22T16:57:24,317][INFO ][o.e.p.PluginsService ] [lumisportal-node-2] no plugins loaded
[2019-10-22T16:57:28,740][INFO ][o.e.x.s.a.s.FileRolesStore] [lumisportal-node-2] parsed [0] roles from file [E:\elasticsearch\config\roles.yml]
[2019-10-22T16:57:29,614][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [lumisportal-node-2] [controller/3020] [Main.cc@109] controller (64 bit): Version 7.1.0 (Build a8ee6de8087169) Copyright (c) 2019 Elasticsearch BV
[2019-10-22T16:57:30,067][DEBUG][o.e.a.ActionModule ] [lumisportal-node-2] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-10-22T16:57:30,192][INFO ][o.e.d.DiscoveryModule ] [lumisportal-node-2] using discovery type [zen] and seed hosts providers [settings]
[2019-10-22T16:57:31,223][INFO ][o.e.n.Node ] [lumisportal-node-2] initialized
[2019-10-22T16:57:31,223][INFO ][o.e.n.Node ] [lumisportal-node-2] starting ...
[2019-10-22T16:57:31,410][INFO ][o.e.t.TransportService ] [lumisportal-node-2] publish_address {IP_internal:9300}, bound_addresses {IP_internal:9300}
[2019-10-22T16:57:31,410][INFO ][o.e.b.BootstrapChecks ] [lumisportal-node-2] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-10-22T16:57:41,448][WARN ][o.e.c.c.ClusterFormationFailureHelper] [lumisportal-node-2] master not discovered yet: have discovered []; discovery will continue using [IP_internal:9300] from hosts providers and [{lumisportal-node-2}{TH8cWLD5TQa89m_uydyP2g}{_L8xfQ57Q7e0lU_y0ZjjPA}{IP_internal}{IP_internal:9300}{ml.machine_memory=34359267328, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-10-22T16:57:51,456][WARN ][o.e.c.c.ClusterFormationFailureHelper] [lumisportal-node-2] master not discovered yet: have discovered []; discovery will continue using [IP_internal:9300] from hosts providers and [{lumisportal-node-2}{TH8cWLD5TQa89m_uydyP2g}{_L8xfQ57Q7e0lU_y0ZjjPA}{IP_internal}{IP_internal:9300}{ml.machine_memory=34359267328, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-10-22T16:58:01,467][WARN ][o.e.n.Node ] [lumisportal-node-2] timed out while waiting for initial discovery state - timeout: 30s
[2019-10-22T16:58:01,467][WARN ][o.e.c.c.ClusterFormationFailureHelper] [lumisportal-node-2] master not discovered yet: have discovered []; discovery will continue using [IP_internal:9300] from hosts providers and [{lumisportal-node-2}{TH8cWLD5TQa89m_uydyP2g}{_L8xfQ57Q7e0lU_y0ZjjPA}{IP_internal}{IP_internal:9300}{ml.machine_memory=34359267328, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2019-10-22T16:58:01,482][INFO ][o.e.h.AbstractHttpServerTransport] [lumisportal-node-2] publish_address {IP_internal:9200}, bound_addresses {IP_internal:9200}
[2019-10-22T16:58:01,482][INFO ][o.e.n.Node ] [lumisportal-node-2] started
[2019-10-22T16:58:11,483][WARN ][o.e.c.c.ClusterFormationFailureHelper] [lumisportal-node-2] master not discovered yet: have discovered []; discovery will continue using [IP_internal:9300] from hosts providers and [{lumisportal-node-2}{TH8cWLD5TQa89m_uydyP2g}{_L8xfQ57Q7e0lU_y0ZjjPA}{IP_internal}{IP_internal:9300}{ml.machine_memory=34359267328, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
elasticsearch.yml node-1
cluster.name: lumisportal-cluster-1
node.name: lumisportal-node-1
node.master: true
node.data: true
bootstrap.memory_lock: true
network.host: 10.153.35.133
http.port: 9200
discovery.seed_hosts: ["ip-node-1", "ip-node-2"]
cluster.initial_master_nodes: ["lumisportal-node-1"]
elasticsearch.yml node-2
cluster.name: lumisportal-cluster-2
node.name: lumisportal-node-2
node.master: false
node.data: false
bootstrap.memory_lock: true
network.host: ip-node-2
http.port: 9200
discovery.seed_hosts: ["ip-note-2", "ip-node-1"]
cluster.initial_master_nodes: ["lumisportal-node-1"]