GlusterFS Server的各个模式的详细介绍

GlusterFS 几种volume 模式说明:一、 默认模式,既DHT, 也叫 分布卷: 将文件已hash算法随机分布到 一台服务器节点中存储。

gluster volume create test-volume server1:/exp1 server2:/exp2
Continue reading
Posted in Glusterfs, Servuce | Tagged , | Leave a comment

GlusterFS 搭建+优化

 
1. 在每一个节点上进行安装并启动服务
# 先安装 gluster 源
$ yum install centos-release-gluster -y

# 安装 glusterfs 组件
$ yum install -y glusterfs glusterfs-server glusterfs-fuse glusterfs-rdma glusterfs-geo-replication glusterfs-devel

## 创建 glusterfs 目录
$ mkdir /opt/glusterd

## 修改 glusterd 目录
$ sed -i 's/var\/lib/opt/g' /etc/glusterfs/glusterd.vol

# 启动 glusterfs
$ systemctl start glusterd.service

# 设置开机启动
$ systemctl enable glusterd.service

#查看状态
$ systemctl status glusterd.service
Continue reading
Posted in Glusterfs, Servuce | Tagged , | Leave a comment