首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在RHEL中设置infiniband ib0

在RHEL中设置infiniband ib0
EN

Unix & Linux用户
提问于 2022-01-26 22:37:15
回答 1查看 457关注 0票数 1

在一些安装了卡的服务器上运行RHEL7.9。我已经从dvd中安装了RHEL7.9,并选择了带有gui的服务器以及Infiniband支持和一些其他项目(底部是5)。

所以使用Application - System Tools - Settings - Network,这里是gui的照片。

我连接到了,但是如果我做了一个ip a,它会显示ib0 state DOWN。这是在一个简单的局域网上,在下面的图片中,Proxy = NoneIPv6 Settings = ignore没有为ipv4设置设置网关值,但我认为这不重要。

  • 我错过了什么或者没有做什么?
  • 我需要使用MLNX_OFED_LINUX-5.5-1.0.3.2-rhel7.9-x86_64.iso吗?如果是的话,它的哪些部分?
  • 我在以前的RHEL安装下运行了MLNX的mlnxofedinstall,并使ib0网络正常工作,但我认为iso的mlnxofedinstall正在删除现有的rdma内容,并导致了我的NFS+RDMA问题,所以我有点迷路了。
  • 更新:在我的4台服务器中的1台上,我运行了mlnxofedinstall --with-nfsrdma,它运行了一个操作系统,现在我在所有的服务器infiniband上都有绿色链接灯。是操作系统做到了吗?但是结果,我在服务器上失去了rdma.service,我运行了mlnxofedinstall on,然后对使nfs+rdma正常工作的改变进行了核武器,这是我真正想要的。
代码语言:javascript
复制
Usage: ./mlnxofedinstall [OPTIONS]

Installation control:
    --force              Force installation
    --tmpdir             Change tmp directory. Default: /tmp
    -k|--kernel <version>
                         Default on this system: 3.10.0-1160.49.1.el7.x86_64
    -s|--kernel-sources <path>
                         Default on this system: /lib/modules/3.10.0-1160.49.1.el7.x86_64/build
    -U|--update          Update installed version
    --with-32bit         Install 32-bit libraries. Relevant for x86_64 platforms
    --without-32bit      Skip 32-bit libraries installation (Default). Relevant for x86_64 platforms
    --distro             Set Distro name for the running OS (e.g: rhel6.5, sles11sp3). Default: Use auto-detection
    --skip-distro-check  Do not check MLNX_OFED_LINUX vs Distro matching
    --without-depcheck   Run the installation without verifying that all required Distro's packages are installed
    --check-deps-only    Check for missing required Distro's packages and exit
    --print-distro       Print distribution name and exit

    --add-kernel-support
                         Add kernel support (Run mlnx_add_kernel_support.sh) and install it
    --add-kernel-support-build-only
                         Add kernel support (Run mlnx_add_kernel_support.sh) and exit

    --kernel-extra-args '<args>'
                         pass <args> to kernel configure script (single paraeter, space separated)
                         - Pass it along with --add-kernel-support

    --kmp                Install kernel RPMs with KMP support if available
                         - Enabled by default with official MLNX_OFED_LINUX releases
                         - Disabled by default if new MLNX_OFED_LINUX was created with mlnx_add_kernel_support.sh
                         - Passing it along with --add-kernel-support will pass --kmp to mlnx_add_kernel_support.sh
    --disable-kmp        Install kernel RPMs without KMP support if available
                         - Enabled by default if new MLNX_OFED_LINUX was created with mlnx_add_kernel_support.sh
    --skip-kmp-verify    Do not check if the KMP rpms are compatiable with the target kernel
    --speed-up-kmp       Speed up KMP RPMs installation by skipping %post section and running the required operations once for all KMPs

    --umad-dev-rw        Grant non root users read/write permission for umad devices instead of default
    --umad-dev-na        Prevent from non root users read/write access for umad devices. Overrides '--umad-dev-rw'
    --enable-mlnx_tune   Enable Running the mlnx_tune utility
    --enable-affinity    Run mlnx_affinity script upon boot
    --disable-affinity   Disable mlnx_affinity script (Default)
    --skip-unsupported-devices-check
                         Don't abort if system has an older, unsupported card
    --enable-opensm      Run opensm upon boot

    --package-install-options
                         RPM install options to use when installing RPM packages (comma separated list)
    --pre-install-<package> <path to script>
                         Run given script before given package's install
    --post-install-<package> <path to script>
                         Run given script after given package's install

Firmware update control:
    --without-fw-update  Skip firmware update
    --fw-update-only     Update firmware. Skip driver installation
    --force-fw-update    Force firmware update
    --fw-image-dir       Firmware images directory to use instead of default package content

Package selection:
    -c|--config <packages config_file>
                         Example of the config file can be found under docs
    --all                Install all available packages
    --bluefield          Install BlueField packages
    --hpc                Install minimum packages required for HPC
    --basic              Install minimum packages for basic functionality
    --dpdk               Install minimum packages required for DPDK
    --ovs-dpdk           Install DPDK and OVS packages
    --vma                Install minimum packages required for VMA
    --xlio                Install minimum packages required for XLIO
    --guest              Install minimum packages required by guest OS
    --hypervisor         Install minimum packages required by hypervisor OS
    --with-fabric-collector
                         Enable installing fabric-collector package
    --with-nvmf          Enable NVMEoF support
    --with-nfsrdma       Enable NFSoRDMA support
    --without-nfsrdma    Disable NFSoRDMA support (Default)

Extra package filtering:
    --kernel-only        Install kernel space packages only
    --user-space-only    Filter selected packages and install only User Space packages
    --without-<package>  Do not install package
    --with-<package>     Force installing package

Miscellaneous:
    -h|--help            Display this help message and exit
    --post-start-delay <sec>
                         Set openibd POST_START_DELAY parameter in seconds. (Default 0)
    -p|--print-available Print available packages for current platform
                     And create corresponding ofed.conf file
EN

回答 1

Unix & Linux用户

发布于 2022-02-22 15:14:27

解决我的问题的方法是在安装时选择Infiniband Support,在从dvd重新安装RHEL 7之后。我从来没有选择过,我认为我可以安装任何我需要后,事实。

似乎有两种途径可以选择,来自redhat的Infiniband支持包,或安装MLNX_OFED_LINUX-5.5-1.0.3.2-rhel7.9-x86_64.iso.

我成功地做了红帽子路径,没有安装任何东西,从MLNX,iso,除了固件更新到infiniband卡。

opensm需要运行在infiniband网络上的至少一台服务器上,然后在infiniband卡上会看到绿色链接灯,并且都会工作。

MLNX导致删除一些不兼容的redhat rpms,如果其他服务器执行redhat "infiniband support“安装以使infiniband连接正常运行,则会导致获取nfs+rdma和nfs的问题。

最后,我总结了redhat infiniband支持路径以使其正常工作,并且只使用MLNX进行固件更新;除非您知道自己在做什么,而且真正想要这些,否则不要让MLNX iso在linux中安装所有内容。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/688105

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档