欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

Lustre 文件系统安装

程序员文章站 2022-12-14 11:38:30
1.制作一个本地镜像 同步镜像: 如果因为网络问题,可以使用proxychains4 来进行代理访问:(proxychains4 安装教程) 创建repo metadata: 制作lustre.repo文件: yum 安装教程,详细请参考lustre文档 http://wiki.lustre.org ......

1.制作一个本地镜像

reposync configfile:

[root@localhost html]# cat lustre-repo.conf 
[lustre-server]
name=lustre-server
baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el7.6.1810/server
# exclude=*debuginfo*
gpgcheck=0

[lustre-client]
name=lustre-client
baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el7.6.1810/client
# exclude=*debuginfo*
gpgcheck=0

[patchless-ldiskfs]
name=patchless-ldiskfs
baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el7.6.1810/patchless-ldiskfs-server
# exclude=*debuginfo*
gpgcheck=0

[e2fsprogs-wc]
name=e2fsprogs-wc
baseurl=https://downloads.whamcloud.com/public/e2fsprogs/latest/el7
# exclude=*debuginfo*
gpgcheck=0

同步镜像:

[root@localhost html]# reposync -c lustre-repo.conf -n -r lustre-server -r lustre-client -r patchless-ldiskfs -r e2fsprogs-wc

如果因为网络问题,可以使用proxychains4 来进行代理访问:(proxychains4 安装教程)

[root@localhost repo]# proxychains4 reposync -c ../lustre-repo.conf -n -r lustre-server -r lustre-client -r patchless-ldiskfs -r e2fsprogs-wc

创建repo metadata:

cd /usr/share/nginx/html/repo
for i in e2fsprogs-wc lustre-client lustre-server patchless-ldiskfs; do
(cd $i && createrepo .)
done

 制作lustre.repo文件:

[root@localhost html]# cat lustre.repo 
[lustre-server]
name=lustre-server
baseurl=http://127.0.0.1/repo/lustre-server
# enabled=0
gpgcheck=0
proxy=_none_

[lustre-client]
name=lustre-client
baseurl=http://127.0.0.1/repo/lustre-client
# enabled=0
gpgcheck=0

[e2fsprogs-wc]
name=e2fsprogs-wc
baseurl=http://127.0.0.1/repo/e2fsprogs-wc
# enabled=0
gpgcheck=0

# patchless-ldiskfs

[patchless-ldiskfs]
name=patchless-ldiskfs
baseurl=http://127.0.0.1/repo/patchless-ldiskfs
# enabled=0
gpgcheck=0

 yum 安装教程,详细请参考lustre文档

http://wiki.lustre.org/installing_the_lustre_software#using_yum_to_manage_local_software_provisioning

保持更新,如果对你有帮助,请点击推荐。