微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

lvs-dpdk 移植 LVSFULLNAT 到 OpenFastPath

程序名称:lvs-dpdk

授权协议: GPL

操作系统: Linux

开发语言: C/C++

lvs-dpdk 介绍

该项目把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

4.编译keepalived

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

lvs-dpdk 官网

https://github.com/lvsgate/lvs-dpdk

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐