Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-19 Thread Jan-Erik Westlund
Ok, thanks again. 2015-02-19 9:06 GMT+01:00 David Pilato : > Yes. > > David > > Le 19 févr. 2015 à 08:56, Jan-Erik Westlund a > écrit : > > Correct, in that case, it will not be a rolling upgrade ;-) The service > will be down for a few minutes. > Can I then change all the nodenames, and the sta

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-19 Thread David Pilato
Yes. David > Le 19 févr. 2015 à 08:56, Jan-Erik Westlund a écrit : > > Correct, in that case, it will not be a rolling upgrade ;-) The service will > be down for a few minutes. > Can I then change all the nodenames, and the start the services on all the > nodes with the new names without mes

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread Jan-Erik Westlund
Correct, in that case, it will not be a rolling upgrade ;-) The service will be down for a few minutes. Can I then change all the nodenames, and the start the services on all the nodes with the new names without messing things up ? 2015-02-19 7:58 GMT+01:00 David Pilato : > You should define this

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread David Pilato
You should define this in that case: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-gateway.html#recover-after But it's not anymore a rolling upgrade, right? Your service will be down for some seconds/minutes I guess. David > Le 19 févr. 2015 à 07:52, Jan-Erik W

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread Jan-Erik Westlund
I understand that, but is it safe to change all the nodenames and restart all the nodes at the same time ? Skickat från min iPhone 6. > 19 feb 2015 kl. 07:47 skrev David Pilato : > > You can change safely elasticsearch.yml file while elasticsearch is running. > This file is only loaded when ela

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread David Pilato
You can change safely elasticsearch.yml file while elasticsearch is running. This file is only loaded when elasticsearch starts. David > Le 19 févr. 2015 à 07:33, Jan-Erik Westlund a écrit : > > Hi again ! > > Thanks for Rolling restart info, that was really helpful. > But since the "elasticse

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread Jan-Erik Westlund
Hi again ! Thanks for Rolling restart info, that was really helpful. But since the "elasticsearch.yml" file is managed by Puppet, all the nodenames will change pretty much at the same time ! So in my case it would be best to shutdown the ES daemon on all nodes first, apply the Puppet changes and

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread David Pilato
Have a look at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-shutdown.html#_rolling_restart_of_nodes_full_cluster_restart

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread Jan-Erik Westlund
Thanks David ! All my "Recovery Throttling settings" are default in the elasticsearch.yml file. How do I disable allocation, in a running production environment ? Do I need to disable allocation first, restart each node / daemon, and after rename the nodes ? Or maybe it would be better to down

Re: Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread David Pilato
Yes. It’s safe. You can do it one at a time. If you already have data around and don’t want your shards moving during this, you should disable allocation. -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr

Is it safe to change node names in an existing ElasticSearch cluster

2015-02-18 Thread Jan-Erik Westlund
Hi ! Is it safe to change the node names of my 3 nodes in an existing elasticsearch 1.4.0 cluster ? The reason is to get rid of the random names like: Elizabeth "Betsy" Braddock, Franz Kafka, etc... Is it just to set the node.name: "server name" in elasticsearch.yml and then restart the daemo