vinh
(vinh)
July 20, 2013, 1:19am
1
Is there a best practice on reassigning an elected master? For example, if I need to take down that master for maintenance.
Thanks,
-Vinh
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
drewr
(Drew Raines)
July 20, 2013, 3:45am
2
vinh wrote:
Is there a best practice on reassigning an elected master? For
example, if I need to take down that master for maintenance.
You should stop it gracefully using either the API or giving the
java process a TERM.
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
Easiest way is to run this from the cluster:
curl -XPOST localhost:9200/_cluster/nodes/_master/_shutdown
Make sure that if you have minimum_master_nodes set there are
enough leftover that the cluster can tolerate losing one of them.
Drew
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
vinh
(vinh)
July 22, 2013, 9:12am
3
Thanks Drew!
-Vinh
On Jul 19, 2013, at 8:45 PM, Drew Raines aaraines@gmail.com wrote:
vinh wrote:
Is there a best practice on reassigning an elected master? For example, if I need to take down that master for maintenance.
You should stop it gracefully using either the API or giving the java process a TERM.
Elasticsearch Platform — Find real-time answers at scale | Elastic
Easiest way is to run this from the cluster:
curl -XPOST localhost:9200/_cluster/nodes/_master/_shutdown
Make sure that if you have minimum_master_nodes set there are enough leftover that the cluster can tolerate losing one of them.
Drew
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .