Operating System - HP-UX
1753505 Members
4863 Online
108794 Solutions
New Discussion

Can not succesfully configure link aggregate (APA)

 
EEESEC
Frequent Advisor

Can not succesfully configure link aggregate (APA)

I am tyring to configure a link aggregate in LACP mode. Currently it is setup as a failover group. I am referencing the "HP Auto Port Aggregation Administrator's Guide" and relevent man pages.  This is the process I am using:

# Clear current apa group
nwmgr -d -A links=all -I 900 -f -S apa
nwmgr -s -S apa -A all --saved --from cu

# Unconfigure the lan0 interface
ifconfig lan0 unplumb

# Create APA group in LACP AUTO mode
nwmgr -s -S apa -c lan900 -A lb=LB_MAC -A gc=900 -A
nwmgr -s -S apa -A all --saved --from cu

# Add interfaces 0,1,8,9
nwmgr -s -S apa -I 0 -A key=900 -A mode=LACP_AUTO
nwmgr -s -S apa -I 1 -A key=900 -A mode=LACP_AUTO
nwmgr -s -S apa -I 8 -A key=900 -A mode=LACP_AUTO
nwmgr -s -S apa -I 9 -A key=900 -A mode=LACP_AUTO
nwmgr -s -S apa -A all --saved --from cu

# Set IP for lan900 via SMH

# Restart apa services
/sbin/init.d/hplm stop
/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start
/sbin/init.d/hplm start

# Reset data flow
nwmgr -r -q data_flow -c lan900

This is not working.  When tyring to enter the IP address from the SMH TUI it says it updated successfully but does not actually update anything.  The lan900 groups shows it is still unconfigured and has no ip address.  I have tried to manually update the netconf file and then reboot, however this still has no effect.  What do I have to do to configure this correctly?  I basically can't get the lan900 aggregate group to take an ip and become configured. 
 
I am on 11.31, hardware is a bl860c i2.

 

Any help would be greatly appreciated.

 

Thanks.

2 REPLIES 2
RAJD1
Valued Contributor

Re: Can not succesfully configure link aggregate (APA)

Hi,
Could you check /etc/lanmon/lanconfig.ascii file
Also what shows # lanscan -q

Hth,
Raj D
Nitin B Wankhede
Occasional Contributor

Re: Can not succesfully configure link aggregate (APA)

The link partner (the switch, router, or server) ports connected to the server ports must be
configured for link aggregation (trunking). In addition, the mode on the link partner and
the server must be the same. For example, if ports 1, 2, 3, and 4 are connected to a link partner
switch's ports C1, C2, C3, and C4, respectively, and the server side is trunked using
LACP_AUTO mode, the partner switch must be configured to trunk ports C1, C2, C3, and
C4 using LACP_AUTO mode.

 

Regards

--Nitin