1、由于开发环境暂时无法接入互联网,故需要自己准备好RPM安装包,可在本地虚拟机上利用一下命令将glusterfs所需要的安装包下载下来:
1)安装yum下载插件 yum install --downloadonly --downloaddir=/home/admin/glusterfs glusterfs-server
2)rpm –ivh epel-release-6-8.noarch
3)添加资源
wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.5/CentOS/glusterfs-epel.repo
4) 下载安装包:
yum install --downloadonly --downloaddir=/home/admin/glusterfs glusterfs-server
2、安装glusterfs
rpm –ivh *
3、启动glusterfs
service glusterd start
chkconfig glusterd on
4、配置整个GlusterFS集群
[root@glusterfs1 ~]# gluster peer probe glusterfs1
peer probe: success. Probe on localhost not needed
[root@glusterfs1 ~]#
[root@glusterfs1 ~]# gluster peer probe glusterfs2
peer probe: success.
[root@glusterfs1 ~]#
5、查看节点状态
gluster peer status
6、创建存储目录
[root@glusterfs1 share]# mkdir -p /usr/local/share/models
7、创建glusterfs磁盘
[root@glusterfs1 share]# gluster volume create models replica 2 glusterfs1:/usr/local/share/models glusterfs2:/usr/local/share/models force
volume create: models: success: please start the volume to access data
[root@glusterfs1 share]#
8、启动数据卷
[root@glusterfs1 share]# gluster volume start models
volume start: models: success
[root@glusterfs1 share]#
9、客户端安装glusterfs
Rpm –ivh *
10、创建挂载点
[root@master3 ~]#mkdir -p /mnt/models
11、挂载glusterfs
[root@master3 ~]# mount -t glusterfs -o rw glusterfs1:models /mnt/models/
mount -t glusterfs -o rw CBHKZY-HP-03:models /mnt/portal/userfile
注意事项: /etc/hosts配置好; 关闭防火墙 参考: http://www.datacoder.cn/distributestore/537
相关推荐
Linux运维-运维课程MP4存储专题-d2-glusterfs分布式存储-01-glusterfs集群环境再确认.mp4
Linux运维-运维课程MP4存储专题-d2-glusterfs分布式存储-11-glusterfs小结.mp4
Linux运维-运维课程MP4存储专题-d2-glusterfs分布式存储-14-ceph集群环境说明.mp4
GlusterFS分布式文件系统群集资源.rar
Linux运维-运维课程MP4存储专题-d2-glusterfs分布式存储-15-ceph集群环境准备过程演
Linux运维-运维课程MP4存储专题-d2-glusterfs分布式存储-12-ceph引入.mp4
Linux运维-运维课程MP4存储专题-d2-glusterfs分布式存储-06-stripe卷创建-连接与测试.mp4
GlusterFS分布式文件系统架构介绍,EHA算法介绍,5中分布式卷的详细介绍,性能测试对比
#资源达人分享计划#
GlusterFS分布式文件系统的安装配置教程.docx
GlusterFS概述,GlusterFS设计目标 GlusterFS的设计思想显著区别有现有并行/集群/分布式文件系统;GlusterFS技术特点,GlusterFS总体架构与设计;GlusterFS相关算法和流程介绍
GlusterFS的分布式冗余存储 到挺的一片论文!
centos7 Glusterds分布式存储安装配置以及其已经常用维护命
TStore 是基于 GlusterFS 开发的分布式存储系统
技术文档分享。
• ⽆无中⼼心的存储设计: glusterfs • 有中⼼心的存储设计:hadoop • 基于数据库的存储设计: gridfs, hbase • 绕过问题的存储设计: fastdfs
GlusterFS文件系统的搭建和使用,运维操作
GlusterFS最初的目标是代替Lustre和GPFS分布式文件系统,经过八年左右的蓬勃发展,GlusterFS目前在开源社区活跃度非常之高,这个后起之秀已经俨然与Lustre、MooseFS、CEPH并列成为四大开源分布式文件系统。...
以Docker为代表的容器技术在云计算领域正扮演着越来越重要...GlusterFS因其部署简单、扩展性强、高可用等特点,在分布式存储领域被广泛使用。本文主要介绍了如何利用GlusterFS为Docker集群提供可靠的分布式文件存储。Gl