best form of bonding?

hotwired007

Member
Sep 19, 2011
533
7
16
UK
Im currently using two dell pe1950s with dual 1GB NICs but only one is currently connected... i plan on having 2 netgear switches with 1 NIC from each server plugged into each switch. I will then have both switches connected to each other.

Which is the best setting for failover and teaming on Proxmox?

from what i can tell balance-rr and balance-xor need support from the switch whereas balance-tlb and balance-alb do not.

also to change the IP config, will i need to take the servers out of the cluster and then modify the ip settings and then bring them back into the cluster?
 
I use 802.3ad bonding mode. I think this is the best way of bondig. With this bonding mode you have nearly double speed if both switches are reachable and also a connection if one switch is not reachable. I don't think that you have to reinit the cluster but i've never tried it. Bonding is under the interfaces. Do you also use VLANs?
 
no VLANs, i'm stuggling to make any changes to the secondary server - keep getting errors everytime i try to make a change on the secondary server saying 'error - you do not have write access' yet i am logged in as root on its web interface.
 
Please use the console. Then edit the file /etc/network/interfaces
Webinterfaces are nice but the console is working everytime.

Code:
auto loiface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual


# 802.3ad
auto bond0
iface bond0 inet manual
	slaves eth0 eth1
	bond_miimon 100
	bond_mode 4


# Bridges
auto vmbr0
iface vmbr0 inet static
	address 
        netmask 
        gateway 
	bridge_ports bond0
	bridge_stp off
	bridge_fd 0
 
on a slave node you can ONLY change the network, so I do not think that you get the "error you do not have write access" if you change the network setup.
 
on a slave node you can ONLY change the network, so I do not think that you get the "error you do not have write access" if you change the network setup.

CHeers, i was trying to stop the local storage from being set to VM storage...