Libro sobre Proxmox maestria
Chapter 5
In our cluster, we are now going to set up LACP bonding for the bridge vmbr1. Later in the book, we will set up an enterprise-standard distributed shared storage system using Ceph. We will use the bridge vmbrl to connect the shared storage with the Proxmox cluster. Let's start by adding a third network interface card on each node if you have not done so. So, both nodes now should have three physical network interface cards on each. Perform the following steps to configure LACP or 802.3ad network bonding:
1. Securely log in to the node pmxvm01.
2. Open the interface file # nano /etc/network/interfaces using an editor. 3. Add the following lines at the beginning of the file:
# bring up interfaces auto ethl iface eth1 inet manual auto eth2 iface eth2 inet manual
# bonding interfaces auto bond0 iface bond0 inet manual slaves eth1 eth2 bond_miimon 100 bond_mode 802.3ad
4. Change ports for the bridge vmbrl as follows:
auto vmbrl iface vmbrl inet static address 192.168.10.1 netmask 255.255.255.0
#change bridge port to bond0 interface bridge ports bond0 bridge_stp off bridge_fd 0
5. Save the file and exit the editor.
6. Activate the bridge by rebooting the node or from CLI by stopping and restarting the bridge. Use the following commands:
7. Do the same for the second node pmxvm02.