Operating System - HP-UX
1833315 Members
2946 Online
110051 Solutions
New Discussion

Help with Auto Port Aggregation

 
Norman Lowe
Frequent Advisor

Help with Auto Port Aggregation

I am having trouble getting started with this as the documentation is very confusing. Basically, I have two gigabit ethernet cards which I want to configure for APA. My lanconfig.ascii file looks like this:

NODE_NAME hwduha01
POLLING_INTERVAL 10000000
DEAD_COUNT 3

FAILOVER_GROUP lan100
STATIONARY_IP 192.168.1.49
STANDBY lan5 3
PRIMARY lan6 5

I have run the following commands:

lanadmin -X -p 5 LAN_MONITOR 100
lanadmin -X -p 6 LAN_MONITOR 100

Whe I then run lancheckconf, I get the following:

Reading ASCII file /etc/lanmon/lanconfig.ascii
ERROR: Ports 5 and 6 not connected
Exiting: Error verifying input file /etc/lanmon/lanconfig.ascii


What does it mean by "not connected"?
5 REPLIES 5
Sprint Unix Team
Frequent Advisor

Re: Help with Auto Port Aggregation

Can u please let me in detail the steps and process you followed in setting up this card.
Also, make sure you have the HPAPA software installed.

APA can be configured in /etc/rc.config.d/hpapaconf if Iam not wrong

Sprint Unix Team
Frequent Advisor

Re: Help with Auto Port Aggregation

Can u please let me in detail the steps and process you followed in setting up this card.
Also, make sure you have the HPAPA software installed.

APA can be configured in /etc/rc.config.d/hpapaconf if Iam not wrong


Iam sorry...the file hp_apaconf

Norman Lowe
Frequent Advisor

Re: Help with Auto Port Aggregation

I initially set up each card as a standalone with its own IP address to make sure that they worked. Having make sure that they did work, I removed the IP addresses again. After that, all I have done is the steps I ahve described above, with the lanconfig.ascii file and the lanadmin and lancheckconfig commands.

The APA software is installed and has created several new interfaces. Running lanscan gives the following outout:

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E09F187 0 UP lan0 snap0 1 ETHER Yes 119
0/3/0/0/4/0 0x00306E1D39B8 1 UP lan1 snap1 2 ETHER Yes 119
0/3/0/0/5/0 0x00306E1D39B9 2 UP lan2 snap2 3 ETHER Yes 119
0/3/0/0/6/0 0x00306E1D39BA 3 UP lan3 snap3 4 ETHER Yes 119
0/3/0/0/7/0 0x00306E1D39BB 4 UP lan4 snap4 5 ETHER Yes 119
0/8/0/0 0x00306E211F98 6 UP lan6 snap6 6 ETHER Yes 119
0/9/0/0 0x00306E0F8251 5 UP lan5 snap5 7 ETHER Yes 119
LinkAgg0 0x000000000000 100 DOWN lan100 snap100 9 ETHER Yes 119
LinkAgg1 0x000000000000 101 DOWN lan101 snap101 10 ETHER Yes 119
LinkAgg2 0x000000000000 102 DOWN lan102 snap102 11 ETHER Yes 119
LinkAgg3 0x000000000000 103 DOWN lan103 snap103 12 ETHER Yes 119
LinkAgg4 0x000000000000 104 DOWN lan104 snap104 13 ETHER Yes 119

I have seen several different documents on setting up APA, but they all give different methods are are not very clear.

Re: Help with Auto Port Aggregation

In order to get both cards to work in APA they need to have connectivity between the two cards at the link layer. You should be able to do a linkloop between the cards. Run lanscan to get the mac addrress (station address) of each card, then run:
linkloop -i 5 0xmac_address_of_lan6

or
linkloop -i 6 0xmac_address_of_lan5

The linkloop must work before they can be used with APA