Operating System - HP-UX
1835268 Members
2448 Online
110078 Solutions
New Discussion

Wrong behaviour of APA init script

 
SOLVED
Go to solution
Jdamian
Respected Contributor

Wrong behaviour of APA init script

After installation of patches and system reboot, the APA startup script doesn't work properly.

It create two new LinkAggregation interfaces (two virtual lan devices) called lan101 and lan102 for two real lan interfaces (lan2 and lan4). But they are not configured anywhere.

APA config files /etc/rc.config.d/hp_apaconf and /etc/rc.config.d/hp_apaportconf refer to just ONE Link Agreggate (lan1 + lan3 -> lan100 ) that is properly configured. No mention to lan2 nor lan4.

This a real problem because APA hides lan2 and lan4. Then they cannot be configured according to /etc/rc.config.d/netconf file.

My workaround is assigning lan2 and lan4 IPs to lan101 and lan102.

Some time ago, I had other problems after applying APA patches. So I'll install no APA patch anymore.

P.D: APA commands have no manual pages.
1 REPLY 1
Brian Hackley
Honored Contributor
Solution

Re: Wrong behaviour of APA init script

Hello,

This problem description is probably an "FAQ" for APA.
Q. Some of my network interfaces no longer appear in the output from lanscan after I installed APA/LM. What happened?

A. Try lanscan -q. You will probably see the missing devices on the same line as one of the APA link aggregates (device instances 100-104 for 11.0 and 900-904 from 11.11). APA automatically attempts to form link aggregations for all devices that are APA compatible. The missing devices have been aggregated into trunks.
There are two solutions for this:
1) Configure APA. At a minimum, configure all devices that are not going to be used in a linkagg as MANUAL. Do this in the /etc/rc.config.d/hp_apaportconf file. Example:
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=
HP_APAPORT_CONFIG_MODE[0]=MANUAL
Reboot the system.

2) Install the patch PHNE_24308 (11.0) or PHNE_24309 (11.11) or the APA product from Application Release Dec 2001(when available), then follow the instructions in the patch documentation and or product release note.

If you install the patch, you need to copy in new hp_apaconf file AND hp_apaportconf file from /usr/newconfig/etc/rc.config.d into /etc/rc.config.d

Be sure that the variable HP_APA_DEFAULT_PORT_MODE=MANUAL is included in the /etc/rc.config.d/hp_apaconf file. Then configure APA.

Hope this helps you resolve this once and for all,

-> Brian Hackley
Ask me about telecommuting!