Dear @DavidTurner @stephenb please help, I'm trying to make this work
Thanks a lot for your help.
x = node1 ip
y = node2 ip
NODE 1 (originally working) :
ERROR: "Job for elasticsearch.service failed because a timeout was exceeded. See "systemctl status elasticsearch.service" and "journalctl -xe" for details."
gpslogger.log: "[2021-04-27T00:36:36,166][INFO ][o.e.n.Node ] [node-1] initialized
[2021-04-27T00:36:36,184][INFO ][o.e.n.Node ] [node-1] starting ...
[2021-04-27T00:36:37,301][INFO ][o.e.x.s.c.PersistentCache] [node-1] persistent cache index loaded
[2021-04-27T00:36:38,593][INFO ][o.e.t.TransportService ] [node-1] publish_address {x.x.x.x:9300}, bound_addresses {x.x.x.x:9300}
[2021-04-27T00:36:38,789][INFO ][o.e.n.Node ] [node-1] stopping ...
[2021-04-27T00:36:38,841][INFO ][o.e.n.Node ] [node-1] stopped
[2021-04-27T00:36:38,841][INFO ][o.e.n.Node ] [node-1] closing ...
[2021-04-27T00:36:38,866][INFO ][o.e.n.Node ] [node-1] closed
"
[root@cloud-gfhxnqaf ~]# grep -v '^#' /etc/elasticsearch/elasticsearch.yml
cluster.name: gpslogger
node.name: node-1
node.master: true
node.data: true
node.ingest: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: x.x.x.x
http.host: x.x.x.x
network.bind_host: x.x.x.x
discovery.seed_hosts: ["x.x.x.x", "y.y.y.y"]
cluster.initial_master_nodes: ["x.x.x.x"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: false
xpack.security.audit.enabled: false
NODE 2 (new instance, working usually, no data) :
ES starting but can't login anymore:
ERROR:
"type": "security_exception",
"reason": "missing authentication credentials for REST request [/]",
"header": {
"WWW-Authenticate": "Basic realm="security" charset="UTF-8""
[root@vps817928 ~]# grep -v '^#' /etc/elasticsearch/elasticsearch.yml
cluster.name: gpslogger
node.name: node-2
node.master: false
node.data: true
node.ingest: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: y.y.y.y
http.host: y.y.y.y
network.bind_host: y.y.y.y
discovery.seed_hosts: ["y.y.y.y","x.x.x.x"]
cluster.initial_master_nodes: ["x.x.x.x"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.audit.enabled: false