银河麒麟操作系统上使用ifenslave配置Bond
ifenslave是一款Linux下的负载均衡工具,银河麒麟操作系统也支持该工具。
一、安装ifenslave
$ sudo apt-get install ifenslave
二、配置bonding
在/etc/modules 文件末添加一行内容:bonding,设置 bonding 模块开机自动加载;
$ sudo vim /etc/modules
修改后的modules文件如下:
# /etc/modules: kernel modules toload at boot time.
#
# This file contains the names ofkernel modules that should be loaded
# at boot time, one per line. Linesbeginning with "#" are ignored.
bonding
2.