lvs-dpdk移植 LVS-FULLNAT 到 OpenFastPath
该项目把alibaba LVS-FULLNAT移植到了OpenFastPath(base on odp-dpdk)
LVS-FULLNA 源代码:https://github.com/alibaba/LVS
OpenFastPath源代码:https://github.com/lvsgate/ofp.git
使用:
1.获取并编译OpenFastPath
The ofp depend on odp-dpdk (https://git.linaro.org/lng/odp-dpdk.git) See the documents on https://github.com/lvsgate/ofp.git I have compiled and tested it on centos 7.2
2.编译ofp_vs
cd $(topdir)/ofp/examples/ofp_vs make
3.获取lvs-dpdk源码
git clone https://github.com/lvsgate/lvs-dpdk.git
cd $(topdir)/lvs-dpdk/tools/keepalived ./configure make make install
5.编译ipvsadm
cd $(topdir)/lvs-dpdk/tools/ipvsadm make make install
6.配置ofp_vs
Edit ofp_vs/ofp.conf
7.运行ofp_vs
./start.sh
8.远程登录并配置网络
telnet localhost 2345 type in help for more infomation
9.使用ipvsadm和keepalived在ofp_vs上配置虚拟服务器
The usage is unchanged. ipvsadm and keepalived will comunicate with ofp_vs process but not the kernel module.
10.更多细节
http://www.openfastpath.org/ http://opendataplane.org/ https://github.com/OpenFastPath/ofp
评论