Operating System - HP-UX
1820033 Members
3503 Online
109608 Solutions
New Discussion юеВ

Re: Automatic Port Aggregation

 
SOLVED
Go to solution
Enrico Venturi
Super Advisor

Automatic Port Aggregation

Hello colleagues,
if I've already configured LAN #0 on my machine, can I set up a link aggregate using a not configured card, and "move" the LAN #0 IP to the new interface?

ciao
Enrico
3 REPLIES 3
Geoff Wild
Honored Contributor

Re: Automatic Port Aggregation

You don't really "move" an ip - you setup the aggregate in one of the following ways:

MANUAL Use this mode to configure link aggregates if the server connects to a switch that supports only manual configuration. This mode requires the switch to support link aggregation. In the event of a link failure, APA automatically migrates the data flow from the failed link to another link in the aggregation.

FEC_AUTO Use this mode to configure link aggregates connected to a switch that supports the Cisco Fast EtherChannel protocol (PAgP). This mode requires the switch to support the PAgP (FEC) protocol. In the event of a link failure, PAgP automatically migrates the data flow from the failed link to another link in the aggregation.

LACP_AUTO Use this mode to automatically aggregate links connected to IEEE 802.3ad (LACP) supported switches. This mode requires the switch to support the LACP protocol. In the event of a link failure, LACP automatically migrates the data flow(s) from the failed link to another link in the aggregation.

LAN_MONITOR Use this mode to configure failover groups. In the event of a link failure, the LAN Monitor software automatically migrates the data flow from the primary link to one of the standby links in the failover group. Failover groups do not support HP Serviceguard. The mode does not strictly require the switch to support link aggregation, although some configurations might require the switch to support link aggregation.

More info available here:

http://docs.hp.com/en/J4240-90031/index.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Greg Vaidman
Respected Contributor

Re: Automatic Port Aggregation

You could, but it wouldn't be lan0 any more. APA link aggregates typically start at lan900. And you'd get all sorts of errors moving forward if you have the original NIC off the aggregate on a permanent basis moving forward.

If you're just trying to set up an existing IP on a different NIC, you're better off just doing it right. If you get your command line parms figured out correctly, you can even execute the "ifconfig lan0 unplumb; ifconfig lan netmask " command so that there's <1 sec disruption to your IP's uptime. (Do this from the console, and not a remote telnet/ssh session!)
Christine Hartman
Valued Contributor
Solution

Re: Automatic Port Aggregation

Enrico,

if you no longer wish to use lan0...then yes you can move the ip over to your new lan card (configured as an APA interface)...just make sure to modify the /etc/rc.config.d/netconf file. Use lanscan -a to verify your APA lan id# (i.e. lan900)....also you can use lanadmin to configure your lancards (if you need to set them to auto-neg)
Something to keep in mind (which I'm sure the link mentioned in the previous post) when setting up channeling...your 2 lan interfaces need to be connected to the same switch. If you wish to be fully redundant then set them up on separate switches (for MANUAL mode).
files to be configured for APA are gonna be the apaconf and apaportconf files in /etc/rc.config.d.