Operating System - HP-UX
1847084 Members
5315 Online
110262 Solutions
New Discussion

Re: APA configuration problem

 
sepp2909
Occasional Advisor

APA configuration problem

Hello together.
I tried to configure the APA software on a rp3440. The network interfaces:
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 1 0/2/1/0 btlan CLAIMED INTERFACE HP A5230A/B5509BA PCI 10/100Base-TX Addon
Both are configured with 100FD.
Now I tried to configure my APA software like written in the documentation and I have the following error:
Configure HP AUTO-PORT AGGREGATION interfaces
Output from "/sbin/rc2.d/S337hpapa start":
----------------------------
DLPI version is 2
/sbin/rc2.d/S337hpapa started.
Please be patient. This may take about 40 seconds.
HP_APA_MAX_LINKAGGS = 50
HP_APA_DEFAULT_PORT_MODE = MANUAL
HP_APA_USE_SYSLOG = 1
/usr/sbin/hp_apa_util -S 0 MANUAL
/usr/sbin/lanadmin -X -g 0 2 900
New Group Capability = 2
/usr/sbin/hp_apa_util -S 1 MANUAL
/usr/sbin/lanadmin -X -g 1 2 900
New Group Capability = 2
lan900
/usr/sbin/lanadmin -X -y on 900
New Hot Standby = ON
/usr/sbin/lanadmin -X -g 900 2 900
New Group Capability = 2
/usr/sbin/lanadmin -X -a 0 1 900
ERROR: Error: Check-sum Offload mismatch for port 1

My goal is to have a hot standby interface. Any ideas??

Thanks
JOE
11 REPLIES 11
Matti_Kurkela
Honored Contributor

Re: APA configuration problem

Apparently one of your network interfaces has a "checksum offload" feature and the other hasn't.

This feature increases performance, as the card's hardware calculates package checksums instead of the OS. But apparently it makes it more difficult to transfer traffic from an interface that has the feature to one that hasn't.

Try disabling that feature:
http://docs.hp.com/en/J5683-90017/ch01s02.html#babjdegj

To get the current state of checksum offload options:
lanadmin -x cko

To disable the feature temporarily:
lanadmin -X send_cko_off
lanadmin -X recv_cko_off

To make the setting permanent, edit /etc/rc.config.d/hpietherconf and set the variables HP_IETHER_SEND_CKO and HP_IETHER_RECV_CKO for that interface to OFF.
MK
sepp2909
Occasional Advisor

Re: APA configuration problem

That was also my first idea, but:
# lanadmin -x cko 0
Hardware TCP/UDP (IPv4) transmit checksum offload is currently disabled.
Hardware TCP/UDP (IPv4) receive checksum offload is currently disabled.
# lanadmin -x cko 1
btlan: ERROR: Setting CKO is unsupported
Current Config = 100 Full-Duplex MANUAL

In general: Is it possible with different drivers like in my case igelan and btlan? I only found that the precondition is same speed (100FD) for example....

Thanks in advance
JOE
Navin Jain
Advisor

Re: APA configuration problem

Hi Joe,

According to APA requirements, all LAN devices must of the same type either 100BT or Gigabit. See Page 19 of APA Support Guide.

In your case one LAN card is 'btlan' and other 'igelan'.

I believe this the mismatch you are getting.
If you another card of the same type, trying configuring APA with the 3rd card.

Regards,
--
Navin Jain
Mridul Shrivastava
Honored Contributor

Re: APA configuration problem

Refer the APA support guide :

http://docs.hp.com/en/J4240-90033/J4240-90033.pdf for mix of cards:

Page 18 says:

HP-PB 100BT adapters cannot be mixed with other nonâ HP-PB 100BT adapters.
Links must be of the same speed and type (100Base-T, 1000Base-T, Token Ring, or FDDI).

So this setup is not supported..
Time has a wonderful way of weeding out the trivial
Jim Keeble
Trusted Contributor

Re: APA configuration problem

Try configuring them as a Lan Monitor failover group instead.

1) Set their port mode to LAN_MONITOR in hp_apaportconf.

2) Assign an IP to the primary card in netconf (lan 0 or 1, not lan900)and run /sbin/init.d/net start to apply it.

3) Run lanqueryconf to create /etc/lanmon/lanconfig.ascii .

4) If the 2 cards are found to be an acceptable mix for the failover group, the one with the IP will be designated as primary, the other secondary.

5) lancheckconf/lanapplyconf will form the failover group and migrate the IP from the primary card to the failover group, e.g., lan900.
sepp2909
Occasional Advisor

Re: APA configuration problem

Was trying it right now.
First problem:
lanqueryconf -s:
WARNING: None of the ports in subnet ( 6 ) have an IP address assigned
No Fail-Over Groups found. ASCII file not created

Second problem: Tried to manually configure the lanconfig.ascii. lancheckconf has the following output:
ERROR: Ports 6 and 0 can not be aggregated in one failover group,errno = 1026
Exiting: Error verifying input file /etc/lanmon/lanconfig.ascii

Seems not to work...
Regards
JOE

Todd Whitcher
Esteemed Contributor

Re: APA configuration problem

The first message indicates you have not assigned a IP to the primary interface as Jim suggested, you need lanqueryconf -s to succeed w/ out an error before you proceed.

Which lan cards to you want in the Lan Monitor failover grup?

Can you show us the following:

# ioscan -kfnC lan

The /etc/rc.config.d/netconf file entries for the ports/lan cards you expect to be part of this Lan Monitor failover group.

# netstat -in

Reference Chapter 5 in the admin manual for the steps to get lan monitor working.

http://www.docs.hp.com/en/J4240-90033/ch05.html

jle joe joe
New Member

Re: APA configuration problem

I have the same exact error message.

lanqueryconf -s:
WARNING: None of the ports in subnet ( 6 ) have an IP address assigned
No Fail-Over Groups found. ASCII file not created

My ip is assigned to lan0

I am trying a linkloop -i to both 0 and lan2 and they are ok.

any thoughts?
Ketan Kotak
Advisor

Re: APA configuration problem

Hi Oskar,

For LM also, both ports should have same "CKO Capability setting" and not just operational settings.

In this case:
* btlan does not have CKO capability
* igelan has CKO capability, however it is disabled.

So, LM configuration with mix of btlan and igelan ports will not work.

Hope this helps.
Thanks and regards,
+ Ketan Kotak
Tim Nelson
Honored Contributor

Re: APA configuration problem

99.999% of the time I had any issues with APA was because the switch ports were not configured correctly or did not match.

Beings you are in MANUAL mode I believe the other settings do not apply ( MANUAL implies FEC ) In FEC there is no protocol, the switch will bind the ports no matter what.

FEC_AUTO ( aka PaGP )is a little more robust in that the memberships must be followed as well as other settings ( i.e. if you set the NICs to 100FD then the switch ports must also match, not auto )

LACP is another option but I do not believe preferred.

jle joe joe
New Member

Re: APA configuration problem

Tim:
You are correct, I figured it out yesterday. I had the lan bkup cable installed instead of the lan nic2 cable so I put the wrong cable (same type) from the network into the link 2 connection. Thanks.