[TOC]Environment
Host name
system
IP Address
role
ops-k8s-175
ubuntu16.04
192.168.75.175
K8s-master,glusterfs,heketi
ops-k8s-176
ubuntu16.04
192.168.75.176
K8s-node,glusterfs
ops-k8s-177
ubuntu16.04
192.168.75.177
K8s-node,glusterfs
Due to the lack of some key features, reliability has not been tested for a long time, it is not suitable for the need to provide 24-hour uninterrupted service product environment. Currently suitable for the use of large data offline applications, let's look at the Glusterfs Distributed File system installation configuration
Glusterfs is an open source Distributed file system where users can use multiple s
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
Document directory
Fuse installation:
Glusterfs installation:
I. System Requirements
Before installing glusterfs, make sure that your system meets the following minimum requirements:
1. Storage Server
Glusterfs supports most commercial x86-64bit hardware platforms. The storage can be attached directly to raid disks. the SATA, SAS, and FC disks are used as b
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
Zhou clan, finishing technical documents, for the next generation to stay a little tutorial ...Application ScenariosProject HTTP uses a high-availability keepalive, dual-entry access, then there is a problem, each server Web file or interface, need two units are simultaneously synchronized, so, think of file sharing.Glusterfs is in the premise of NFS, has been upgraded, and recently shared to the Apache Foundation, developed quickly, the latest version of 3.5.x is relatively mature, fixed a lot
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
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
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
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.