The issue right now is that if I make a change to my elasticsearch.yml
configuration, Ansible automatically issues a 'service elasticsearch
restart' command for me. Normally this isn't a issue, but when the
configuration applies to all the nodes in my cluster, that would restart
the entire cluster. Not really something I'd like to do very often.
Is there a command I can run that would tell ES to load the
elasticsearch.yml configuration without shutting the node down?
Is there a command/script I could run that would check the clusters'
status, if it is not green it would wait and check again, then when it is
green, it would restart the node? (Writing a script to do this is my
current plan, but I'd like to know what more experience users are doing
first.)
I'm running ES 1.1.x on Ubuntu 12.04.
I expect that any configuration management system that deploys
configuration to the elasticsearch.yml file and then restarts the node
would have this same issue. So if you are configuring ES via Puppet, Chef,
or another system, what do you do?
The issue right now is that if I make a change to my elasticsearch.yml
configuration, Ansible automatically issues a 'service elasticsearch
restart' command for me. Normally this isn't a issue, but when the
configuration applies to all the nodes in my cluster, that would restart
the entire cluster. Not really something I'd like to do very often.
Is there a command I can run that would tell ES to load the
elasticsearch.yml configuration without shutting the node down?
Is there a command/script I could run that would check the clusters'
status, if it is not green it would wait and check again, then when it is
green, it would restart the node? (Writing a script to do this is my
current plan, but I'd like to know what more experience users are doing
first.)
I'm running ES 1.1.x on Ubuntu 12.04.
I expect that any configuration management system that deploys
configuration to the elasticsearch.yml file and then restarts the node
would have this same issue. So if you are configuring ES via Puppet, Chef,
or another system, what do you do?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.