I'm realizing that I don't know enough about Linux networking as I need to, and try as I might I can't seem to gleen what I need to know from searches. Here's a picture of what I'm trying to accomplish. I think this is the actual issue that I started working in this post.
I setup the corosync network back on 5.x when I was getting odd TOTEM errors occasionally, and they went away probably because it's configured in the corosync file. I configured migration in the datacenter file, and I'm getting good migration speed (800MB/s or better). But my backups are slow (about 100MB/s) and I don't think I'm getting good overall storage speed, though I'm not sure how to objectively measure that. I can check all 3 interfaces with iperf3 and I get 9+gbps on both the 10G networks and right at 1G on the Corosync, so the hardware and the switch are working fine, I just don't have it configured properly in PVE.
My general understanding was that I only needed a BRIDGE if the VMs needed to talk to the interface. Since PVE manages the ISO and IMAGE storage, I don't think most of my VMs need that, but my Plex VM does - accesses a large SMB share for media, so I believe it needs to have to VIRTIO network cards, attached to each BRIDGE, correct?
How to get my storage communication ando the 101 network, do I need to add a static route? Since the UniFi switch can't do L3 routing, that would keep the traffic on the switch and not going up to the USG-XG-8.
192.168.100.0/24 (BRIDGE) | 10G bridge for R720 PVE Hosts and guests | 4 Cluster HA PVE nodes | |
192.168.101.0/24 | 10G storage network | 4 Cluster PVE nodes storage (NFS) 4 Cluster FreeNAS | |
192.168.102.0/24 | 1G CoroSYNC network | 4 Cluster HA PVE nodes |
I setup the corosync network back on 5.x when I was getting odd TOTEM errors occasionally, and they went away probably because it's configured in the corosync file. I configured migration in the datacenter file, and I'm getting good migration speed (800MB/s or better). But my backups are slow (about 100MB/s) and I don't think I'm getting good overall storage speed, though I'm not sure how to objectively measure that. I can check all 3 interfaces with iperf3 and I get 9+gbps on both the 10G networks and right at 1G on the Corosync, so the hardware and the switch are working fine, I just don't have it configured properly in PVE.
My general understanding was that I only needed a BRIDGE if the VMs needed to talk to the interface. Since PVE manages the ISO and IMAGE storage, I don't think most of my VMs need that, but my Plex VM does - accesses a large SMB share for media, so I believe it needs to have to VIRTIO network cards, attached to each BRIDGE, correct?
How to get my storage communication ando the 101 network, do I need to add a static route? Since the UniFi switch can't do L3 routing, that would keep the traffic on the switch and not going up to the USG-XG-8.
root@svr-03:~# iperf3 -c 192.168.101.104
Connecting to host 192.168.101.104, port 5201
[ 5] local 192.168.101.13 port 59874 connected to 192.168.101.104 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.09 GBytes 9.40 Gbits/sec 0 1.35 MBytes
[ 5] 1.00-2.00 sec 1.10 GBytes 9.41 Gbits/sec 0 1.35 MBytes
[ 5] 2.00-3.00 sec 1.10 GBytes 9.41 Gbits/sec 0 1.35 MBytes
[ 5] 3.00-4.00 sec 1.10 GBytes 9.41 Gbits/sec 0 1.35 MBytes
[ 5] 4.00-5.00 sec 1.10 GBytes 9.41 Gbits/sec 0 1.35 MBytes
[ 5] 5.00-6.00 sec 1.09 GBytes 9.41 Gbits/sec 0 1.42 MBytes
[ 5] 6.00-7.00 sec 1.10 GBytes 9.42 Gbits/sec 0 1.42 MBytes
[ 5] 7.00-8.00 sec 1.10 GBytes 9.41 Gbits/sec 0 1.42 MBytes
[ 5] 8.00-9.00 sec 1.10 GBytes 9.42 Gbits/sec 0 1.42 MBytes
[ 5] 9.00-10.00 sec 1.10 GBytes 9.41 Gbits/sec 0 1.42 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 11.0 GBytes 9.41 Gbits/sec 0 sender
[ 5] 0.00-10.00 sec 11.0 GBytes 9.41 Gbits/sec receiver
iperf Done.
root@svr-03:~#
2020-03-07 21:12:46 migration speed: 992.97 MB/s - downtime 105 ms
2020-03-07 21:12:46 migration status: completed
2020-03-07 21:12:50 migration finished successfully (duration 00:01:16)
TASK OK
root@svr-03:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 vmbr0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
192.168.101.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr1
192.168.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eno1
root@svr-03:~#
Attachments
Last edited: