Operating System - HP-UX
1833178 Members
2768 Online
110051 Solutions
New Discussion

Re: Auto-Port Aggregation configure problem !!

 
SOLVED
Go to solution
Anh.Quan
Frequent Advisor

Auto-Port Aggregation configure problem !!

Dear All,

Now i want to config Auto Port Aggregation for network failover. I add one port sucessful, but i can't add one more port

#lanadmin -X -a 1 900
Error: Group capability mismatch for port 1

These are my settting:
----------------------
0/1/2/0 0x001321D6B068 0 UP lan0 snap0 1 ETHER Yes 119
0/2/1/0/4/0 0x001279437820 1 UP lan1 snap1 2 ETHER Yes 119
0/2/1/0/4/1 0x001279437821 2 UP lan2 snap2 3 ETHER Yes 119
0/2/1/0/6/0 0x001279437822 3 UP lan3 snap3 4 ETHER Yes 119
0/2/1/0/6/1 0x001279437823 4 UP lan4 snap4 5 ETHER Yes 119
0/6/1/0/4/1 0x0012794377A9 6 UP lan6 snap6 7 ETHER Yes 119
0/6/1/0/6/0 0x0012794377AA 7 UP lan7 snap7 8 ETHER Yes 119
0/6/1/0/6/1 0x0012794377AB 8 UP lan8 snap8 9 ETHER Yes 119
LinkAgg0 0x0012794377A8 900 UP lan900 snap900 11 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 12 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 13 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 14 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 15 ETHER Yes 119
--------------------------------
#lanscan -q
0
1
2
3
4
6
7
8
900 5
901
902
903
904
#cat hp_apaconf
HP_APA_INTERFACE_NAME[1]=lan900
HP_APA_LOAD_BALANCE_MODE[1]=
HP_APA_HOT_STANDBY[1]=on
HP_APA_GROUP_CAPABILITY[1]=3
HP_APA_KEY[1]=
HP_APA_MANUAL_LA[1]=5

#cat hp_apaportconf
HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_GROUP_CAPABILITY[0]=2
HP_APAPORT_CONFIG_MODE[0]=MANUAL

HP_APAPORT_INTERFACE_NAME[1]=lan5
HP_APAPORT_GROUP_CAPABILITY[1]=3
HP_APAPORT_CONFIG_MODE[1]=MANUAL

Pls help me to resolve this problem!

Many thanks.
Vu
7 REPLIES 7
Navin Jain
Advisor
Solution

Re: Auto-Port Aggregation configure problem !!

Hi Vu,

The group capability of both LAN cards in the same port aggregation (like lan900)should be same. Try setting

HP_APAPORT_GROUP_CAPABILITY[0]=2
HP_APAPORT_GROUP_CAPABILITY[1]=2

Here is my working hp_apaportconf file:

HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_CONFIG_MODE[0]=MANUAL
HP_APAPORT_PRIOTITY[0]=5
#
HP_APAPORT_INTERFACE_NAME[1]=lan0
HP_APAPORT_CONFIG_MODE[1]=MANUAL
HP_APAPORT_PRIOTITY[1]=3

Hope this helps.
--
Navin Jain
Anh.Quan
Frequent Advisor

Re: Auto-Port Aggregation configure problem !!

Hi Navin Jain,

After changed:

HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_GROUP_CAPABILITY[0]=3
HP_APAPORT_CONFIG_MODE[0]=MANUAL

HP_APAPORT_INTERFACE_NAME[1]=lan5
HP_APAPORT_GROUP_CAPABILITY[1]=3
HP_APAPORT_CONFIG_MODE[1]=MANUA

The same Error appearance:
#lanadmin -X -a 1 900
Error: Group capability mismatch for port 1
Anh.Quan
Frequent Advisor

Re: Auto-Port Aggregation configure problem !!

Hi Navin Jain,

After changed:

HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_GROUP_CAPABILITY[0]=3
HP_APAPORT_CONFIG_MODE[0]=MANUAL

HP_APAPORT_INTERFACE_NAME[1]=lan5
HP_APAPORT_GROUP_CAPABILITY[1]=3
HP_APAPORT_CONFIG_MODE[1]=MANUAL

The same Error appearance:
#lanadmin -X -a 1 900
Error: Group capability mismatch for port 1
Navin Jain
Advisor

Re: Auto-Port Aggregation configure problem !!

Hi Vu,

After changing Group Capabilities, you have restart the APA by using the command:

/sbin/init.d/hpaapa
Navin Jain
Advisor

Re: Auto-Port Aggregation configure problem !!

Hi Vu,

After changing Group Capabilities, you have restart the APA by using the command:

/sbin/init.d/hpaapa stop
/sbin/init.d/hpapa start

BEWARE: This would stop the network interface lan5. If this is only interface connected, you would loose connectivity. So login on the console if you execute this command or reboot the server if this is a possibility.

Regards,
--
Navin
Navin Jain
Advisor

Re: Auto-Port Aggregation configure problem !!

Hi Vu,

After changing Group Capabilities, you have to restart the APA by using the command:

/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start

BEWARE: This would stop the network interface lan5. If this is only interface connected, you would loose connectivity. So login on the console if you execute this command or reboot the server if this is a possibility.

Regards,
--
Navin
Anh.Quan
Frequent Advisor

Re: Auto-Port Aggregation configure problem !!

Dear Navin Jain,

I greatly appreciate your kindness. I fixed thi s problem. I thanks you so much !

Best regards,
Vu