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 |
PRIMARY | lan1 | 3 |
PRIMARY | lan2 | 3 |
PRIMARY | lan3 | 3 |
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 lanscan
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,
#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 |
lan | 2 | 8/8/2/0 | igelan | CLAIMED | INTERFACE | HP PCI |
lan | 3 | 8/12/1/0 | igelan | CLAIMED | INTERFACE | HP PCI |
lan | 4 | 8/12/2/0 | igelan | CLAIMED | INTERFACE | HP PCI |
lan | 0 | 10/12/6 | lan2 | CLAIMED | INTERFACE | |
# |
|
|
|
|
|
|
The netstat output shows that lan1 is currently configured with IP address 192.1.1.153. The ioscan output shows spare
You decide that lan2 will be the standby link for the failover group, with lan1 as the device. To configure the failover group, do the following:
108 Configuring HP APA by Editing Files