Home > Operation and Maintenance > Safety > What to do if HP APA mode setting causes packet loss for dual network cards

What to do if HP APA mode setting causes packet loss for dual network cards

PHPz
Release: 2023-05-28 14:16:15
forward
1445 people have browsed it

1. Problem description

A user reported that HP minicomputer system access is very slow.

2. Alarm information

Log in to your host scp3 through dial-up and check the relevant logs, including: syslog, event log, network log, bdf, top, glance, ts99, crashed, but no warning or error was found.

3. Analysis of the cause of the problem

A few years ago, this host experienced the same problem many times. After comprehensively checking the network and host, no abnormalities were found. Ultimately, the host failure is recovered by simply rebooting.

This time, log in to your host scp3 through dial-up again, and check the relevant logs, including: syslog, event log, network log, bdf, top, glance, ts99, crash, but no alarms or warnings are found. mistake.

Later, after inspection, it was found that the network card was configured with APA (dual network card binding), and the APA901 network card was experiencing packet loss:

PPA Number = 901
Description = lan901 Hewlett-Packard LinkAggregate Interface
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed ​​= 200000000
Station Address = 0xe7f4fc6a8
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 671
Inbound Octets = 2835813758
Inbound Unicast Packets = 442129046
Inbound Non-Unicast Packets = 25506896
Inbound Discards = 111073
Inbound Errors = 0
Inbound Unknown Protocols = 424
Outbound Octets = 3383156594
Outbound Unicast Packets = 1287673364
Outbound Non-Unicast Packets = 111073
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 0

APA configuration file:

HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_HOT_STANDBY[0]= off

There has been a case: A user's two servers encountered performance problems while using APA software. The specific manifestations are as follows: when APA is configured as load_balance, the CPU usage of the switch is very high. If it remains above 60%, network communication packet loss is serious; when configured in hot_standby mode, the switch CPU usage is 20-30%, and network communication is normal.

Therefore, it is recommended to modify the APA configuration file to:

HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_HOT_STANDBY[0]=on

Then restart the APA process:

# /sbin/init.d/hpapa stop

# /sbin/init.d/hpapa start

Check the APA901 network card status:

scp3#[/ etc/rc.config.d]lanadmin -x -v 901
Link Aggregate PPA # : 901
Number of Ports : 2
Ports PPA : 0 1
Link Aggregation State : LINKAGG MANUAL
Group Capability: 5
Load Balance Mode: Hot Standby (LB_HOT_STANDBY)

4. Implementation steps

1. Modify the APA configuration file to:

HP_APA_LOAD_BALANCE_MODE[ 0]=LB_MAC
HP_APA_HOT_STANDBY[0]=on

2. Then restart the APA process:

# /sbin/init.d/hpapa stop

# / sbin/init.d/hpapa start

3. Check the APA901 network card status:

scp3#[/etc/rc.config.d]lanadmin -x -v 901
Link Aggregate PPA # : 901
Number of Ports : 2
Ports PPA : 0 1
Link Aggregation State : LINKAGG MANUAL
Group Capability : 5
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)

5. Suggestions and Summary

It is recommended that when the host is configured with APA, do not select LOAD_BALANCE_MODE, but select HOT_STANDBY mode to avoid the above failures.

The above is the detailed content of What to do if HP APA mode setting causes packet loss for dual network cards. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template