HP Auto Port Aggregation Administrator's Guide HP-UX 11i v3 (766140-001, March 2014)

HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
4. Activate the configuration by entering:
# /sbin/init.d/hplm stop
# /sbin/init.d/hpapa stop
# /sbin/init.d/hpapa start
# /sbin/init.d/hplm start
5. If the device to be the link does not have the desired IP address, add the IP address for the
active port or link aggregation to /etc/rc.config.d/netconf. Editing that file or using
SMH will preserve the IP address permanently (across reboots).
Alternatively, you can also temporarily assign an IP address to the active link and change the
mode of the link and all standby links to LAN_MONITOR. For example, ifconfig lan1
192.5.5.138
6. Query the system for possible link failover groups by entering the lanqueryconf -s -c
/tmp/filename command.
CAUTION: Running lanqueryconf -s will overwrite the original /etc/lanmon/
lanconfig.ascii file.
This command queries the system and network for all possible failover groups. The results of
the query are placed in the /tmp/filename configuration file. This file contains data similar
to the following:
POLLING_INTERVAL 10000000
DEAD_COUNT 3
LM_RAPID_ARP off
LM_RAPID_ARP_INTERVAL 1000000
LM_RAPID_ARP_COUNT 10
FAILOVER_GROUP lan900
STATIONARY_IP 192.1.1.1
STANDBY lan11 3
PRIMARY lan10 5
7. Compare the /etc/lanmon/lanconfig.ascii file with the /tmp/filename file.
If they are not the same, decide which file you want to use. If you want to use the file in /tmp,
copy that file to /etc/lanmon/lanconfig.ascii.
8. Edit the /etc/lanmon/lanconfig.ascii file and change the number of ports in the
failover groups, the dead count, poll interval, rapid ARP setting, rapid ARP interval, rapid ARP
count, and stationary IP address. The following example shows a failover group entry that
contains an IPv6 address:
FAILOVER_GROUP lan901
STATIONARY_IP fe80::1
STANDBY lan11 3
PRIMARY lan4 5
9. Verify that the configuration in /etc/lanmon/lanconfig.ascii is still valid by using the
lancheckconf command.
10. Create the failover groups specified in the configuration file by using the lanapplyconf
command.
This command creates the specified failover groups.
Check the failover groups by using the nwmgr -S apa and netstat -in commands.
NOTE: If you later want to delete all the failover groups created, enter the landeleteconf
command.
11. The failover group is now operational. A reboot will restart the failover group as long as the
/etc/lanmon/lanconfig.ascii file is intact.
Editing configuration files for link aggregates 87