############## Share Create ES official website just a word ########
1. download file sharing.
Rpm-i http://mirror.symnds.com/distributions/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm 2, installation yum-y install sshfs# If you install the same version of the server on your own machine offline. Modify/etc/yum/yum.conf keepcache=1# in/var/cache/yum/x86_64/6/epel/packages can find the package # Copy to the machine RPM-IVH fuxx.rpm 3, Find a shared location mkdir Backchmod 777 back 4, to ES on each server mkdir bakchmod 777 back# Run SSHFS[email protected]:/opt/elasticsearch/hdisk/back /opt/elasticsearch/hdisk/bak -o allow_other# -o allow_other Online said need. As if not also line, as long as the front 777# do not close putty ########### #逐个修改配置, from the ########## #vi elasticsearch.yum# added ... This is a lot of places not mentioned at all path.repo: ["/opt/elasticsearch/hdisk/bak"] put /_cluster/settings{ " Transient ": { " cluster.routing.allocation.enable ": " None " }, "Persistent": { "cluster.routing.allocation.enable": "None" }} service elasticsearch restart #等待挂上节点启动所有PUT /_cluster/settings{ "Transient": { "cluster.routing.allocation.enable": "None" }, "Persistent": { "cluster.routing.allocation.enable": "None" }}# #重复动作 ################### #生产快照 ... Online a lot, suggest with Kopf ... Point------ok,########### ###### multiple clusters. The minimalistThe only one is #sshfs . [email protected]:/opt/elasticsearch/hdisk/back/Other path # so that everyone can share a backup path, you can implement ES, multi-Cluster # # # Reference: http://logos.name/archives/515
Elasticsearch Data migration and backup under CentOS