Chinaunix首页 | 论坛 | 博客
  • 博客访问: 39443
  • 博文数量: 14
  • 博客积分: 440
  • 博客等级: 下士
  • 技术积分: 145
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-07 16:22
文章分类

全部博文(14)

文章存档

2011年(14)

我的朋友
最近访客

分类: LINUX

2011-04-07 12:03:18



安装fuse
GlusterFS需要fuse支持库,需先安装:
# yum -y install fuse fuse-devel  libibverbs-devel flex bison
tar xvf glusterfs-3.0.1.tar.gz
cd glusterfs-3.0.1
./configure --prefix=/usr/local/glusterfs
make
make install

vim /usr/local/glusterfs/etc/glusterfs/glusterfs.vol
volume brick  
  type storage/posix  
  option directory /data/export # Note: Once exported, DO NOT WRITE DIRECTLY TO THIS DIRECTORY  
end-volume  
   
volume brick-ns  
  type storage/posix  
  option directory /data/export-ns  
end-volume  
   
volume server  
  type protocol/server  
  subvolumes brick brick-ns  
  option transport-type tcp/server     # For TCP/IP transport  
  option auth.ip.brick.allow *  
  option auth.ip.brick-ns.allow *  
end-volume  
/usr/loca/glusterfs -f vim /usr/local/glusterfs/etc/glusterfs/glusterfs.vol
netstat -ant | grep 6996

客户端配置问题
volume client0

 type protocol/client

 option transport-type tcp/client

 option remote-host 192.168.1.23

 option remote-port 6996

 option remote-subvolume brick-ns

end-volume

阅读(1282) | 评论(0) | 转发(1) |
0

上一篇:Perl 特殊变量

下一篇:Gearman For Perl

给主人留下些什么吧!~~