Can a repository exist on a server that isn't running elasticsearch?

Here is my setup.

All servers are running "Ubuntu 14.04"

n1 - 12gb ram, 2 cpu, 1tb - (x) master - ( ) data
n2 - 12gb ram, 2 cpu, 1tb - ( ) master - (x) data
n3 - 12gb ram, 2 cpu, 500gb - ( ) master - (x) data
n4 - 12gb ram, 2 cpu, 500gb - ( ) master - (x) data
Logstash/Kibana - 16gb ram, 8 cpu, 6tb

I am trying to get curator up and running to save snapshots to a repository. My question is can I setup a repository on the Logstash/Kibana server and have the 4 nodes point to it?

In my elasticsearch.yml would I put this as the path.repo?

path.repo: ["//10.10.10.10/mount/backups"]

With 10.10.10.10 being the server ip for the Logstash/Kibana.

Also in Elasticsearch would I also have to create the repo as follows:

$ curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -d '{
    "type": "fs",
    "settings": {
        "location": "//10.10.10.10/mount/backups",
        "compress": true
    }
}'

Also if I am able to use this, what user would I need to set for the shared user on the server? Would it be the local admin or the 'elasticsearch' user from each node?

Nevermind. I was reading it all wrong, thinking the elasticsearch.yml needed to point to the external server instead of the mounted folder on its local server.

1 Like