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.
Example: Configuring a failover group
Suppose you want to configure a simple, two-port LAN Monitor failover group on a K-class
system. You enter the
netstat
and
ioscan
commands as follows:
# netstat -in
Name Mtu Network Address Ipkts Opkts
lan1 1500 192.1.1.0 192.1.1.153 9504123 12437048
lan0 1500 191.1.1.0 191.1.1.1 11202 257458
lo0 4136 127.0.0.0 127.0.0.1 417 417
# ioscan -fkC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 1 8/8/1/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 2 8/8/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 3 8/12/1/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 4 8/12/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 0 10/12/6 lan2 CLAIMED INTERFACE Built-in LAN
#
The
netstat
output shows that
lan1
is currently configured with IP address 192.1.1.153. The
ioscan
output shows spare 1000Base-T devices
lan2
,
lan3
, and
lan4
.
You decide that
lan2
will be the standby link for the failover group, with
lan1
as the active
device.
To configure the failover group, do the following:
100
Configuring HP APA by editing files