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.