moosefs-1.6.10 安装手记
来源:互联网 发布:r语言分类数据计数 编辑:程序博客网 时间:2024/05/20 03:41
Moosefs-1.6.10 INSTALL
sery@163.com
Forms 1
rule
OS
ip
Service
Host quantity
Master
Centos 5.3
192.168.0.19
Mfsmaster,mfsmetalogger
1
chunkserver
Centos5.3/freebsd7.*
192.168.0.71~74
chunkserver
4
Mfs client
Centos5.3/freebsd7.*
192.168.0.0/24
mfsmount
several
Use software:
1 fuse-2.7.4.tar.gz
2 mfs-1.6.10.tar.gz
Master install and running steps:
1 add mfs user :useradd mfs –s /sbin/nologin
2 install mfs: tar zxvf mfs-1.6.10.tar.gz; cd mfs-1.6.10; ./configure –prefix=/usr/local/mfs –with-default-user=mfs –with-default-group=mfs; make ; make install
3 produce and modify configuration file:
(1) cd /usr/local/mfs/etc ; cp mfsmaster.cfg.dist mfsmaster.cfg ; cp mfsmetalogger.cfg.dist mfsmetalogger.cfg
(2) vi mfsmetalogger.cfg -à MASTER_HOST = 192.168.0.19
(3) mkdir /var/run/mfs ; chown –R mfs:mfs /var/run/mfs
4 running mfsmaster:
(1) cd /usr/local/mfs ; sbin/mfsmaster start
(2) sbin/mfsmetalogger start
(3) check process: ps aux | grep mfsmaster
(4) check system log: tail –f /var/log/messages
(5) check network status: netstat –an | grep tcp
tcp4 0 52 192.168.0.19.22 192.168.1.252.49020 ESTABLISHED
tcp4 0 0 192.168.0.19.9420 192.168.0.75.16178 ESTABLISHED
tcp4 0 0 192.168.0.19.9420 192.168.0.72.42870 ESTABLISHED
tcp4 0 0 192.168.0.19.9420 192.168.0.71.2740 ESTABLISHED
tcp4 0 0 192.168.0.19.9420 192.168.0.73.38114 ESTABLISHED
tcp4 0 0 192.168.0.19.9419 192.168.0.19.25712 ESTABLISHED
tcp4 0 0 *.9421 *.* LISTEN
tcp4 0 0 *.9420 *.* LISTEN
tcp4 0 0 *.9419 *.* LISTEN
…………………….(omitted)…………………………..
Everything seems to be fine!!!!!
Chunkserver install and running steps:
1 add mfs user :useradd mfs –s /sbin/nologin
2 install mfs: tar zxvf mfs-1.6.10.tar.gz; cd mfs-1.6.10; ./configure –prefix=/usr/local/mfs –with-default-user=mfs –with-default-group=mfs; make ; make install
3 produce and modify configuration file:
(1) cd /usr/local/mfs/etc ; cp mfschunkserver.cfg.dist mfschunkser.cfg ; cp mfshdd.cfg.dist mfshdd.cfg
(2) vi mfschunkserver.cfg -à MASTER_HOST = 192.168.0.19
(3) vi mfshdd.cfg -à /data (It is a separate partition)
(4) mkdir /var/run/mfs ; chown –R mfs:mfs /var/run/mfs
(5) chown –R mfs:mfs /data
4 running mfsmaster:
(1) cd /usr/local/mfs ; sbin/mfschunkserver start
(2) check process: ps aux | grep mfsmaster
(3) check system log: tail –f /var/log/messages
(4) check network status: netstat –an | grep tcp
(5) check directory /data , Observed the existence of a file or directory: ls –al /data
[root@mfs-1 etc]# ls -al /data/
total 1036
drwxr-xr-x 258 mfs mfs 4096 Dec 23 11:59 .
drwxr-xr-x 24 root root 4096 Dec 22 10:17 ..
drwxr-x--- 2 mfs mfs 4096 Dec 23 11:59 00
drwxr-x--- 2 mfs mfs 4096 Dec 23 11:59 01
drwxr-x--- 2 mfs mfs 4096 Dec 23 11:59 02
drwxr-x--- 2 mfs mfs 4096 Dec 23 11:59 03
………………………………
Everything seems to be fine!!!!!
Mfs client install and mount operation steps:
1 add mfs user :useradd mfs –s /sbin/nologin
2 install mfs: tar zxvf mfs-1.6.10.tar.gz; cd mfs-1.6.10; ./configure –prefix=/usr/local/mfs –with-default-user=mfs –with-default-group=mfs –enable-mfsmount; make ; make install
3 mount mfs:
(1) when os is freebsd: mkdir /mnt/mfs ; /usr/local/mfs/bin/mfsmount -h 192.168.0.19 ; df –h Output is as follows
shoucang5# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 19G 1.8G 16G 10% /
devfs 1.0K 1.0K 0B 100% /dev
……………………………………………………………………..
/dev/fuse0 7.1T 0B 7.1T 0% /mnt/mfs
(2)when os is centos:mkdir /mnt/mfs ; /usr/local/mfs/bin/mfsmount -H 192.168.0.19 /mnt Output is as follows
[root@dl-src mfs]# bin/mfsmount -H 192.168.0.19 /mnt
mfsmaster register error: Permission denied
It is not fine!!!!!!!
Note:If found not fuse , you can perform command in unix shell .
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
But when I use mfs-1.5.12 as mfsclient installing to mount master(version1.6.10),It is ok!
本文出自 “sery” 博客,请务必保留此出处http://sery.blog.51cto.com/10037/248503
- moosefs-1.6.10 安装手记
- moosefs安装
- MooseFS安装笔记
- Moosefs安装说明
- MooseFS 安装与配置
- Moosefs介绍及安装
- MooseFS 安装与使用
- MooseFS 1.6.27
- Salaris 10 安装手记
- Ubuntu11.10安装手记
- moosefs
- 分布式文件系统MooseFS安装步骤
- centos下安装moosefs客户端
- MooseFS分布式文件系统安装向导
- SVN 1.6.5安装手记
- 安装MooseFS学习的Linux命令
- MooseFS分布式文件系统安装配置常见问题集
- 分布式文件系统MooseFS的部署安装
- struts2中s:select标签的使用
- 每日雕蟲一技[2013-01-07][国际化规范习惯]
- UITextField的隐藏
- Fibonacci数列(效率较高)
- Hibernate的搜罗的小细节(一)
- moosefs-1.6.10 安装手记
- 一步一步实现MFC扩展DLL中导出类和对话框
- JS作用域链
- MooseFS分布式文件系统安装向导
- JQuery Mobile入门——外部页面链接
- 如何去写一个gem
- java异常堆栈信息过滤
- babyos (十) —— 通过IO端口读取硬盘扇区
- 希望这次可以坚持下去吧