• ovn+ 控制节点 + 计算节点


    启动ovn
    控制节点:
    
    # start ovsdb-server
    /usr/share/openvswitch/scripts/ovs-ctl start --system-id=random
    
    # start ovn northd
    /usr/share/openvswitch/scripts/ovn-ctl start_northd
    
    export CENTRAL_IP=10.140.0.2
    export LOCAL_IP=10.140.0.2
    export ENCAP_TYPE=vxlan
    ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE"
    计算节点:
    
    # start ovsdb-server
    /usr/share/openvswitch/scripts/ovs-ctl start --system-id=random
    # start ovn-controller and vtep
    /usr/share/openvswitch/scripts/ovn-ctl start_controller
    /usr/share/openvswitch/scripts/ovn-ctl start_controller_vtep
    
    export CENTRAL_IP=10.140.0.2
    export LOCAL_IP=10.140.0.2
    export ENCAP_TYPE=vxlan
    ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE"
    对于ovs 1.7,还需要设置
    
    ovn-nbctl set-connection ptcp:6641
    ovn-sbctl set-connection ptcp:6642
  • 相关阅读:
    webpack to package typescript & scss
    start use webpack
    use selenium+chromedriver to taobao automatically
    Use Hexo to Build My Gitee Blog
    Promise调用方式
    导航守卫用法
    VueCli路由配置
    webpack安装vue-loader
    webpack用npm进行局部安装
    JavaScript里的语句用分号结尾是个选项吗
  • 原文地址:https://www.cnblogs.com/dream397/p/12919001.html
Copyright © 2020-2023  润新知