文章目录
- Ubuntu24.04安装gpfs客户端
- 拷贝软件包
- 在客户端执行命令,提取产品包
- 进入安装包目录,安装相关产品包
- 编译。编译过程中会检查系统依赖
- 接入集群(后续)
Ubuntu24.04安装gpfs客户端
拷贝软件包
scp /root/Spectrum_Scale_Data_Management-5.1.6.1-x86_64-Linux-install 10.0.x.x:/root/
在客户端执行命令,提取产品包
chmod 777 Spectrum_Scale_Data_Management-5.1.6.1-x86_64-Linux-install
./Spectrum_Scale_Data_Management-5.1.6.1-x86_64-Linux-install --text-only
进入安装包目录,安装相关产品包
# pwd
/usr/lpp/mmfs/5.1.6.1/gpfs_debsdpkg -i gpfs.base_5.1.6-1_amd64.deb gpfs.docs_5.1.6-1_all.deb gpfs.gpl_5.1.6-1_all.deb gpfs.adv_5.1.6-1_amd64.deb gpfs.gskit_8.0.55-19.1_amd64.deb gpfs.java_5.1.6-1_amd64.deb gpfs.license.dm_5.1.6-1_amd64.deb gpfs.msg.en-us_5.1.6-1_all.deb
...
Errors were encountered while processing:gpfs.basegpfs.gplgpfs.adv
/usr/lpp/mmfs/bin/mmbuildgpl
/usr/lpp/mmfs/bin/mmcmi: error while loading shared libraries: libgpfs.so: cannot open shared object file: No such file or directory
--------------------------------------------------------
mmbuildgpl: Building GPL (5.1.6.1) module begins at Mon Nov 18 10:11:18 AM CST 2024.
--------------------------------------------------------
Verifying Kernel Header...
Cannot parse kernel version 6.8.0-48-generic
mmbuildgpl: Command failed. Examine previous error messages to determine cause.
处理缺少libaio1依赖
curl -O http://launchpadlibrarian.net/646633572/libaio1_0.3.113-4_amd64.deb% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed
100 6520 100 6520 0 0 311 0 0:00:20 0:00:20 --:--:-- 1403dpkg -i libaio1_0.3.113-4_amd64.deb
Selecting previously unselected package libaio1:amd64.
(Reading database ... 88083 files and directories currently installed.)
Preparing to unpack libaio1_0.3.113-4_amd64.deb ...
Unpacking libaio1:amd64 (0.3.113-4) ...
Setting up libaio1:amd64 (0.3.113-4) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:ksh ksh93u+m m4
Suggested packages:binfmt-support m4-doc
The following NEW packages will be installed:ksh ksh93u+m m4再次安装
dpkg -i gpfs.base_5.1.6-1_amd64.deb
dpkg -i gpfs.gpl_5.1.6-1_all.deb
dpkg -i gpfs.adv_5.1.6-1_amd64.deb
编译。编译过程中会检查系统依赖
/usr/lpp/mmfs/bin/mmbuildgpl
--------------------------------------------------------
mmbuildgpl: Building GPL (5.1.6.1) module begins at Mon Nov 18 10:22:22 AM CST 2024.
--------------------------------------------------------
Verifying Kernel Header...
Cannot parse kernel version 6.8.0-48-generic
mmbuildgpl: Command failed. Examine previous error messages to determine cause.
因内核版本较新无法兼容,反馈给IBM厂商进行适配
接入集群(后续)
待所有客户端完成编译后,需要将客户端加入到存储集群里。在存储节点(确保与客户端互信)执行节点添加命令,依次加入然后赋予客户端权限。
客户端添加:/usr/lpp/mmfs/bin/mmaddnode -N clientxx.xxx.com
权限设置:/usr/lpp/mmfs/bin/mmchlicense client --accept -N clientxx.xxx.com
参考资料:
Ubuntu 24.04 安装 libaio1 和 libaio-dev