# How can I change a master on my own initiative

**URL:** https://discuss.elastic.co/t/how-can-i-change-a-master-on-my-own-initiative/37813
**Category:** Elasticsearch
**Created:** [December 23, 2015, 3:20am UTC](https://discuss.elastic.co/t/how-can-i-change-a-master-on-my-own-initiative/37813 "2015-12-23T03:20:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vivawz](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@vivawz](https://discuss.elastic.co/u/vivawz)
#### Post date: [December 23, 2015, 3:20am UTC](https://discuss.elastic.co/t/how-can-i-change-a-master-on-my-own-initiative/37813/1 "2015-12-23T03:20:01Z")

</div>

I need to change master from A to B on my own, is there any method, for example a http command?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [December 23, 2015, 3:34am UTC](https://discuss.elastic.co/t/how-can-i-change-a-master-on-my-own-initiative/37813/2 "2015-12-23T03:34:09Z")

</div>

You need to restart the current elected master node, there is no other way.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 11:29pm UTC](https://discuss.elastic.co/t/how-can-i-change-a-master-on-my-own-initiative/37813/3 "2017-07-05T23:29:09Z")

</div>


