# Elastic 5.0 master node + distant path data \[SOLVED\]

**URL:** https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571
**Category:** Elasticsearch
**Created:** [January 4, 2017, 3:29pm UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571 "2017-01-04T15:29:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Clement\_Ros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/clement_ros/32/6198_2.png) [@Clement\_Ros](https://discuss.elastic.co/u/Clement_Ros)
#### Post date: [January 4, 2017, 3:29pm UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571/1 "2017-01-04T15:29:49Z")

</div>

I'm configuring my Elasticsearch cluster 5.0.

My question concern the master nodes.  
As the documentation say i have added the following lines to my configuration :

> node.master: true  
> node.data: false  
> node.ingest: false

In the documentation i saw this :

> Master nodes must have access to the data/ directory (just like data nodes) as this is where the cluster state is persisted between node restarts.

My storage is on my data nodes.  
I would like to konw how can i specifie the distant data path on my master configuration ?

is `"path.data: IPaddress:/path/to/data"` works ?

---

<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: [January 5, 2017, 1:07am UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571/2 "2017-01-05T01:07:47Z")

</div>

No you cannot, it needs to be local.

It doesn't need a lot of space, a few MB to a GB at most.

---

<div class="post-metadata">

### Author: ![Clement\_Ros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/clement_ros/32/6198_2.png) [@Clement\_Ros](https://discuss.elastic.co/u/Clement_Ros)
#### Post date: [January 5, 2017, 8:16am UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571/3 "2017-01-05T08:16:29Z")

</div>

So when they say "Master nodes must have acess to the data directory", they do not mean to have access to the directory where all the data will be stored.

They just want to say, a master need a data directory to work fine. That's it ?

---

<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: [January 5, 2017, 8:18am UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571/4 "2017-01-05T08:18:16Z")

</div>

It means that the master node still creates a data directory, it just hardly stores anything in comparison to a data node.

So you don't need to do anything 🙂

---

<div class="post-metadata">

### Author: ![Clement\_Ros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/clement_ros/32/6198_2.png) [@Clement\_Ros](https://discuss.elastic.co/u/Clement_Ros)
#### Post date: [January 5, 2017, 8:19am UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571/5 "2017-01-05T08:19:46Z")

</div>

okay thanks 🙂

---

<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: [February 2, 2017, 8:20am UTC](https://discuss.elastic.co/t/elastic-5-0-master-node-distant-path-data-solved/70571/6 "2017-02-02T08:20:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
