-dev El
Install Fuse:
[Root@localhost ~]# CD fuse-2.9.3[Root@localhost fuse-2.9.3]#./configure make make install[Root@localhost fuse-2.9.3]# CD
Install Gluster:
[Root@localhost ~]# CD glusterfs-3.6.0
[Root@localhost glusterfs-3.6.0]#./configure--prefix=/usr/local/
failed, in fact, needs to be installed on the running deploy-heketi node yum -y install glusterfs-fuse .After all deployments are successful:[[emailprotected] deploy]# kubectl get podNAME READY STATUS RESTARTS AGEcurl-87b54756-wzm66 1/1 Running 0 17hglusterfs-9xj2r 1/1 Running 0 15hglusterfs-kbqpc
my system is RHEL5, may not be the same, the need to install the third party rely on different ah, anyway, we are in the process of installation of what is missing to install what, general will be prompted.
Download the glusterfs-3.2.0.tar.gz source package. Extract to a directory casually.
Glusterfs requires f
Install Centos-release-openstack-newton (http://mirrors.aliyun.com/centos/7/extras/x86_64/Packages/) # Yum Install openstack-swift-* (http://mirrors.aliyun.com/centos/7/cloud/x86_64/openstack-newton/)Installing Gluster-swift (Note that the installation version is consistent with the OpenStack Swift version)# yum Install Epel-release (http://mirrors.aliyun.com/ce
, 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
1, modify the/etc/hostsAll service nodes execute:10.5.25.37 glusterfs-1-5-25-3710.5.25.38 glusterfs-2-5-25-382. Start the installationAll service nodes execute:Apt-get Install Glusterfs-server-yService Glusterfs-server Start3. Create a cluster node37 performed on:Gluster Pee
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] ~
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
shown on the left, each file in the Strip volume is distributed to each node for storage.
4. DHT
650) This. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201410/4/6249823_1412426746viZf.png "" 401 "Height =" 282 "/>
Install gluster
Installation environment. The three nodes are
172.16.24.100 no
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
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-gluste
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
:/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
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.