Operating System - HP-UX
1832267 Members
6141 Online
110041 Solutions
New Discussion

APA reconfigures a Net interface that is not included in configuration files.

 
Jdamian
Respected Contributor

APA reconfigures a Net interface that is not included in configuration files.

Hi

When system starts up, APA is configured but it configures a net inerface that is not included in configuration files hp_apaportconf and hp_apaconf located in /etc/rc.config.d directory.

The net interfaces in my box are: lan0, lan1, lan2, lan3 and lan4.

The configuration files include lan0 and lan1 to join into lan100. hp_apaportconf is:

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=
HP_APAPORT_CONFIG_MODE[0]=FEC_MANUAL

HP_APAPORT_INTERFACE_NAME[1]=lan1
HP_APAPORT_GROUP_CAPABILITY[1]=
HP_APAPORT_CONFIG_MODE[1]=FEC_MANUAL

HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE"

hp_apaconf is:

HP_APA_INTERFACE_NAME[0]=lan100
HP_APA_LOAD_BALANCE_MODE[0]=LB_IP
HP_APA_MANUAL_LA[0]="0,1"
HP_APA_START_LA_PPA=100

HP_APA_INIT_ARGS="HP_APA_LOAD_BALANCE_MODE HP_APA_GROUP_CAPABILITY HP_APA_HOT_STANDBY HP_APA_MANUAL_LA"

But when APA starts, lan0 and lan1 are joined as lan100 BUT lan2 is reconfigured as lan101.

Then I must use SAM to disable lan101 and recover lan2.

Any ideas ?

Thanx in advance
1 REPLY 1
cxtwo
Frequent Advisor

Re: APA reconfigures a Net interface that is not included in configuration files.

Hello,

It sounds like you have an old version of APA - in older revisions, the default mode of each port was set to FEC, so ports would join aggregates automatically. You can update the patches which gives a new parameter in apaconf 'default port mode' which is now 'manual'

or, you can explicitly set those ports to manual mode, so they are not automatically put into aggregates:

HP_APAPORT_INTERFACE_NAME[2]=lan2
HP_APAPORT_CONFIG_MODE[2]=MANUAL

It's best to do the same for all ports that shouldn't be in aggregates.

Hope this helps..