Elastic 5.0 master node + distant path data [SOLVED]


(Clement Ros) #1

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 ?


(Mark Walkom) #2

No you cannot, it needs to be local.

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


(Clement Ros) #3

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 ?


(Mark Walkom) #4

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 :slight_smile:


(Clement Ros) #5

okay thanks :slight_smile:


(system) #6

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