Avamar: Jak spustit nástroj iperf mezi dvěma mřížkami Avamar za účelem otestování výkonu propustnosti sítě
Summary: Tento článek vysvětluje, jak spustit nástroj iperf3 mezi dvěma mřížkami Avamar za účelem otestování výkonu propustnosti sítě.
Instructions
- "moo.company.com" je "
iperfserver" - "cow.company.com" je "
iperfklient"
1. Přihlaste se k první mřížce Avamar ("iperf server") jako správce a spusťte následující příkaz:
iperf3 -s -i 1
2. Výše uvedený příkaz ponechte spuštěný.
3. Přihlaste se do druhé mřížky Avamar jako ("iperf klienta") a spusťte následující příkaz:
iperf3 -c <avamar-source-iperf-server> A -i 1
4. Nechte příkaz běžet 10 sekund a ukončete klávesou CTRL-C.
Příklad výstupu zobrazený na "avamar-moo.company.com": ("iperf server"):
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
Příklad výstupu zobrazeného na "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
Při spouštění testů na softwaru Avamar může dojít k pokusu o připojení, pokud brána firewall (avfirewall) je spuštěna:
admin@ave-cow:~/>: iperf3 -c ave-moo -i 1
connect failed: Connection timed out
Pokud k tomu dojde, dočasně zakažte bránu firewall v obou mřížkách Avamar:
Chcete-li zastavit službu firewall, spusťte následující příkaz jako uživatel root:
systemctl stop avfirewall
Chcete-li restartovat službu brány firewall, spusťte následující příkaz jako uživatel root:
systemctl start avfirewall