1834132 Members
2194 Online
110064 Solutions
New Discussion

Re: APA configuration

 
SOLVED
Go to solution
Rashid Hamid
Regular Advisor

APA configuration

Hi All

I want to configure APA configuration LAN MONITOR. I have 4 interfaces, lan0 lan1 lan4 and lan5.

I want to configure as below
1) lan0 - lan4
2) lan1 - lan5

The sample hp_apaportconf file that I have only configure 2 interfaces into one group as below

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR

HP_APAPORT_INTERFACE_NAME[1]=lan4
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR

Question: How to configure another lan1 and lan5? Any group I have to add in hp_apaportconf file?


Thanks



I'm Parit Madirono/Parit Betak Boyz
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: APA configuration

Hello,

This thread should be helpful to you,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=914885

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Devender Khatana
Honored Contributor

Re: APA configuration

Hi,

It is best to do this with SAM. My system with eight lans configured to give four logical has all except second last line commented in the file mentioned.

The entries are there in /etc/rc.config.d/hp_apaconf

HTH,
Devender
Impossible itself mentions "I m possible"
Senthil Kumar .A_1
Honored Contributor
Solution

Re: APA configuration

Hi Rashid,

In the file /etc/rc.config.d/hp_apaportconf make sure you use a the follwoing variable "HP_APAPORT_GROUP_CAPABILITY". Make sure the 2 ports that u are agreegating belongs to the same number. In the following example, one group belongs to 5 and the other to 6.

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=5
HP_APAPORT_PRIORITY[0]=0
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR

HP_APAPORT_INTERFACE_NAME[1]=lan4
HP_APAPORT_GROUP_CAPABILITY[1]=5
HP_APAPORT_PRIORITY[1]=0
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR

HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_GROUP_CAPABILITY[0]=6
HP_APAPORT_PRIORITY[0]=0
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR

HP_APAPORT_INTERFACE_NAME[1]=lan5
HP_APAPORT_GROUP_CAPABILITY[1]=6
HP_APAPORT_PRIORITY[1]=0
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR


Once you perform the following changes to your file, perform the following...

Stop and start APA

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

Configure /etc/lanmon/lanconfig.ascii and activate the configuration:

lanqueryconf â s
lanapplyconf

Once done, try lanscan to check that it has accepted the APA. The PPA's lan0,lan1,lan4 and lan5 should dissappear, leaving 2 APA's.

NOTE: make sure, lan1 and lan5 is connected to same VLAN, teast by using "linkloop" command.

Regards,

Senthil Kumar .A


Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Senthil Kumar .A_1
Honored Contributor

Re: APA configuration

In my previous response.. there is a garbage in front of "s" in the second set of commands..

it should be..

lanqueryconf -s
lanapplyconf

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Todd Whitcher
Esteemed Contributor

Re: APA configuration

This manual is also very helpful

HP Auto Port Aggregation (APA) Support Guide

http://www.docs.hp.com/en/netcom.html#Auto%20Port%20Aggregation%20%28APA%29

Hope that helps

Todd