I'm configuring a 3 node HA cluster with Ceph storage;
this cluster is composed of 3 identical nodes, each node has
2x 1gb ethernet cards
2x 40gb infiniband cards (mellanox-4)
The infiniband cards are connected to a 32 port infiniband switch that is used both for SAN and for public access (via a 10gb sfp+ cable adapters to LAN routers).
I will use two network: a public ip 192.168.100.x and a SAN (Ceph) networking 10.0.10.x
I want to use the two infiniband cards to work both as SAN (Ceph networking) and as public interface
I already configured the infiniband cards to work as networking card.
As redundancy is very important i want to use the infinibad networking as the main network and the ethernet cards as a fallback if a cable is disconnected or the ib switch is down.
I wanted to create something like a "raid 10" for networking:
I tried creating two 802.3ad bond, one for ethernet (bond0) and one for infiniband (bond1) and creating a third bonding (bond2) for active-backup but it won't work.
	
	
	
		
Is this solution feasible or i must only bond hardware cards?
Is the bonding network aware?
If the ib cable is connected to the ib switch but the switch is disconnected from the LAN will it fall-back to ethernet?
Thanks in advance
				
			this cluster is composed of 3 identical nodes, each node has
2x 1gb ethernet cards
2x 40gb infiniband cards (mellanox-4)
The infiniband cards are connected to a 32 port infiniband switch that is used both for SAN and for public access (via a 10gb sfp+ cable adapters to LAN routers).
I will use two network: a public ip 192.168.100.x and a SAN (Ceph) networking 10.0.10.x
I want to use the two infiniband cards to work both as SAN (Ceph networking) and as public interface
I already configured the infiniband cards to work as networking card.
As redundancy is very important i want to use the infinibad networking as the main network and the ethernet cards as a fallback if a cable is disconnected or the ib switch is down.
I wanted to create something like a "raid 10" for networking:
I tried creating two 802.3ad bond, one for ethernet (bond0) and one for infiniband (bond1) and creating a third bonding (bond2) for active-backup but it won't work.
		Code:
	
	auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface ib0 inet manual
iface ib1 inet manual
iface bond0 inet manual
    bond-slaves eno1 eno2
    bond-miimon 100
    bond-mode 802.3ad
#Ethernet bond
iface bond1 inet manual
    bond-slaves ib0 ib1
    bond-miimon 100
    bond-mode 802.3ad
#IB bond
auto bond2
iface bond2 inet manual
    bond-slaves bond0 bond1
    bond-miimon 100
    bond-mode active-backup
    BONDING_OPTS="mode=1 miimon=100 primary=bond1"
#Main bond
auto vmbr0
iface vmbr0 inet static
    address  192.168.100.211
    netmask  255.255.255.0
    gateway  192.168.100.240
    bridge-ports bond2
    bridge-stp off
    bridge-fd 0
#public interface
	Is this solution feasible or i must only bond hardware cards?
Is the bonding network aware?
If the ib cable is connected to the ib switch but the switch is disconnected from the LAN will it fall-back to ethernet?
Thanks in advance
Attachments
			
				Last edited: