XfsprogsOfficial documentation Quick Configuration stepsInstalling GlusterFS-a Quick Start guidepurpose of ThisDocumentthis Document isIntended to give, step by step guide, setting up GlusterFS forThe first time. For ThisTutorial, we'll assume you isusingFedora +(or later)VirtualMachines (Other distributions and methods can be foundinchTheNewUser Guide, below. We Also DoNot explain the stepsinchDetail here,
Glusterfs is mainly used in cluster system and has good scalability. The structure of the software is good, easy to expand and configure, through the flexible collocation of each module to get targeted solutions. Resolves the following issues: networked storage, federated storage (fusing storage space on multiple nodes), redundant backups, load balancing of large files (chunking).
Due to the lack of some key features, reliability has not been tested
I used the redhat6.4.Install Glusterfs Direct Yum# wget-p/ETC/YUM.REPOS.D Http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo Server-side installation:#yum install-y glusterfs glusterfs-server glusterfs
On the already built Glusterfs server (if you do not know how to build glustefs, please refer to the previous article):Create Bricks:# truncate-s 1gb/srv/disk{1..4}# for i in ' seq 1 4 ';d o mkfs.xfs-i size=512/srv/disk$i;d one# mkdir-p/export/brick{1. .4}Add the following lines to /etc/fstab Auto-mount the The Bricks on system startup:/srv/disk1 /export/brick1 xfs loop,inode64,noatime,nodiratime 0 0/srv/disk2 /export/brick2 xfs loop,ino
The. Glusterfs directory size is basically equal to all the file sizes in the current brick, because the main store is the hard link to the files in brick.The. Glusterfs directory is a new structure introduced in version 3.3, what is it used for?What is Gfid?As you may know, Glusterfs stores the metadata information in the file's extended properties. One of the m
For details about the cluster and configuration of the glusterfs file system, see glusterfs practices.
6 servers
1. Single-client Testing
Test 1: copy a file of about GB to glusterfs (all small files, with an average of 1 MB)
Test results: glusterfs: 1.8 m/s. The throughput of the six servers is 3.6 m/s.
Test 2: read
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. GlusterF
Install on both the compute node and the control node.
CD/etc/yum. Repos. d/
Wget http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.3/CentOS/glusterfs-epel.repo
Yum install glusterfs-Server
Verify whether the two nodes are successfully installed.
[[Email protected] ~] # Glusterfs-V
Centos7 build GlusterFS
Lab requirements:
· Four machines are installed with GlusterFS to form a cluster
· The client stores docker registry in the file system
· The hard disk space of the four nodes is not integrated into one hard disk space. Each node must be stored in one copy to ensure data security.
Environment Planning
Server
Node1: 192.168.0.165 Host Name: glusterfs1
Node2: 192.168.0.157 Host Name: g
Glusterfs is an open source Distributed file system that was bought by Red Hat in 2011. It has high scalability, high performance, high availability, scalable elasticity, no meta data server design makes Glusterfs no single point of trouble, For more information, please check the official website: www.gluster.org.
Deployment environment:Os:centos Release 6.5 (Final) x64Server:c1:192.168.242.132c2:192.168.2
Deploying Heketi and Glusterfs in Kubernetes[TOC]1. PrefaceIn Kubernetes, using the Glusterfs file system, the procedure is usually:Create brick--> Create volume--> Create pv--> create pvc-->pod mount PVCIf you are creating more than one PV, you need to manually repeat these interlocking steps, Heketi can resolve these duplication problems.Heketi is used to manage the life cycle of the
A large number of original posts can be seen in the following links, the original author Liu Ei you will continue to update:http://blog.csdn.net/liuaigui/article/details/17331557A link to the current version is provided below:[1] glusterfs cluster file system research [2] building high-performance clustered NAS systems based on open source software [3] A bug about gluster stability[4] Creating a glusterfs d
The cluster NAS system built based on GlusterFS is a complex system engineering. Its overall performance is closely related to specific application features, hardware and software configurations. During system deployment, if the performance is significantly different from the estimation or experience, you need to optimize the performance according to the actual situation. According to the composition of the Gluster system, performance tuning mainly st
In my previous article "Introduction to GlusterFS" (File System) and Installation–part 1 ' was just a brief overview o f the file system and its advantages describing some basic commands. It's worth mentioning about the important features, self-heal and re-balance, in this article without which explanation on GlusterFS Would be is of no use. Let us get familiar with the terms self-heal and re-balance.What d
Glusterfs provides maximum flexibility: You can use various existing protocols to output storage volumes. It supports glusterfs clients, CIFS, NFS, and WebDAV protocols.
Reference: http://hi.baidu.com/wongxuelei/blog/item/cd32e62e6bc16c434ec22696.html official website has based on glusterfs, NFS, CIFS volume mount example, in the previous
When the client re-mounts the gluster volume, the process changes as follows:The process PID does not change:16683 Root 0 398m 16m 2796 S 0.0 0.2 2:31.58/usr/sbin/glusterd--pid-file=/run/glusterd.pidThe following process PID will change and regenerate:Root 10068 7.9 0.4 302108 39204? SSL 17:19 0:40/usr/sbin/glusterfs--volfile-id=/tank--volfile-server=lab21/mnt/dzqRoot 10093 0.0 0.6 232236 53316? SSL 17:19 0:00/usr/sbin/
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.