lvs-dpdk移植 LVS-FULLNAT 到 OpenFastPath
該項(xiàng)目把a(bǔ)libaba 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.運(yùn)行ofp_vs
./start.sh
8.遠(yuǎn)程登錄并配置網(wǎng)絡(luò)
telnet localhost 2345 type in help for more infomation
9.使用ipvsadm和keepalived在ofp_vs上配置虛擬服務(wù)器
The usage is unchanged. ipvsadm and keepalived will comunicate with ofp_vs process but not the kernel module.
10.更多細(xì)節(jié)
http://www.openfastpath.org/ http://opendataplane.org/ https://github.com/OpenFastPath/ofp
評論
圖片
表情
