5 MXRDMA
repos edited this page 2026-08-05 14:58:31 +08:00

MXRDMA

环境准备

准备OFED 环境

  • 下载doca-ofed

    NVIDIA DOCA 3.2.1 LTS 下载 | NVIDIA 开发者

  • 安装doca-ofed

    sudo dpkg -i doca-host_***.deb
    sudo apt update
    sudo apt install doca-ofed -y
    sudo rmmod metax_rdma metax
    sudo /etc/init.d/openibd restart # 建议在BMC中执行此命令
    sudo update-initramfs -u -k all # 重新生成initramfs
    

适配 Centos、Kylin 系统

  • 配置YUM源

    cat <<EOF> /etc/yum.repos.d/maca-rdma-rpm.repo 
    [maca-rdma]
    name=Maca Rdma Yum Repository
    baseurl=https://repos.metax-tech.com/r/maca-rdma-rpm-$(uname -m)/
    enabled=1
    gpgcheck=0
    EOF
    
    

yum makecache ```

安装MXRDMA

  • 安装mxrdma最新版本

    yum install mxrdma
    
  • 卸载mxrdma

    yum autoremove mxrdma
    

适配 Ubuntu 系统

  • 配置APT源

    curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add -
    echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/r/maca-rdma-deb/ stable main" | tee /etc/apt/sources.list.d/maca-rdma-deb.list
    apt-get update
    

安装MXRDMA

  • 安装mxrdma最新版本

    apt install mxrdma
    
  • 卸载mxrdma

    apt autoremove mxrdma