Hi,
I have been using elasticsearch for a long time. Our initial cluster was setup in 5.x days (installation procedures have been 'lost') and we have performed rolling upgrade ever since. Currently the cluster is 8.8 with no security (It is on an isolated firewalled network segment).
Recently I tried to setup a new multi node cluster (3 master + 2 data) from scratch for ES 8.6 and I couldn't figure out the correct order in which nodes should be started/configured/installed
The setup I have in mind is 3 masters esmaster[123] (10.0.0.1,2,3) and 2 data esdata[12] (10.0.0.11,12)
I tried to do something like
- Install elasticsearch on esmaster1.
- Set node.roles to
masterand setcluster.initial_master_nodesto[10.0.0.1].
It started OK but since primary shards are unallocated, I cannot run any query (_cat/nodes) or generate enrollment token for other nodes
Do I set the role to default (data + master) on this node, then add further nodes (using the generated token) and then take away the data role from esmaster1? Or is there some other ways by which I can go about the cluster building phase?
I am really sorry for this basic question but I cannot find the answer in the docs.