MultiNICA notes
General notes
-
In a MultiNICA resource configuration, the link-local type of IPv6 addresses are not supported as the base address for device. The resource may enter a faulted state if the configuration contains a link-local address as a base address.
-
If all NICs configured in the Device attribute are down, the MultiNICA agent faults the resource after a two-three minute interval. This delay occurs because the MultiNICA agent tests the failed NIC several times before it marks the resource offline. Failover logs record a detailed description of the events.
-
The MultiNICA agent supports only one active NIC on one IP subnet; the agent does not work with multiple active NICs on the same subnet.
-
On HP-UX, for example, you have one active NIC, lan0 (10.128.2.5). You configure a second NIC, lan1, as the backup NIC to lan0. The agent does not fail over from lan0 to lan1 because all ping tests are redirected through lan0 on the same subnet. The redirect makes the MultiNICA monitor return an online status. Note that using ping -i does not enable the use of multiple active NICs.
-
Before you start VCS, configure the primary NIC with the correct broadcast address and netmask.
Using RouteOptions
The RouteOptions attribute is useful only when the default gateway is your own host.
For example, if the default gateway and lan0
are both set to 11.236.99.248
, the output of the netstat -rn
command from the routing table resembles:
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
11.236.99.248 11.236.99.248 UH 0 lan0 4136
11.236.98.0 11.236.99.248 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 11.236.99.248 UG 0 lan0 0
If the RouteOptions attribute is not set and lan0
fails, the MultiNICA agent migrates the base IP address to another NIC (such as lan1
). The default route is no longer configured because it was associated with lan0
. The display from the routing table resembles:
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
11.236.99.161 11.236.99.161 UH 0 lan2 4136
11.236.98.0 11.236.99.161 U 2 lan2 1500
If the RouteOptions attribute defines the default route, the default route is reconfigured on the system. For example:
RouteOptions@sysa = "default 11.236.99.248 0"
RouteOptions@sysb = "default 11.236.99.249 0"