GlusterFS安装/配置/测试

操作系统 OpenSuse 10.2

1.下载

1) 下载GlusterFS

http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/
http://europe.gluster.org/glusterfs/1.3/

2) 下载Fuse补丁

http://ftp.zresearch.com/pub/gluster/glusterfs/fuse/
http://europe.gluster.org/glusterfs/fuse/


2.安装

1) 安装Fuse
先安装kernel-source

 

再安装Fuse

 

2) 安装GlusterFS

 

加上 --prefix= 后,配置文件会装在/etc下,否则配置文件装到/usr/local/etc/下

安装完成.

3) 配置 - 以2个server(172.16.0.191和172.16.0.192),1个client(172.16.0.193)为例

Server1 [172.16.0.191]

 

Server2 [172.16.0.192] 配置及操作同上.

Client1 [172.16.0.193] 配置

 

查看网络状态

 

4. 测试

#in Client 1

 

#in Client 1

 

#in Server 1

 

#in Server 2

 

安装,配置,测试成功。

继续高可靠性测试

#in Server 1

 

#in Client 1

 

说明当有Stoage Server DOWN时,整个cluster file system将不能使用。GlusterFS高可靠性配置可参考另一篇文章:


参考资料:
Install and run GlusterFS v1.3 in 10mins

性能优化:
Guide to Optimizing GlusterFS


附:

Self-Heal
Currently AFR doesn't do active self heal. That is, it won't fix all the inconsistencies automatically. But instead it fixes the inconsistencies when a file gets opened. Hence, if one needs to make sure all of his afr'd copies are in sync, following command may help.

 

A faster healing solution could be

 

转贴地址: http://anotherbug.blog.chinajavaworld.com/entry/4356/0/

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值