安装和使用
本特性基于“Docker+Bond4+IPVLAN”的组网环境进行优化。安装和使用该特性之前,请确保已完成相应组网环境的搭建。
- 执行以下命令进行环境基线配置。
1 2 3 4 5 6 7 8
systemctl stop firewalld.service systemctl disable firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux setenforce 0 systemctl stop irqbalance.service systemctl disable irqbalance.service swapoff -a systemctl start irqbalance
以下三条命令分开执行。
1
sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" /etc/firewalld/*.conf
1
systemctl restart firewalld
1
systemctl stop firewalld
- 关闭irqbalance。
1
systemctl stop irqbalance
- 网络多路径模块依赖hisi_l3t.ko,需要确认该模块是否已加载。
1
lsmod | grep hisi_l3t
若上述命令输出为空,则需要加载hisi_l3t.ko。1
modprobe hisi_l3t
- 配置网卡信息,启用网络多路径特性。
1
modprobe oenetcls.ko ifname="eth1#eth2"
父主题: Redis网络多路径优化特性指南