Installing and configuring GlusterFS on CentOS 6.4

Source: Internet
Author: User
Tags glusterfs gluster

Installing and configuring GlusterFS on CentOS 6.4

I,GlusterFS Overview

GlusterFS is the core of the Scale-Out storage solution Gluster. It is an open-source Distributed File System with powerful horizontal scalability, through expansion, it can support several PB of storage capacity and process thousands of clients. GlusterFS aggregates physically distributed storage resources using TCP/IP or InfiniBand RDMA networks and uses a single global namespace to manage data. Based on the stackable user space design, GlusterFS provides excellent performance for a variety of different data Loads

Ii. main applications of GlusterFS

It is mainly used in cluster systems and has good scalability. The results of the software are well designed, easy to expand and configure, and targeted solutions can be obtained through flexible combination of various modules. This solution can solve the following problems: network storage, combined storage (integrating storage space on multiple nodes), redundant backup, and load balancing (Block-based) for large files ). Due to the lack of some key features, reliability has not been tested for a long time, and is not suitable for product environments that require 24-hour uninterrupted service. Currently, it is suitable for offline applications with large data volumes. Thanks to its sound software design and development by specialized companies, the process is very fast and will be greatly improved in a few months or a year, so it is very much worth looking forward.

3. Install the GlusterFS package:

Load the epel source of glusterfs:

Wget-P/etc/yum. repos. dhttp: // download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo

Install: yum install-y glusterfs-server glusterfs-fuse

Start:/etc/init. d/glusterd start
Automatic mounting upon startup: chkconfig glusterd on

Iv. Client

Yum install-y glusterfs-server glusterfs-fuse

Create a volume named glusterdata with/Boot/jdh/is the shared directory

Glustervolumecreateglusterdata192.168.6.2:/boot/gfs/

Start volume

Glustervolumestartglusterdata

View the volume label information

Glustervolumeinfo


V. Server

Install software

Yuminstallglusterfsglusterfs-fuse-y

Load the fuse Module

Modprobefuse

Mount

Mount-tglusterfs192.168.6.2: glusterdata/gfstore.

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.