Hello,
I'm using OVS configured for supporting 3 node cluster with full mesh connection (it's basically copied from wiki and it works perfectly). The problem that I'm facing now is separation of networks for different intention - I have an iSCSI share on one of the server nodes and I'd like to have one VLAN network dedicated to the storage access only (along with MTU=9000 if possible, whereas other networks would still have MTU=1500). The second VLAN network would be intended for communication between server nodes and the third VLAN network for communication between VMs. So far I corrected initial config from mesh, but it does not work at all. I changed it in different ways, but so far no success. This is what I have for now:
I am not sure if having VLANs in such configuration is even possible (RSTP) or I am doing something wrong with the specific part of config. The networks in vlan2, vlan3 and vlan4 would only exist in this cluster and not outside of it ...
- vlan2 = cluster traffic
- vlan3 = storage/iSCSI traffic
- vlan4 = VMs traffic
When I'm trying to ping from one server node to the other, I'm getting error Destination Host Unreachable. When looking at the traffic with tcpdump I see ARP packages are correctly tagged, but they simply don't appear on the other server node. How can I debug this?
Any help would be greatly appreciated. Thank you in advance!
I'm using OVS configured for supporting 3 node cluster with full mesh connection (it's basically copied from wiki and it works perfectly). The problem that I'm facing now is separation of networks for different intention - I have an iSCSI share on one of the server nodes and I'd like to have one VLAN network dedicated to the storage access only (along with MTU=9000 if possible, whereas other networks would still have MTU=1500). The second VLAN network would be intended for communication between server nodes and the third VLAN network for communication between VMs. So far I corrected initial config from mesh, but it does not work at all. I changed it in different ways, but so far no success. This is what I have for now:
Code:
auto lo
iface lo inet loopback
iface ens20 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.2.51
netmask 255.255.240.0
gateway 192.168.2.1
bridge_ports ens20
bridge_stp off
bridge_fd 0
auto ens18
iface ens18 inet manual
ovs_type OVSPort
ovs_bridge vmbr1
ovs_options other_config:rstp-enable=true other_config:rstp-path-cost=150 other_config:rstp-port-admin-edge=false other_config:rstp-port-auto-edge=false other_config:rstp-port-mcheck=true tag=1 vlan_mode=native-untagged trunks=2,3,4
ovs_mtu 9000
auto ens19
iface ens19 inet manual
ovs_type OVSPort
ovs_bridge vmbr1
ovs_options other_config:rstp-enable=true other_config:rstp-path-cost=150 other_config:rstp-port-admin-edge=false other_config:rstp-port-auto-edge=false other_config:rstp-port-mcheck=true tag=1 vlan_mode=native-untagged trunks=2,3,4
ovs_mtu 9000
auto vmbr1
iface vmbr1 inet static
ovs_type OVSBridge
ovs_ports ens18 ens19 vlan2 vlan3 vlan4
up ovs-vsctl set Bridge ${IFACE} rstp_enable=true other_config:rstp-priority=32768 other_config:rstp-forward-delay=4 other_config:rstp-max-age=6
post-up sleep 10
auto vlan2
iface vlan2 inet static
address 10.15.15.50/24
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=2
auto vlan3
iface vlan3 inet static
address 10.15.16.50/24
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=3
ovs_mtu 9000
auto vlan4
iface vlan4 inet static
address 10.15.17.50/24
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=4
I am not sure if having VLANs in such configuration is even possible (RSTP) or I am doing something wrong with the specific part of config. The networks in vlan2, vlan3 and vlan4 would only exist in this cluster and not outside of it ...
- vlan2 = cluster traffic
- vlan3 = storage/iSCSI traffic
- vlan4 = VMs traffic
When I'm trying to ping from one server node to the other, I'm getting error Destination Host Unreachable. When looking at the traffic with tcpdump I see ARP packages are correctly tagged, but they simply don't appear on the other server node. How can I debug this?
Any help would be greatly appreciated. Thank you in advance!