该项目把alibabaLVS-FULLNAT移植到了OpenFastPath(baseonodp-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.gitI have compiled and tested it on centos 7.22.编译ofp_vs
cd $(topdir)/ofp/examples/ofp_vsmake3.获取lvs-dpdk源码
git clone https://github.com/lvsgate/lvs-dpdk.git4.编译keepalived
cd $(topdir)/lvs-dpdk/tools/keepalived ./configure make make install5.编译ipvsadm
cd $(topdir)/lvs-dpdk/tools/ipvsadmmakemake install6.配置ofp_vs
Edit ofp_vs/ofp.conf7.运行ofp_vs
./start.sh8.远程登录并配置网络
telnet localhost 2345type in help for more infomation9.使用ipvsadm和keepalived在ofp_vs上配置虚拟服务器
The usage is unchanged.ipvsadm and keepalived will comunicate with ofp_vs process but not the kernel module.10.更多细节
https://www.openfastpath.org/https://opendataplane.org/https://github.com/OpenFastPath/ofp
评论