8.Use the lanapplyconf command to build the failover group, and check it with the lanscan
#lanapplyconf
Reading ASCII file /etc/lanmon/lanconfig.ascii
Creating
#lanscan
4
0
3
9001 2
# netstat -in
Name | Mtu | Network | Address | Ipkts | Opkts |
lan0 | 1500 | 191.1.1.0 | 191.1.1.1 | 1794 | 1173 |
lo0 | 4136 | 127.0.0.0 | 127.0.0.1 | 390 | 390 |
lan900 | 1500 | 192.1.1.0 | 192.1.1.153 | 0 | 0 |
NOTE: If lanapplyconf encounters an invalid failover group, it stops reading the /etc/ lanmon/lanconfig.ascii file. Any failover groups created prior to this error are unaffected.
9.The failover group is now operational. A reboot will restart the failover group as long as the /etc/lanmon/lanconfig.ascii file is intact and the port or link aggregation has an IP address in /etc/rc.config.d/netconf that matches the failover group's Stationary IP entry in /etc/lanmon/lanconfig.ascii.
If lan1 fails, lan2 becomes the active port. Similarly, if the failover group consists of two link aggregates, failover from the link aggregate to the standby link aggregate occurs only when all ports in the link aggregate failed. However, the examples in the next section show how proactive failover gives you greater control of the failover.
Proactive Failover Examples
For the May 2005 and later releases of HP APA for
•The number of ports in each member of the failover group
•The effective throughput of the switch or router to which the failover group members are connected
The following examples show how each affects the proactive failover operation.
Example 1
You want to configure a failover group (lan902) for proactive failover. You decide that failover group consists of two link aggregates: lan900 and lan901. The lan900 aggregate consists of ports 1, 2, and 3; the lan901 aggregate consists of ports 4 and 5. Ports 1, 2, 3, 4, and 5 have speeds of 100 Mb/s. In addition, you want the link aggregate with the most operational ports at any point in time to be the active link in the failover group.
NOTE: You can apply the methodology in this example to failover groups consisting of any number of link aggregates and ports.
To configure the failover group for proactive failover, do the following:
1.Determine network efficiency.
In this example, you assign both lan900 and lan901 a cost of 1.
110 Configuring HP APA by Editing Files