VF LAG
VF LAG
# https://bugzilla.redhat.com/show_bug.cgi?id=1642355#c13
1. Feature description:
i. High Availability and load balancing for Virtual Functions of different physical ports in Switchdev mode.
2)Precondition:
a. Need to create at least 1 VF on both Physical port and unbind the VF’s
b. Mov...
LACP
HUAWEI
CISCO
IEEE
Introduction
Link Aggregation Control Protocol (LACP),
LACP, as specified in IEEE 802.3ad, implements dynamic link aggregation and de-aggregation,
allowing LACP-enabled switches at both ends to exchange Link Aggregation Control Protocol Data Units (LACPDUs).
LACP provides a standard negotiation mechanism that a Huawei swi...
Linux Network Performance
Red Hat Enterprise Linux Network Performance Tuning Guide
how to tune your 100G host
100g Network Adapter Tuning
PACKET RECEPTION IN THE LINUX KERNEL
What is the relationship of DMA ring buffer and TX/RX ring for a network card?
https://stackoverflow.com/questions/47450231/what-is-the-relationship-of-dma-ring-buffer-and-tx-rx-ring-for-a-netw...
kdump
kdump
kdump
early kdump
grubby
# config kdump
# install kexec-tools package:
yum install kexec-tools
# The option crashkernel must be added to the kernel command line parameters in order to reserve memory for the kdump kernel:
grubby --update-kernel=ALL --args="crashkernel=256M"
# The location of the kdump vmcore can be specified in /etc/k...
OVN - External Port
External Port可以为外部端口提供DNS等服务。
install vms
install two vms on both node
rhel_version=rhel$(rpm -E %rhel)
# libvirt && kvm
yum -y install virt-install
yum -y install libvirt
yum install -y python3-lxml.x86_64
rpm -qa | grep qemu-kvm >/dev/null || yum -y install qemu-kvm
if (($rhel_version < 7)); then
service libvirtd rest...
OVN - QOS
install vms
install two vms
rhel_version=rhel$(rpm -E %rhel)
# libvirt && kvm
yum -y install virt-install
yum -y install libvirt
yum install -y python3-lxml.x86_64
rpm -qa | grep qemu-kvm >/dev/null || yum -y install qemu-kvm
if (($rhel_version < 7)); then
service libvirtd restart
else
systemctl restart libvirtd
...
OVN - VLAN
可以设置localnet属于某个vlan,这样从localnet出去的报文都携带vlan id,
这样可以让连接到localnet所属交换机的VM属于某个vlan。
TOPO
outside outside
| |
|phy nic |phy nic
+--------------+------------+ +-------------+-------------+
|ovs bridge on hv0 | |ovs bridge on hv1 ...
OVN - TAG
如果虚拟机里面有容器,可以通过配置子接口的方式把container接入OVN网络,
就是创建容器的lsp的时候,把VM的VIF当作父接口。
当需要向容器发送报文时,先把报文发送到VM的VIF(进而找到HV),
然后再由HV上的ovs根据目的mac为报文打上vlan tag,发送到VM里面。
也就是说,这个tag只有ovs处理,外部看不到它。
而且假如vm1中的container1使用tag2,vm2中的container2使用tag3,他们之间也是可以通信的。
install vm
在两台机器上各安装两个虚拟机
rhel_version=rhel$(rpm -E %rhel)
# libvirt && kvm
yum -y install virt-instal...
共计 106 篇文章,14 页。