# What is proper order of nodes for rolling upgrade?

**URL:** <https://discuss.elastic.co/t/what-is-proper-order-of-nodes-for-rolling-upgrade/310317>\
**Category:** Elasticsearch\
**Created:** [July 21, 2022, 4:06pm UTC](https://discuss.elastic.co/t/what-is-proper-order-of-nodes-for-rolling-upgrade/310317 "2022-07-21T16:06:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [July 21, 2022, 4:06pm UTC](https://discuss.elastic.co/t/what-is-proper-order-of-nodes-for-rolling-upgrade/310317/1 "2022-07-21T16:06:37Z")

</div>

Hi upgrading an Elastic 6.x to latest 6.x

Is there like a particular order that the nodes should be upgraded?

Masters first, then data, then coordinators. And then applications like Kibana, Filebeat, logstash etc...

Thanks

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [July 21, 2022, 4:11pm UTC](https://discuss.elastic.co/t/what-is-proper-order-of-nodes-for-rolling-upgrade/310317/2 "2022-07-21T16:11:30Z")

</div>

Masters should be the last ones to be upgraded.

Upgrade all non master-eligible nodes and then upgrade the masters.

Just a note, 6.X is EOL and is not supported anymore, if you can, migrate to the last version.

---

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [July 26, 2022, 2:11pm UTC](https://discuss.elastic.co/t/what-is-proper-order-of-nodes-for-rolling-upgrade/310317/3 "2022-07-26T14:11:26Z")

</div>

Hi getting the below messages. Is that because the master node is not to the latest version?

```auto
[2022-07-26T14:07:13,342][INFO][o.e.c.s.ClusterApplierService] [data] added {{coordinator}{aNIOOtCsQ2CbFu8c-3sQ9w}{5D1UtzP0S16njbdkwRgRKA}{9.0.5.132}{9.0.5.132:9300}{ml.machine_memory=4294967296, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true},}, reason: apply cluster state (from master [master {master}{4JBqdFvKQP-W-pDe51SkPA}{IwK3dB_sTKuDV782kRlc7w}{xxx.xxx.xxx.130}{xxx.xxx.xxx.130:9300}{ml.machine_memory=6442450944, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true} committed version [36088]])

[2022-07-26T14:07:13,384][INFO][o.e.x.m.e.l.LocalExporter] [data] waiting for elected master node [{master}{4JBqdFvKQP-W-pDe51SkPA}{IwK3dB_sTKuDV782kRlc7w}{xxx.xxx.xxx.130}{xxx.xxx.xxx.130:9300}{ml.machine_memory=6442450944, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}] to setup local exporter [default_local] (does it have x-pack installed?)
[

```

---

<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:** [August 23, 2022, 2:12pm UTC](https://discuss.elastic.co/t/what-is-proper-order-of-nodes-for-rolling-upgrade/310317/4 "2022-08-23T14:12:27Z")

</div>

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