Host planning
The first four nodes are distributed, replicated, distributed + replicated, geo-synchronous, etc. for configuration glusterfs. The first four nodes are used for several types of storage configurations, and the fifth host is used as client access, and geo anomaly disaster tolerance simulations. It should be noted that all of the following configuration, I used are IP, the current network is recommended to use the host name or
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
I have never understood the concept of raid. I just read it over the past two days. Raid is short for "Redundant Array of Independent Disks". It means an independent redundant disk array, disk Arrays use different technologies for different applications, known as raid level, and each level represents different technologies. Currently, the industry-recognized standard is RAID 0 ~ RAID 5. Baidu encyclopedia has a detailed explanation
Here we use the glusterfs
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/
Trusted storage pools (Trusted Storage Pool)
Create a storage pool
For example, to create a storage pool with 3 servers, you need to add two additional servers to the storage pool from the first server server1:# Gluster peer probe Server2probe successful# Gluster Pool Peer Server3probe successfulTo view the storage pool status:# Gluster Peer Statusnumber of peers:2hostname:server2.quenywell.comuuid:86bd7b96-1320-4cd5-b3e1-e537d06dd5f7state:Peer in Cluster (Connected) Hostna
Deploying Heketi and Glusterfs in Kubernetes (ii)In the previous section, Heketi was not deployed in a production environment because the data for the Heketi pod was not persisted, causing Heketi data loss and Heketi data saved in/var/lib/heketi/heketi.dbfile, you need to mount this directory to Glusterfs distributed storage.Follow the steps in the previous section to perform HEKETI-CLI topology load--json=
Environment Introduction: System version : Rhel6.5Kernel version:3.18.3-1.el6.elrepo.x86_64Yum Source:http://download.gluster.org/pub/gluster/glusterfs/3.6/3.6.9/RHEL/ Glusterfs-epel.repoNumber of nodes: 3 the host name, respectively, for a Controller1 , Controller2 , compute01each node has 3 disks, which are mounted to /data/bric1,/data/brick2,/data/bric3, respectively. with xfs mount, please install xfspr
process executes, and GLUSTERFSD is in volume Start time (after create volume): Gluster volume start img. What is the difference between glusterfs,glusterd,glusterfsd,gluster? Or want to say one's own understanding, to correct: >glusterfs:client-side Mount server-side volumes and related operations on client side >glusterd:Gluster Elastic Volume Management daemon. Glusterd is related to volume management, and the code is centralized under XLATORS/MGM
In view of the current domestic no pure Glusterfs Technology Exchange Group, special will be a reservation QQ group 234901333 as a Glusterfs technology Exchange group, Welcome to Gluster interested students join, warmly welcome!The group is described as follows:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/75/94/wKiom1Y8acezTEVmAAJlwt7POc8907.jpg "title=" G
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>Installation:Yum Install-y Glusterfs{,-server,-fuse,-geo-replication}If you do not use master-slave replication, you can not install Glusterfs-geo-replicationOperation:Gluster Peer CommandGluster Peer StatusGlus
:/exp4node5:/exp5 node6:/exp6Attention:The composition of the replica volume depends on the order of the specified brick, the same as 1, 2 the same 3, 4 the same as 5, 6 the sameThe brick must be n times the number of replicas K, and the brick list will be set in groups of K, forming n replica volumesSecond, service-side configuration1, installationWget-p/etc/yum.repos.d/http://download.gluster.org/pub/gluster/glusterfs/latest/centos/
Scene:Three server role Gluster do server and client sideFirst of all, three servers are guaranteed to pass.Configure/etc/hosts separately10.51.114.230 Web110.51.116.7 WEB210.51.116.58 WEB3Three servers, each of which installs Gluster.#apt-getinstallbison#apt-getinstallflex#wgethttp://download.gluster.org/pub/ gluster/glusterfs/3.6/3.6.4/glusterfs-3.6.4.tar.gz#tar-zxvfglusterfs-3.6.4.tar.gz #cd
Environment Description:4 machines installed GlusterFS to form a distributed replicated volumes clusterServer:10.64.42.9610.64.42.11310.64.42.11510.64.42.117Client:10.64.42.98
1. Preparatory workClose Iptables and SELinux2. Installing the Glusterfs server4 Server Installation Glusterfs
Yum install centos-release-gluster
yum install-y
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.