# Problem in deploying an Elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703>\
**Category:** Elasticsearch\
**Created:** [January 30, 2021, 5:06am UTC](https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703 "2021-01-30T05:06:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AayushPatel](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AayushPatel](https://discuss.elastic.co/u/AayushPatel)\
**Post date:** [January 30, 2021, 5:06am UTC](https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703/1 "2021-01-30T05:06:23Z")

</div>

Hi  
I tried to deploy an ELasticsearch cluster by first installing 3 master nodes (stacks 7.9)  
everything is fine but when I try to connect the nodes to each other some weird situation occurs.  
at first all the nodes working fine as single but clustering them by using the configs below and copy "elastic-certificates.p12" and "node.p12" from the first node to the other ones, results in the errors I can't understand why

/etc/elasticsearch/elasticsearch.yml

```auto
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch

path.repo: ["/elasticsearch_backup"]

network.host: ["localnode.net"]
http.port: 9200

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
xpack.security.transport.ssl.keystore.password: "password"
xpack.security.transport.ssl.truststore.password: "password"

xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: node.p12
xpack.security.http.ssl.truststore.path: node.p12
xpack.security.http.ssl.keystore.password: "password2"
xpack.security.http.ssl.truststore.password: "password2"

xpack.security.http.ssl.client_authentication: optional
xpack.monitoring.collection.enabled: true

cluster.name: myCluster
node.name: Node1
node.master: true
node.data: true
node.voting_only: true
node.ingest: false
node.attr.box_type: hot

cluster.initial_master_nodes:
  - node1.net

discovery.seed_hosts:
  - node1.net
  - node2.net
  - node3.net
# - node4.net
# - node5.net
# - node6.net

discovery.zen.minimum_master_nodes: 2

```

tail /var/log/elasticsearch/myCluster.log

```auto
[2021-01-30T00:01:48,953][ERROR][o.e.x.s.a.e.NativeUsersStore] [Node1] security index is unavailable. short circuiting retrieval of user [my-elk]
[2021-01-30T00:01:49,441][ERROR][o.e.x.s.a.e.NativeUsersStore] [Node1] security index is unavailable. short circuiting retrieval of user [my-elk]
[2021-01-30T00:01:51,455][ERROR][o.e.x.s.a.e.NativeUsersStore] [Node1] security index is unavailable. short circuiting retrieval of user [my-elk]
[2021-01-30T00:01:52,404][WARN][o.e.c.c.ClusterFormationFailureHelper] [Node1] master not discovered or elected yet, an election requires a node with id [uYf6C_ihTbap9_MEZL88Lw], have discovered [{Node1}{uYf6C_ihTbap9_MEZL88Lw}{h6x_vZwUT4OojPUMlPQ0eA}{localnode.net}{192.168.7.101:9300}{dlmrtv}{ml.machine_memory=52755189760, xpack.installed=true, box_type=hot, transform.node=true, ml.max_open_jobs=20}] which is not a quorum; discovery will continue using [] from hosts providers and [{Node1}{uYf6C_ihTbap9_MEZL88Lw}{h6x_vZwUT4OojPUMlPQ0eA}{localnode.net}{192.168.7.101:9300}{dlmrtv}{ml.machine_memory=52755189760, xpack.installed=true, box_type=hot, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 7, last-accepted version 293 in term 7

```

any suggestions?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 30, 2021, 8:02am UTC](https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703/2 "2021-01-30T08:02:30Z")

</div>

> [@AayushPatel](#):
>
> `node.voting_only: true`

Your cluster previously only had a single master node which you've now set to be voting-only. Set it back to being a full master until the cluster has expanded.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 27, 2021, 8:02am UTC](https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703/3 "2021-02-27T08:02:46Z")

</div>

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