Avamar: Come eseguire iperf tra due griglie Avamar per testare le prestazioni di throughput della rete
Summary: Questo articolo spiega come eseguire lo strumento iperf3 tra due griglie Avamar per testare le prestazioni di throughput della rete.
Instructions
- "moo.company.com" è il "
iperfserver" - "cow.company.com" è il "
iperfcliente"
1. Accedere alla prima griglia Avamar ("iperf server") come admin ed eseguire il seguente comando:
iperf3 -s -i 1
2. Lasciare in esecuzione il comando precedente.
3. Accedere alla seconda griglia Avamar come ("iperf client") ed eseguire il seguente comando:
iperf3 -c <avamar-source-iperf-server> A -i 1
4. Lasciare che il comando venga eseguito per 10 secondi, quindi terminare con un CTRL-C.
Output di esempio visualizzato su "avamar-moo.company.com": (il "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
Output di esempio visualizzato su "avamar-cow.company.com" ("iperf cliente"):
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
Quando si eseguono i test su Avamar, il tentativo di connessione potrebbe andare in timeout se il firewall (avfirewall) il servizio è in esecuzione:
admin@ave-cow:~/>: iperf3 -c ave-moo -i 1
connect failed: Connection timed out
In questo caso, disabilitare temporaneamente il firewall su entrambe le griglie Avamar:
Per arrestare il servizio firewall, eseguire il seguente comando come root:
systemctl stop avfirewall
Per riavviare il servizio firewall, eseguire il seguente comando come root:
systemctl start avfirewall