Upgrading Elasticsearch

Dear team,
I want to upgrade my ES cluster to a newer version.
This is the version I`m using:
image

According to the bellow page:

I just want to know can I upgrade my cluster with Rolling Upgrade ?

Or which way should I consider to upgrade my cluster and have the service up simultaneously...?
I have a cluster with 4nodes of ES data and 1node of Kibana instance.

I've already checked this page:

I need a vision of what should I do
Thanks

Yes that is the best way to do it.

1 Like

Thanks alot

Just one another question:
How can I run newer version on a node which older version is running?
my Elasticsearch runs on a CentOS with SysV. I got the new version of Elasticsearch.tar and extracted it in /home/my_user directory and changed the elasticsearch.yml to older version's config specifics.
Disabled shard allocation and also did "sync flush" then stopped older version:
service elasticsearch stop
Now I want to run the newer version with the same config file... What should I do?
How can I run new Elasticsearch?
This is elasticsearch.yml of my newer version: (same as the older one)

cluster.name: logServer
node.name: elk2
node.master: true
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
transport.host: 172.22.34.37
http.port: 9200
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.unicast.hosts: ["172.22.34.36" , "172.22.34.37"]

I saw this section:


Could you please explain me with some more details?
Thank you

You need to run the binary directly - Install Elasticsearch from archive on Linux or MacOS | Elasticsearch Guide [7.15] | Elastic

1 Like

Thank you so much
And last thing, is it ok to upgrade ES 7.6.2 directly to 7.15.2 ?
Or should I upgrade to the latest version with specific step?

elasticsearch might not be a problem. but kibana config has change a bit. but it won't be too much hassle. just turn to log file of kibana and it will tell you why it failed.

1 Like

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