Hi All,
Is there anyone who have face this scenario regarding the snapshot using file system as repository.
Schenario:
- I have 3 nodes elasticsearch that all nodes have master and data role.
- I set up the repository with file share file system method.
- What I done is, create a directory /data/snapshot on each nodes, then define path.repo on elasticsearch.yml on each nodes.
The result when I try to verify repository is I got exception for non master elasticsearch node, even the test file is created.
Exception I got
"name": "ResponseError",
"message": "repository_verification_exception\n\tRoot causes:\n\t\trepository_verification_exception: [Julian_Elastic] [[we8RNUYLTdWdNMqErk5tKQ, 'org.elasticsearch.transport.RemoteTransportException: [JLNELKAPP][192.168.12.168:9300][internal:admin/repository/verify]'], [nhCrbSdRRXe8ER3HCZjR2w, 'org.elasticsearch.transport.RemoteTransportException: [JLNELKAPP2][192.168.12.165:9300][internal:admin/repository/verify]']]"
}
And if I run the snapshot it will only stored on master node, but whe the master node restarted and other node promoted as master, I need to reconfigure the repository and the last snapshot wont there because it only save on previous master.
Is there any something that I miss or not configured yet?
Thanks.
Best Regards,
Julian