Avamar: Kuinka testata verkon suoritustehoa suorittamalla iperf kahden Avamar-ruudukon välillä
Summary: Tässä artikkelissa kerrotaan, miten verkon suoritustehoa voidaan testata suorittamalla iperf3-työkalua kahden Avamar-ruudukon välillä.
Instructions
- "moo.company.com" on "
iperfpalvelin" - "cow.company.com" on "
iperfasiakas"
1. Kirjaudu ensimmäiseen Avamar-ruudukkoon ("iperf server") järjestelmänvalvojana ja suorita seuraava komento:
iperf3 -s -i 1
2. Jätä yllä oleva komento päälle.
3. Kirjaudu toiseen Avamar-järjestelmään nimellä ("iperf client") admin ja suorita seuraava komento:
iperf3 -c <avamar-source-iperf-server> A -i 1
4. Anna komennon toimia 10 sekuntia ja pääty pikanäppäinyhdistelmään CTRL-C.
Esimerkkitulos näkyy kohdassa "avamar-moo.company.com": ("iperf palvelin"):
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
Esimerkkitulos näkyy kohdassa avamar-cow.company.com ("iperf asiakas"):
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
Kun suoritat testejä Avamarilla, yhteysyritys saattaa aikakatketa, jos palomuuri (avfirewall) palvelu on käynnissä:
admin@ave-cow:~/>: iperf3 -c ave-moo -i 1
connect failed: Connection timed out
Jos näin käy, poista palomuuri tilapäisesti käytöstä molemmissa Avamar-järjestelmissä:
Voit pysäyttää palomuuripalvelun suorittamalla seuraavan komennon pääkäyttäjänä:
systemctl stop avfirewall
Käynnistä palomuuripalvelu uudelleen suorittamalla seuraava komento root-käyttäjänä:
systemctl start avfirewall