MFS版本

mfs-1.6.27

MFS-MASTER

192.168.1.190

MFS-CHUNKSERVER1

192.168.1.252

MFS-CHUNKSERVER2

192.168.1.188

MFS-client

192.168.1.52

下载MFS地址:http://sourceforge.net/projects/moosefs/files/moosefs/

主控服务器MFS-MASTER部署

[root@trunk_190 mfs-1.6.27]# mkdir /usr/local/mfs
[root@trunk_190 mfs-1.6.27]# useradd mfs -s /sbin/nologin -u 513

[root@trunk_190 mfs-1.6.27]# ./configure --prefix=/usr/local/mfs --with-default-user=mfs --with-default-group=mfs

[root@trunk_190 mfs-1.6.27]# make &&make install

MASTER安装完成后,会在/usr/local/mfs/etc/mfs 下生成.dist的配置样例文件

mfschunkserver.cfg.dist mfshdd.cfg.dist mfsmetalogger.cfg.dist

mfsexports.cfg.dist mfsmaster.cfg.dist mfstopology.cfg.dist

#默认配置文件路径/usr/local/mfs/etc/mfs/

##MASTER 需要一下几个配置文件/usr/local/mfs/etc

mfsmaster.cfg、mfsexports.cfg、mfstopology.cfg

启动master mfs服务:

[root@trunk_190 etc]# /usr/local/mfs/sbin/mfsmaster start

ERROR:

oading metadata ...

can't open metadata file

if this is new instalation then rename /usr/local/mfs/var/mfs/metadata.mfs.empty as /usr/local/mfs/var/mfs/metadata.mfs

init: file system manager failed !!!

根据提示: mv /usr/local/mfs/var/mfs/metadata.mfs.empty /usr/local/mfs/var/mfs/metadata.mfs

[root@trunk_190 mfs]# /usr/local/mfs/sbin/mfsmaster start

default sysconf path has changed - please move mfsmaster.cfg from /usr/local/mfs/etc/ to /usr/local/mfs/etc/mfs/#默认配置文件路径已经更改到/usr/local/mfs/etc/mfs/

working directory: /usr/local/mfs/var/mfs

lockfile created and locked

initializing mfsmaster modules ...

loading sessions ... ok

sessions file has been loaded

default sysconf path has changed - please move mfsexports.cfg from /usr/local/mfs/etc/ to /usr/local/mfs/etc/mfs/

exports file has been loaded

default sysconf path has changed - please move mfstopology.cfg from /usr/local/mfs/etc/ to /usr/local/mfs/etc/mfs/

mfstopology: incomplete definition in line: 7

mfstopology: incomplete definition in line: 7

mfstopology: incomplete definition in line: 22

mfstopology: incomplete definition in line: 22

mfstopology: incomplete definition in line: 28

mfstopology: incomplete definition in line: 28

topology file has been loaded

loading metadata ...

create new empty filesystemmetadata file has been loaded

no charts data file - initializing empty charts

master <-> metaloggers module: listen on *:9419

master <-> chunkservers module: listen on *:9420

main master server module: listen on *:9421

mfsmaster daemon initialized properly

启动了一下3个端口:

MATOML_LISTEN_PORT = 9419

MATOCS_LISTEN_PORT = 9420

MATOCL_LISTEN_PORT = 9421

启动CGI监控,用浏览器查看整个MooseFS的运行情况

[root@trunk_190 mfs]# /usr/local/mfs/sbin/mfscgiserv
lockfile created and locked
starting simple cgi server (host: any , port: 9425 , rootpath: /usr/local/mfs/share/mfscgi)

浏览器访问:

http://192.168.1.190:9425

最新文章

  1. Maven仓库搭建和配置
  2. Vim快捷键记录(工作中遇到)
  3. [UML]UML系列——包图Package
  4. Spark源码学习1.3——TaskSetManager.scala
  5. FreeBSD Opera Flash问题
  6. rdlc报表大小设置
  7. 【Android】YUV使用总结 —— Android常用的几种格式:NV21/NV12/YV12/YUV420P的区别
  8. atom编辑markdown之上传图片
  9. java出错
  10. Web Service学习之七:CXF拦截器
  11. StringToInt
  12. Python多线程同步命令行模拟进度显示
  13. Android studio 配置JNI环境
  14. 在borland c++ builder 中使用 google test (gtest)
  15. JS关闭当前页面的方法
  16. 我自己总结的C#开发命名规范整理了一份
  17. 知识科普:IM聊天应用是如何将消息发送给对方的?(非技术篇)
  18. Problem 3: Largest prime factor
  19. Lattice
  20. 2017-2018 ACM-ICPC, NEERC A题Automatic Door 挺棘手的模拟

热门文章

  1. The Preliminary Contest for ICPC Asia Shanghai 2019 (B L )
  2. elemeng-ui中el-select的默认选择项问题
  3. python学习笔记:itsdangerous模块
  4. Cocos2d-x之Scene
  5. Dubbo与SpringBoot的结合
  6. SpringCloud-技术专区-Hystrix-使用指南
  7. 利用HTML和CSS实现常见的布局
  8. Html5介绍及新增标签
  9. 【转载】vue-cli搭建的环境,用nginx做代理服务器,访问时显示:Invalid Host header
  10. android5.1 隐藏状态栏