# Upgrade elasticsearch 3x node( init scripts ) per host cluster

**URL:** <https://discuss.elastic.co/t/upgrade-elasticsearch-3x-node-init-scripts-per-host-cluster/55026>\
**Category:** Elasticsearch\
**Created:** [July 8, 2016, 7:31am UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-3x-node-init-scripts-per-host-cluster/55026 "2016-07-08T07:31:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikello](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mikello](https://discuss.elastic.co/u/Mikello)\
**Post date:** [July 8, 2016, 7:31am UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-3x-node-init-scripts-per-host-cluster/55026/1 "2016-07-08T07:31:43Z")

</div>

Hello,

I read the instructions about upgrading cluster:  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)

I have still few questions:

Lets say that I have 2 hosts and on every host I installed 3 elasticsearch nodes (Every node have own elasticsearch.yml and init scirpt).

How should properly look like upgrade of the cluster?

Should I:  
1.) Stop shard allocation  
2.) Stop 3 nodes of elastic on that host  
3.) Upgrade elasticsearch  
4.) Start service es1, es2, es3  
5.) Wait for status green of cluster.

After that should I do the same with second host?

---

<div class="post-metadata">

**Author:** ![Mikello](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mikello](https://discuss.elastic.co/u/Mikello)\
**Post date:** [July 11, 2016, 5:42am UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-3x-node-init-scripts-per-host-cluster/55026/2 "2016-07-11T05:42:59Z")

</div>

any advice ?

---

<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:** [July 5, 2017, 10:36pm UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-3x-node-init-scripts-per-host-cluster/55026/3 "2017-07-05T22:36:43Z")

</div>


