I have set up a cluster with VMs on different host nodes: h1, h2, h3, h4
I have used a OpenVswitch bridge (vmbr2) defined on h1:
auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
post-up ovs-vsctl add-port vmbr2 gre1 -- set interface gre1 type=gre options:remote_ip=''ip h2''
post-up ovs-vsctl add-port vmbr2 gre2 -- set interface gre2 type=gre options:remote_ip=''ip h3''
post-up ovs-vsctl add-port vmbr2 gre3 -- set interface gre3 type=gre options:remote_ip=''ip h4''
On h2 ,h3 and h4 I have also defined an ovsbridge (vmbr2). E.g. On h2 like this:
auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
post-up ovs-vsctl add-port vmbr2 gre1 -- set interface gre1 type=gre options:remote_ip=''ip h1''
I then use the vmbr2 device for VMs on private network (192.168.2.X) and have a connection between VMs on different hosts (i.e. can ping/SSH/scp between VMs on h1 and others and h2 and h3 and h3 and h4) unless h1 goes down.
Do I need to configure ovsbridge type devices on h2, h3, h4 and configure as I have? Have I done this correctly?
How do I make my setup redundant so if h1 is down VMs on private network on h2, h3 and h4 can still communicate?
Do I need separate OVS bridge devices and configuration between each pair of hosts: i.e. h1 and h2, h2 and h3, h3 and h4 etc.
I have used a OpenVswitch bridge (vmbr2) defined on h1:
auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
post-up ovs-vsctl add-port vmbr2 gre1 -- set interface gre1 type=gre options:remote_ip=''ip h2''
post-up ovs-vsctl add-port vmbr2 gre2 -- set interface gre2 type=gre options:remote_ip=''ip h3''
post-up ovs-vsctl add-port vmbr2 gre3 -- set interface gre3 type=gre options:remote_ip=''ip h4''
On h2 ,h3 and h4 I have also defined an ovsbridge (vmbr2). E.g. On h2 like this:
auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
post-up ovs-vsctl add-port vmbr2 gre1 -- set interface gre1 type=gre options:remote_ip=''ip h1''
I then use the vmbr2 device for VMs on private network (192.168.2.X) and have a connection between VMs on different hosts (i.e. can ping/SSH/scp between VMs on h1 and others and h2 and h3 and h3 and h4) unless h1 goes down.
Do I need to configure ovsbridge type devices on h2, h3, h4 and configure as I have? Have I done this correctly?
How do I make my setup redundant so if h1 is down VMs on private network on h2, h3 and h4 can still communicate?
Do I need separate OVS bridge devices and configuration between each pair of hosts: i.e. h1 and h2, h2 and h3, h3 and h4 etc.
Last edited: