Resolvido - Ubuntu 16.04 lts com a agregação de link dinâmico IEEE 802.3ad
Situação
Dell PowerEdge 2950 que executa o NextCloud Server no Ubuntu 16.04 lts com a instável rede de agregação de link dinâmico 802.3ad instável com tempos de espera de execução intermitentes e erros de inicialização.
Solução de problemas
Depois de vários testes de configuração do lado do servidor (graças ao George para o suporte), o problema de rede intermitente persistiu. Um problema de compatibilidade foi deduzido entre o builtin Broadcom e o pci Intel nics quando ligado no Ubuntu 16.04 lts.
Solução de hardware
Duas Intel pci nics foram instaladas nos slots 2950 riser pci, nvram foram apagadas e o built-in broadcom foi desativado no bios. Isso foi feito para favorecer a largura de banda, ou seja, 4 (1Gb) nics em vez das interfaces internas de 2 (1Gb).
Solução do servidor
Existem sugestões de configuração de ligação conflitantes para o Ubuntu 16.04 lts e é isso que funcionou para mim.
1 . Ran ifconfig -a para se apossar da nova interface bios e dev names
borgf003@CLD01:~$ ifconfig -a
..........
enp10s0f0 Link encap:Ethernet HWaddr 00:15:17:4a:94:26
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:5161 errors:0 dropped:0 overruns:0 frame:0
TX packets:361 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:809816 (809.8 KB) TX bytes:31274 (31.2 KB)
Interrupt:17 Memory:fdae0000-fdb00000
enp10s0f1 Link encap:Ethernet HWaddr 00:15:17:4a:94:26
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:11440 errors:0 dropped:0 overruns:0 frame:0
TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1963591 (1.9 MB) TX bytes:20970 (20.9 KB)
Interrupt:18 Memory:fdaa0000-fdac0000
enp14s0f0 Link encap:Ethernet HWaddr 00:15:17:4a:94:26
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:4769 errors:0 dropped:4 overruns:0 frame:0
TX packets:3294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:582742 (582.7 KB) TX bytes:1546925 (1.5 MB)
Interrupt:16 Memory:fd6e0000-fd700000
enp14s0f1 Link encap:Ethernet HWaddr 00:15:17:4a:94:26
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:3910 errors:0 dropped:1 overruns:0 frame:0
TX packets:2548 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:497874 (497.8 KB) TX bytes:838297 (838.2 KB)
Interrupt:17 Memory:fd6a0000-fd6c0000
..........
2 . Como eu tinha ligação pré-configurada antes de executar sudo apt install --reinstall ifenslave
3 . Verificado se a ligação é carregada na inicialização sudo nano /etc/modules
loop lp bonding
NOTA: Eu removo o rtc, pois ele é depreciado em 16.04 lts e eu gosto de uma inicialização limpa
4 . Parou de rede no meu caso eu uso sudo /etc/init.d/networking stop
5 . Editou as interfaces / etc / network / interfaces com a ligação da seguinte forma. Note que você precisa mudar o nome das interfaces com o seu, incluindo os ips
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp10s0f0
iface enp10s0f0 inet manual
bond-master bond0
# The second network interface
auto enp10s0f1
iface enp10s0f1 inet manual
bond-master bond0
# The third network interface
auto enp14s0f0
iface enp14s0f0 inet manual
bond-master bond0
# The forth network interface
auto enp14s0f1
iface enp14s0f1 inet manual
bond-master bond0
# The bond master network interface
auto bond0
iface bond0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers xxx.xxx.xxx.xxx
dns-search yourdomain.com
bond-mode 4
bond-miimon 100
bond-slaves all
6 . Recarregou o módulo de ligação do kernel sudo modprobe bonding
7 . Criado uma configuração de ligação /etc/modprobe.d/bonding.conf com
alias bond0 bonding options bonding mode=4 miimon=100 lacp_rate=1
8 . Reiniciei a rede, no meu caso eu uso sudo /etc/init.d/networking restart
9 . Verifiquei a ligação cat /proc/net/bonding/bond0
10 . Reinicie para ver se tudo acontece!