Avamar: Jak uruchomić iperf między dwiema siatkami Avamar w celu przetestowania przepustowości sieci
Summary: W tym artykule wyjaśniono, w jaki sposób uruchomić narzędzie iperf3 między dwiema siatkami Avamar w celu przetestowania wydajności przepustowości sieci.
Instructions
- "moo.company.com" to "
iperfserwer" - "cow.company.com" to "
iperfklient"
1. Zaloguj się do pierwszej siatki Avamar (przycisk "iperf serwer") jako administrator i uruchom następujące polecenie:
iperf3 -s -i 1
2. Pozostaw powyższe polecenie włączone.
3. Zaloguj się do drugiej siatki Avamar jako ("iperf klient") admin i uruchom następujące polecenie:
iperf3 -c <avamar-source-iperf-server> A -i 1
4. Pozwól poleceniu działać przez 10 sekund, a następnie zakończ je naciśnięciem CTRL-C.
Przykładowe dane wyjściowe widoczne w "avamar-moo.company.com": ("iperf serwer"):
admin@avamar-moo:~/>: iperf3 -s -i 1
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.x.x.152, port 44660
[ 5] local 10.x.x.141 port 5201 connected to 10.x.x.152 port 44662
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 110 MBytes 925 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 937 Mbits/sec
[ 5] 2.00-3.00 sec 112 MBytes 942 Mbits/sec
[ 5] 3.00-4.00 sec 112 MBytes 941 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 942 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 942 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-5.00 sec 593 MBytes 994 Mbits/sec receiver
iperf3: the client has terminated
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
iperf3: interrupt - the server has terminated
^C
Przykładowe dane wyjściowe widoczne w "avamar-cow.company.com" ("iperf klient"):
admin@avamar-cow:~/>: iperf3 -c ave-moo -i 1
Connecting to host avamar-moo, port 5201
[ 5] local 10.x.x.152 port 44662 connected to 10.x.x.141 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 958 Mbits/sec 0 672 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 944 Mbits/sec 0 738 KBytes
[ 5] 2.00-3.00 sec 111 MBytes 933 Mbits/sec 0 738 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 944 Mbits/sec 0 782 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 944 Mbits/sec 0 782 KBytes
[ 5] 5.00-5.29 sec 32.5 MBytes 936 Mbits/sec 0 782 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-5.29 sec 595 MBytes 944 Mbits/sec 0 sender
[ 5] 0.00-5.29 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
Additional Information
Podczas przeprowadzania testów w Avamarze, próba połączenia może przekroczyć limit czasu, jeśli zapora (avfirewall) usługa jest uruchomiona:
admin@ave-cow:~/>: iperf3 -c ave-moo -i 1
connect failed: Connection timed out
W takim przypadku tymczasowo wyłącz zaporę w obu siatkach Avamar:
Aby zatrzymać usługę zapory, uruchom następujące polecenie jako root:
systemctl stop avfirewall
Aby ponownie uruchomić usługę zapory, uruchom następujące polecenie jako root:
systemctl start avfirewall