ElasticSearch 8.1 - Multinode Cluster Setup

Hi Elastic Community,

I have a question about the multi node version 8.1.1 cluster setup.

When I need to add the 2nd node to the cluster according to the elastic support I must add:

cluster.name: aiops
node.name: elastic02
#copy from node1 certs and copy xpack security sentences
# Enable encryption and mutual authentication between cluster nodes
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12

http.host: [_local_, _site_]
transport.host: [_local_, _site_]

And run the command:

./Elasticsearch-reconfigure-node --enrollment-token eyJ2ZXI...hdas2S

But I always get the error:

ERROR: Aborting enrolling to cluster. This node doesn't appear to be auto-configured for security. Expected configuration is missing

What could be missing to be able to add this node to the cluster?

I don't use systemd (I download the binaries from the web, unzip and run sh).

Thanks a lot for any help.



Can you reference the support case number please ?

./elasticsearch-reconfigure-node is only meant to be used for DEB/RPM installations so this is not applicable to your use case.

There should be nothing that you need to add to your second node in advance, the configuration is taken care of by the enrollment process. Please read through the documentation in Start the Elastic Stack with security enabled | Elasticsearch Guide [8.1] | Elastic, it explains how you'd go about adding new nodes to your cluster

1 Like

Hi @ikakavas

Thanks a lot for you response.

The case is 00929984.

After having applied your recommendation the cluster is already active :grinning:

Regards !

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.