No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Huawei Server Maintenance Manual 09

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Verifying Load Balancing and Redundancy

Verifying Load Balancing and Redundancy

Verifying Load Balancing

On the server, enable netserver. On clients 1 and 2, use the netperf tool to test server performance:

  • Client 1: netperf –H –l 30
  • Client 2: netpert –H –l 30

On the server, use the sar tool to query the number of received packets per second (rxpck/s) at the network port. Ports eth0 and eth1 receive packets, and the total number of received packets is equal to the number of packets received by bond0 per second, as shown in Figure 4-21.

Figure 4-21 rxpck/s

The total bandwidth of the server doubles.

Figure 4-22 Average bandwidth of client 1

Figure 4-23 Average bandwidth of client 2

If you run ifconfig eth0 down on the server, port eth0 cannot receive packets, and only port eth1 receives packets. In this case, the rxpck/s of port eth1 is equal to the rxpck/s of bond0, as shown in Figure 4-24.

Figure 4-24 rxpck/s of port eth1

This indicates that when any port working in load balancing mode is disabled, only network bandwidth is affected, and network connection remains normal.

Verifying Redundancy

On the client, configure an IP address that is in the same network segment as the server, such as Ping the bonded IP address

  • When network cables are connected to ports eth0 and eth1, the IP address can be pinged.
  • Remove the network cable from port eth0. The IP address can be pinged.
  • Reconnect the network cable to port eth0 and remove the network cable from port eth1. The IP address can be pinged.
  • Query the Address Resolution Protocol (ARP) on the client. The IP address maps only the Media Access Control (MAC) address 00:10:e0:fc:f4:68.
Updated: 2019-02-25

Document ID: EDOC1000041338

Views: 81439

Downloads: 3876

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next