# Is two node cluster with xpack is viable?

**URL:** <https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656>\
**Category:** Elasticsearch\
**Created:** [November 28, 2018, 10:22pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656 "2018-11-28T22:22:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![charan.gandra](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@charan.gandra](https://discuss.elastic.co/u/charan.gandra)\
**Post date:** [November 28, 2018, 10:22pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656/1 "2018-11-28T22:22:58Z")

</div>

Hi

I have two elasticsearch nodes with xpack and at least one should be available at all the time as per the requirement. we can only upgrade the VMs by deleting and recreating and this is also a requirement. My use case here is to drop one node and rebuild it and then the other one. However as soon as I drop one node the other one is breaking therefore I am unable to achieve zero down time.

How can I achieve this upgrade with zero down time with nodes?

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 28, 2018, 10:32pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656/2 "2018-11-28T22:32:18Z")

</div>

> [@charan.gandra](#):
>
> However as soon as I drop one node the other one is breaking therefore I am unable to achieve zero down time.

What do you exactly mean by this? What is breaking?

What does this have to do with X-Pack and Security?

---

<div class="post-metadata">

**Author:** ![charan.gandra](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@charan.gandra](https://discuss.elastic.co/u/charan.gandra)\
**Post date:** [November 28, 2018, 10:33pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656/3 "2018-11-28T22:33:48Z")

</div>

Hi,

If Stop one node in the cluster, I can't access elasticsearch from Kibana. I've enabled the Xpack to use the watcher alerts.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 28, 2018, 10:55pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656/4 "2018-11-28T22:55:55Z")

</div>

You should have three nodes minimum for a cluster, see [Important Configuration Changes | Elasticsearch: The Definitive Guide [2.x] | Elastic](https://www.elastic.co/guide/en/elasticsearch/guide/2.x/important-configuration-changes.html#_minimum_master_nodes)

> [@charan.gandra](#):
>
> If Stop one node in the cluster, I can't access elasticsearch from Kibana

Which node does Kibana point to?

---

<div class="post-metadata">

**Author:** ![charan.gandra](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@charan.gandra](https://discuss.elastic.co/u/charan.gandra)\
**Post date:** [November 28, 2018, 11:40pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656/5 "2018-11-28T23:40:32Z")

</div>

Thanks for your quick reply. I've two kibana nodes pointing to each of the elasticsearch nodes.

K1-\> ES1  
K2 -\> ES2

---

<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:** [December 26, 2018, 11:40pm UTC](https://discuss.elastic.co/t/is-two-node-cluster-with-xpack-is-viable/158656/6 "2018-12-26T23:40:34Z")

</div>

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