Automated deployment of MFS Distributed File System Using SHELL scripts

Source: Internet
Author: User

In our O & M, the most common file storage system is NFS. However, as the website pressure increases, NFS gradually cannot meet the needs of enterprise data growth, what about automatic scaling, efficient deployment, and fast implementation of distributed storage? Let's take a look at how MFS can basically meet our needs.

MogileFS is a distributed file storage system. Supports automatic file backup to improve availability and scalability. MogileFS does not support random or sequential reads and writes to a file. Therefore, it is only suitable for some applications, slice services, static HTML services, and file servers, these applications do not need to modify the file after writing the file, but they can generate a new file to overwrite the original file.

Distributed File System (Distributed File System) means that the physical storage resources managed by the File System are not necessarily directly connected to local nodes, but are connected to nodes through the computer network, the Distributed File System is actually based on the Client/Server mode.

There are many common distributed file systems, such as Hadoop, FastDFS, Moosefs, PNFS (Parallel NFS, Lustre, Tfs, Gfs, and so on mentioned in my previous article. Among the many distributed file system solutions, MFS is easy to build and does not require too many modifications to web programs. Today, we use the SHELL script to deploy MFS. For more information, see MFS official installation documentation) 650) this. length = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/12024GS9-0.png "title =" 1.png" width = "710" height = "471" border = "0" hspace = "0" vspace = "0" style = "width: 710px; height: 471px; "alt =" 170901497.png"/> 650) this. length = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/12024GC4-1.png "title =" 2.png" width = "710" height = "466" border = "0" hspace = "0" vspace = "0" style = "width: 710px; height: 466px; "alt =" 170914614.png"/>

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201312/171009462.png "style =" width: 710px; height: 481px; "title =" 3.png" width = "710" height = "481" border = "0" hspace = "0" vspace = "0" alt = "171009462.png"/>

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201312/171011325.png "style =" width: 710px; height: 373px; "title =" 4.png" width = "710" height = "373" border = "0" hspace = "0" vspace = "0" alt = "171011325.png"/>

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201312/171013592.png "style =" width: 710px; height: 303px; "title =" 5.png" width = "710" height = "303" border = "0" hspace = "0" vspace = "0" alt = "171013592.png"/>

It can be modified according to the script. For the script format, it is attached here. The attachment contains the above script.

This article from the "Wu guangke-Focus on automated O & M" blog, please be sure to keep this source http://wgkgood.blog.51cto.com/1192594/1336003

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.