#ovs-vsctl set open . external-ids:ovn-remote=tcp:$Centralip:6642 overlay网络使用geneve,当然支持geneve,vxlan,gre等 #ovs-vsctl set open . external-ids:ovn-encap-type=geneve #ovs-vsctl set open . external-ids:ovn-encap-ip=$Centralip
node 1 节点
1 2 3 4 5
#export Centralip=10.175.160.66 #export NodeIP=10.175.160.59 #ovs-vsctl set open . external-ids:ovn-remote=tcp:$Centralip:6642 #ovs-vsctl set open . external-ids:ovn-encap-type=geneve #ovs-vsctl set open . external-ids:ovn-encap-ip=$NodeIP
node2 节点
1 2 3 4 5
#export Centralip=10.175.160.66 #export NodeIP=10.175.160.60 #ovs-vsctl set open . external-ids:ovn-remote=tcp:$Centralip:6642 #ovs-vsctl set open . external-ids:ovn-encap-type=geneve #ovs-vsctl set open . external-ids:ovn-encap-ip=$NodeIP
所有服务器重启一下
#reboot
至此安装完成~
排错
1 2 3 4 5 6
1. net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5) PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4) 解决:#yum install libibverbs -y