/etc/rc.local 中的如下两个脚本开机启动配置。bash /usr/local/qcloud/rdma/set_bonding.shnohup bash /usr/local/qcloud/rdma/dscp.sh &
/etc/rc.local 中的配置脚本改造成 systemd 管理的 rdma-agent 服务,可以在无业务情况下执行如下命令安装,安装后会取消 /etc/rc.local 中的对应脚本配置避免开机重复配置 RDMA 网络。如果您的 rdma-agent 组件版本过低,也可以在无业务情况下执行如下命令升级。wget http://mirrors.tencentyun.com/install/cvm/rdma/bs2_rdma.tgz -O /tmp/bs2_rdma.tgz && tar -axf /tmp/bs2_rdma.tgz -C /tmp && chmod a+x /tmp/bs2_rdma/install.sh && cd /tmp/bs2_rdma/ && bash install.sh

wget http://mirrors.tencentyun.com/install/cvm/rdma/bs2_rdma.tgz -O /tmp/bs2_rdma.tgz && tar -axf /tmp/bs2_rdma.tgz -C /tmp && chmod a+x /tmp/bs2_rdma/lossless_upgrade.sh && cd /tmp/bs2_rdma/ && bash lossless_upgrade.sh

systemctl status rdma-agent

systemctl restart rdma-agent
/etc/rc.local 中的如下两个脚本配置,则重新执行如下命令即可重新配置 RDMA 网络,重新配置 RDMA 网络需要等待几分钟。bash /usr/local/qcloud/rdma/set_bonding.shnohup bash /usr/local/qcloud/rdma/dscp.sh &
bash /usr/local/qcloud/rdma/rdma_check.sh -f

Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários