Libro sobre Proxmox maestria
Network of Virtual Networks
We will now see network bonding in our cluster. There are several types of bonding options available. But only balance-rr, active-backup, and LACP (802.3ad) are most widely used. The balance-rr option provides the round robin method to increase overall interface bandwidth with failover. The balance-rr option does not require any special network switch. Just about any switch can be used to make this work. The major drawback of balance-rr is waste of data packets. LACP is known as industry quality bonding.
In this book, we will only look at the LACP bonding protocol. But to give you an idea of how a balance-rr bonding looks like, the following diagram shows balance-rr bonding between Proxmox nodes and Ceph distributed storage clusters. In this example, the Proxmox public network is on 192.168.10.0/24, while the storage backend is on a private 192.180.201.0/24 subnet. Separate switches are used for the Ceph storage network to increase redundancy. Each Proxmox node has three 1-gigabit NICs. One is used from the main cluster to server virtual machines, and the remaining two are used for balance-rr bonding. This type of bonding is a very economical way to provide network redundancy.
LACP can combine multiple interfaces to increase the total throughput but not the actual connection. For example, an LACP bonding of four 1-gigabit network interfaces will still have total connection speed of 1 gigabit, but it will be able to respond to more simultaneous requests at closer to 1 gigabit speed.
To know more about Link aggregation/Bonding/Teaming, visit http://en.wikipedia.org/wiki/Link_Aggregation_
Control_Protocol #Link_Aggregation_Control_Protocol.
For LACP to work, it is very important to know if the physical switch supports this feature. A quick visit to a switch manufacturer's website will give us the information if the LACP feature is supported. Some manufacturers will list this feature as 802.3ad.