Thank you for replying! - This is what I re-did now:
On AllInOne820redis2v4 / 192.168.56.113:
- rebooted the all-in.one running / working node with the IP 192.168.56.113
- Still want to add a second node to 192.168.56.113
- /usr/share/Elasticsearch/bin/Elasticsearch-create-enrollment-token -s node
Then on the newly created to-be-added node with the IP 192.168.56.112 I did:
- vim /etc/hosts
--> Added 2 lines
192.168.56.112 AllInOne820redis1v4
192.168.56.113 AllInOne820redis2v4 - apt-get install /tmp/Elasticsearch.deb
- vim /etc/Elasticsearch/Elasticsearch.yml
--> here I added 3 lines:
cluster.name: AllInOne820redis2
node.name: AllInOne820redis1
network.host: 192.168.56.112
(no other changes made)
(Elasticsearch has NOT initially been started) - /usr/share/Elasticsearch/bin/Elasticsearch-reconfigure-node --enrollment-token >THE KEY from node .113<
RESULTS:
Unable to communicate with the node on https://10.0.2.15:9200/_security/enroll/node. Error was Connection refused
ERROR: Aborting enrolling to cluster. Could not communicate with the node on any of the addresses from the enrollment token. All of [10.0.2.15:9200] were attempted.
Any idea left what I can further test?
Thank you!!