1833653 Members
3669 Online
110062 Solutions
New Discussion

Problem configuring APA

 
ITeam
Super Advisor

Problem configuring APA

I have an rx3600 11:23 have installed all patches and software (JH4240AA) AutoPortAggregation installed. I have 4 NICs that I want to add to a link aggregate.

I managed to add the ports to the link agg (lan900) and when I started hpapa up they showed up in a lanscan -q as:

900 2 3 1 5
901

(the ports are all using the same key - 5) but I could only add these ports as MANUAL when really I want them to be LACP_AUTO.

I stopped hpapa (/sbin/init.d/hpapa stop)

edited
/etc/rc.config.d/hp_apaconf as follows:

# The HP_APA_INIT_ARGS are reserved by HP. They are NOT user changable.
HP_APA_START_LA_PPA=900
HP_APA_DEFAULT_PORT_MODE=LACP_AUTO

HP_APA_INIT_ARGS="HP_APA_LOAD_BALANCE_MODE HP_APA_GROUP_CAPABILITY HP_APA_HOT_ST
ANDBY HP_APA_MANUAL_LA HP_APA_INIT HP_APA_KEY"

# End of hp_apaconf configuration file
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_HOT_STANDBY[0]=off
HP_APA_GROUP_CAPABILITY[0]=
HP_APA_KEY[0]=5
HP_APA_MANUAL_LA[0]=2,3,1,5

Edited /etc/rc.config.d/hp_apaportconf as follows:

HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_KEY[0]=5
HP_APAPORT_CONFIG_MODE[0]=LACP_AUTO

HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_KEY[1]=5
HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO

HP_APAPORT_INTERFACE_NAME[2]=lan3
HP_APAPORT_KEY[2]=5
HP_APAPORT_CONFIG_MODE[2]=LACP_AUTO

HP_APAPORT_INTERFACE_NAME[3]=lan5
HP_APAPORT_KEY[3]=5
HP_APAPORT_CONFIG_MODE[3]=LACP_AUTO

then started up hpapa: /sbin/init.d/hpapa start and get the follwoing error:

New Hot Standby = OFF
/usr/sbin/lanadmin -X -k 900 5 900
New Administrative Key = 5
/usr/sbin/lanadmin -X -a 2 3 1 5 900
ERROR: Error: The mode of the port 2 is invalid for this command

and now the ports have disappeared from lanscan -q if I do lanadmin -x -p 2 900 I get for all ports:

**** PORT NUMBER: 2 *******
Port LACP Mode : LACP_AUTO
Port State : DEFAULTED
Port Operational Key : 5
Port Priority : 0

Can anyone advise how I add the ports to lan900 in LACP_AUTO mode.

Thanks Annelise
5 REPLIES 5
James George_1
Trusted Contributor

Re: Problem configuring APA

Hi

Check these posts ..

James
forum is for techies .....heaven is for those who are born again !!
James George_1
Trusted Contributor
Tim Nelson
Honored Contributor

Re: Problem configuring APA

Try a group config instead of key. Also look again on why manual. I think some of your settings conflict. i.e. if you are going to manually force the nics into an aggregate then why use a key ?

Our typical config uses group configuration and FEC_AUTO(PaGP), we had issue with LACP that the aggregates would not bind at boot. Some timing issue that HP would not support as they stated that HPs support for LACP was lacking and they recommended FEC_AUTO.

skt_skt
Honored Contributor

Re: Problem configuring APA

One of the functions of this software allows us to remove the network interface cards (NICâ  s) as single points of failure without using MC/ServiceGuard.Multple NICs are combined combined into one network instance by the APA software. In the event that any part of the one cardâ  s connection is broken, the software switches the IP address(es) running on the failed card to the other healthy card.

To setup this scenario, each card of the pairs should be connected to a separate switch (eliminating the switch as a single point of failure) and be on the same network segment (same VLAN).

You must also install the APA software from HP which requires a reboot. Once the machine comes back up, follow the directions below to setup the APA software.

LAN_MONITOR port configuration mode
LAN_MONITOR is the mode equal to NIC card failover w/ MCSG.

Assign an IP address to the primary link by typing, for example: ifconfig lan1 192.5.5.138
To preserve the IP address across reboots, you need to add the IP address for the primary port to /etc/rc.config.d/netconf.

Edit the failover group and configuration mode in the /etc/rc.config.d/hp_apaportconf file. Example, to put lan1 and lan2 into a failover group: HP_APAPORT_INTERFACE_NAME[0]=lan1 HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR HP_APAPORT_INTERFACE_NAME[1]=lan2 HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR

, to activate the configuration, type: /sbin/init.d/hplm stop {optional--for failover groups} /sbin/init.d/hpapa stop and then /sbin/init.d/hpapa start /sbin/init.d/hplm start {optional--for failover groups}

optional--for failover groups}
To query which link aggregates are possible, type: lanqueryconf -s
________________________________________

Running lanqueryconf -s will overwrite the original /etc/lanmon/lanconfig.ascii.
________________________________________
This command will query the system and network for all possible link aggregates. The results of the query will be placed in the configuration file /etc/lanmon/lanconfig.ascii. This file should contain data similar to:

NODE_NAME hpxyz6e POLLING_INTERVAL 10000000 DEAD_COUNT 3 FAILOVER_GROUP lan900 STATIONARY_IP 192.5.5.138 PRIMARY lan1 5 STANDBY lan2 3

You can manually edit this file and change the number of ports in the failover groups, the dead count, or the poll interval.
To verify that the configuration in /etc/lanmon/lanconfig.ascii is still valid, type: lancheckconf

To verify that the configuration in /etc/lanmon/lanconfig.ascii is still valid, type: lancheckconf
To create the link aggregates specified in the configuration file, type: lanapplyconf
This command will create the specified link aggregates in the binary configuration file /etc/lanmon/lanconfig.
Note: if you later want to delete all the link aggregates specified in the /etc/lanmon/lanconfig.ascii configuration file, type: landeleteconf
ITeam
Super Advisor

Re: Problem configuring APA

Thanks for the response; however we don't want to configure the LANS as a failover group, we want to use all 4 NICs to form one link agg (lan900) then assign a single IP to the link agg.