asp
December 18, 2017, 8:03am
1
Hi all,
currently we have elastic stack's major version number in following fields:
cluster.name
path.data
Is it save to rename them, rename the folders or do I need some reindexing or other stuff?
Currently we are running a single instance, so no problem with other nodes.
I would like to get rid of version names to give less room for confusion after upgrading from 5.1.2 to 6.0.1
Thanks a lot.
Andreas
warkolm
(Mark Walkom)
December 18, 2017, 8:04am
2
How did you install Elasticsearch and what OS are you on?
asp
December 18, 2017, 8:05am
3
running on centos.
manual install by tar package.
warkolm
(Mark Walkom)
December 18, 2017, 8:09am
4
How are you planning on upgrading?
asp
December 18, 2017, 8:18am
5
Since I am originally the windows guy I build my own filestructure to have complete elastic stack in one place.
filestructure for ES as example:
[root@myserver elasticsearch]# ls -l
insgesamt 0
lrwxrwxrwx 1 logiweb_admin elasticsearch 19 15. Dez 15:47 current_elasticsearch -> elasticsearch-6.1.0
drwx------ 3 elasticsearch elasticsearch 18 21. Feb 2017 data
drwxr-xr-x 7 logiweb_admin elasticsearch 131 14. Feb 2017 elasticsearch-5.1.2
drwxr-xr-x 7 logiweb_admin elasticsearch 131 14. Aug 14:35 elasticsearch-5.5.2
drwxr-xr-x 7 logiweb_admin elasticsearch 131 10. Nov 19:42 elasticsearch-6.0.0
drwxr-xr-x 7 logiweb_admin elasticsearch 131 4. Dez 10:30 elasticsearch-6.0.1
drwxr-xr-x 7 logiweb_admin elasticsearch 131 12. Dez 13:34 elasticsearch-6.1.0
drwxr-xr-x 2 elasticsearch elasticsearch 199 18. Dez 09:07 log
The current version of elasticsearch is linked via current_elasticsearch.
The service is addressing the linked path current_elasticsearch.
so my data.path is currently: /usr/local/elk/elasticsearch/data/elk5
I would like to rename it to /usr/local/elk/elasticsearch/data/logicontrol_prod
cluster.name is currently set to logicontrol_5x . I would like to change it to logicontrol_prod .
my way of update is working so far, but I did not touch both parameters I asked for.
warkolm
(Mark Walkom)
December 18, 2017, 8:33am
6
I would suggest using the repo's and installing with that method. Then you can either point the config at the path you want after you have renamed it.
system
(system)
Closed
January 15, 2018, 8:33am
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.