Elasticsearch Data migration and backup under CentOS

Source: Internet
Author: User

############## 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.