lustre el7 el8 新增安裝套件設定 add repo

以下為 el7 設定

# vi /etc/yum.repos.d/lustre.repo

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

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

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

然後安裝. lustre

# yum install -y lustre-client

先前是使用 intel 不過目前組經不能使用了

### OLD
[lustre-server]
name=lustre-server baseurl=https://downloads.hpdd.intel.com/public/lustre/latest-release/el7/server
# exclude=*debuginfo*
gpgcheck=0

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

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

以下為 el8 設定:

# vi /etc/yum.repos.d/lustre.repo
[lustre-client]
name=lustre-client
baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el8.7/client
exclude=debuginfo
gpgcheck=0

然後安裝 lustre-client

# dnf install -y lustre-client

如果是 el8 server 可以用下列設定:

# vi /etc/yum.repos.d/lustre.repo
[lustre-server]
name=lustre-server
baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el8.9/server
exclude=debuginfo
gpgcheck=0

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

然後安裝 lustre

# dnf install lustre -y

如果要安裝 zfs 版本 lustre ,要先記得把 powertools eable 起來,還有要安裝 epel

# dnf config-manager --set-enabled powertools
&
# dnf install epel-release -y

然後安裝 lustre-zfs-dkms

# dnf install lustre-zfs-dkms -y