elasticsearch - Elastic Backup occured -
i troubled when elasticsearch backing up.go right point.
elasticsearch.yml
... ... path.repo: ["/usr/local/elasticsearch/backup/cluster"]
when tried.
curl -xput master:9200/_snapshot/backup?pretty -d '{"type":"fs","settings":{"location":"/usr/local/elasticsearch/backup/cluster"}}'
occured
{ "error" : { "root_cause" : [ { "type" : "repository_verification_exception", "reason" : "[backup] [[llbiftzytrsmbsek4ugusa, 'remotetransportexception[ [node1][x.x.x.226:9300][internal:admin/repository/verify]]; nested: repositoryverificationexception[[backup] file written master store [/usr/local/elasticsearch/backup/cluster] cannot accessed on node [{node1}{llbiftzytrsmbsek4ugusa}{fyhibyulttambfybifp4ua}{slave1}{x.x.x.226:9300}]. might indicate store [/usr/local/elasticsearch/backup/cluster] not shared between node , master node or permissions on store don't allow reading files written master node];'], [zquonofstvm8zdv8xyky8g, 'remotetransportexception[[node2][x.x.x.227:9300][internal:admin/repository/verify]]; nested: repositoryverificationexception[[backup] file written master store [/usr/local/elasticsearch/backup/cluster] cannot accessed on node [{node2}{zquonofstvm8zdv8xyky8g}{4iaxifijsky2covahp2lta}{slave2}{x.x.x.227:9300}]. might indicate store [/usr/local/elasticsearch/backup/cluster] not shared between node , master node or permissions on store don't allow reading files written master node];']]" } ], "type" : "repository_verification_exception", "reason" : "[backup] [[llbiftzytrsmbsek4ugusa, 'remotetransportexception[[node1][x.x.x.226:9300][internal:admin/repository/verify]]; nested: repositoryverificationexception[[backup] file written master store [/usr/local/elasticsearch/backup/cluster] cannot accessed on node [{node1}{llbiftzytrsmbsek4ugusa}{fyhibyulttambfybifp4ua}{slave1}{x.x.x.226:9300}]. might indicate store [/usr/local/elasticsearch/backup/cluster] not shared between node , master node or permissions on store don't allow reading files written master node];'], [zquonofstvm8zdv8xyky8g, 'remotetransportexception[[node2][x.x.x.227:9300][internal:admin/repository/verify]]; nested: repositoryverificationexception[[backup] file written master store [/usr/local/elasticsearch/backup/cluster] cannot accessed on node [{node2}{zquonofstvm8zdv8xyky8g}{4iaxifijsky2covahp2lta}{slave2}{x.x.x.227:9300}]. might indicate store [/usr/local/elasticsearch/backup/cluster] not shared between node , master node or permissions on store don't allow reading files written master node];']]" }, "status" : 500 }
there 3 nodes : master-node(master ip:x.x.x225),node1(slave1 ip:x.x.x.226),node2(slave2 ip:x.x.x227). don't know configurations missed, or operations did.
Comments
Post a Comment