Operating System - HP-UX
1826188 Members
2640 Online
109691 Solutions
New Discussion

Re: HP Auto Port Aggregation

 
SOLVED
Go to solution
Gene Laoyan
Super Advisor

HP Auto Port Aggregation

I'm looking for an easy to follow step by step instruction on how to configure APA for use in the "Enterprise Intranet Client/Server Environment" section on the following doc: http://docs.hp.com/en/J4240-90035/ch01s08.html#c1063687

We'll be starting from scratch and assume we're not very sharp with Unix.

Thanks
1 REPLY 1
skt_skt
Honored Contributor
Solution

Re: HP Auto Port Aggregation

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