免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3964 | 回复: 4

[Lustre] 分布式文件系统之Lustre [复制链接]

论坛徽章:
0
发表于 2012-02-20 16:01 |显示全部楼层
本帖最后由 liu-shaobo 于 2012-02-20 16:52 编辑

1、lustre介绍

当计算机与磁盘间数据交换速度的无法跟上处理器和内存增长的速度,从而拖累了应用程序的性能,使用集群文件系统提高I/O速度,可以降低企业购买存储设备的成本, lustre是一种在linux平台上运行的集群文件系统,具有高性能,支持不同网络,容错性好,支持Posix标准的特点。



2、配置环境:

Server操作系统:CentOS-5.5-x86_64
Client 操作系统:CentOS-5.6-x86_64
MDS服务器1台,OST服务器3台,客户端1台。
备注:每台机器在分区时,留出一个空闲分区挂载lustre文件系统。
服务器IP:
MDS :192.168.1.10
OST1:192.168.1.20
OST2:192.168.1.21
OST3:192.168.1.22
CLI   :192.168.1.23




3、MDS和OST安装

lustre下载地址:
http://downloads.lustre.org/public/lustre/

Lustre包描述服务器端客户端
Lustre内核包
kernel-lustre-<ver>Lustre补丁内核包*
Lustre模块包
lustre-modules-<ver>补丁内核的Lustre模块*
lustre-client-modules-<ver>客户端补丁内核的Lustre模块
*
Lustre应用程序
lustre-<ver>包括用户应用程序来配置和运行lustre*
lustre-ldiskfs-<ver>支持ext3文件系统的lustre补丁包*
e2fsprogs-<ver>用了维护支持ext3文件系统的应用程序包*
lustre-client-<ver>客户端应用程序*

安装lustre
# rpm kernel-2.6.18-194.17.1.el5_lustre.1.8.7.x86_64.rpm \
kernel-devel-2.6.18-194.17.1.el5_lustre.1.8.7.x86_64.rpm \
kernel-headers-2.6.18-194.17.1.el5_lustre.1.8.7.x86_64.rpm


# rpm -Uvh e2fsprogs-1.41.12.2.ora1-0redhat.rhel5.x86_64.rpm \
e2fsprogs-devel-1.41.12.2.ora1-0redhat.rhel5.x86_64.rpm


# rpm -ivh lustre-ldiskfs-3.1.6-2.6.18_194.17.1.el5_lustre.1.8.7.x86_64.rpm \
lustre-modules-1.8.7-2.6.18_194.17.1.el5_lustre.1.8.7.x86_64.rpm \
lustre-1.8.7-2.6.18_194.17.1.el5_lustre.1.8.7.x86_64.rpm


重启系统
# reboot




4、MDS配置

# modprobe lustre
# modprobe ldiskfs
# vi /etc/modprobe.conf
添加以下内容:

options lnet networks=tcp

配置文件系统名和管理服务器
# mkfs.lustre --reformat --fsname=dfs --mgs --mdt /dev/hda3
# mkdir /lustre
# mount -t lustre /dev/hda3 /lustre




5、OST配置

# modprobe lustre
# modprobe ldiskfs
# vi /etc/modprobe.conf
添加以下内容:

options lnet networks=tcp


配置文件系统名和对象存储服务器
# mkfs.lustre --reformat --fsname=dfs --ost --mgsnode=192.168.1.10@tcp0 /dev/hda3
# mkdir /lustre
# mount -t lustre /dev/hda3 /lustre




6、客户端安装配置
# rpm -ivh lustre-client-modules-1.8.7-2.6.18_194.17.1.el5_lustre.1.8.7.x86_64.rpm --relocate /lib/modules/2.6.18-194.17.1.el5/=/lib/modules/2.6.18-238.el5/
# rpm -ivh lustre-client-1.8.7-2.6.18_194.17.1.el5_lustre.1.8.7.x86_64.rpm
# modprobe lustre

# mkdir /lustre
# mount.lustre 192.168.1.10@tcp0:dfs /lustre


论坛徽章:
0
发表于 2012-02-21 08:48 |显示全部楼层
最近这个东西很火啊

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
发表于 2012-02-21 20:59 |显示全部楼层
支持下,2.0貌似没法直接下载,现在要从龟壳下载软件真难。

论坛徽章:
0
发表于 2012-02-24 15:33 |显示全部楼层
有没有搞Lustre 的兄弟,建个群聊聊啊!
LZ的资料太弱了

直接上个Lustre操作指南!

Lustre 1.8 Operations Manual.pdf

3.43 MB, 下载次数: 122

Lustre1.8官方操作指南

论坛徽章:
0
发表于 2012-03-20 22:03 |显示全部楼层
回复 4# R0NALDO


    呵呵,可以呀,你建不,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP