ERROR: Skipping security auto configuration because this node is configured to bootstrap or to join a multi-node cluster, which is not supported.
Steps for joining 4th node (First approach):
- Extract ES software (elasticsearch-8.9.0-linux-aarch64.tar.gz) to local drive.
- Without making any modifications to the eleasticsearch.yml file.
executed enrollment statement using new generated token from node-1:
bin/elasticsearch --enrollment-token eyJ2ZXIiOiI4.........
*** Get above error.
Second Approach:
- Modified the new elasticsearch.yml as follows:
#############################
cluster.name: work_search_clstr
node.name: node-4
path.data: /media/orangepi/ext-drive/es_data
path.repo: /mnt/bcshare/ES_snaps
bootstrap.memory_lock: true
network.host: 192.168.86.91
http.port: 9200
discovery.seed_hosts: ["192.168.86.59", "192.168.86.88", "192.168.86.43", "192.168.86.91"]
cluster.initial_master_nodes: ["node-1", "node-2"]
transport.host: 0.0.0.0
###########################
executed enrollment statement using new generated token from node-1:
bin/elasticsearch --enrollment-token eyJ2ZXIiOiI4.........
*** Get above error.
Note: I had no issues using the second approach while joining node-2 and node-3 to the cluster.
What am I doing wrong?