MultiNICA notes
-
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 engine log is in
/var/VRTSvcs/log/engine_A.log
.
-
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 Solaris, for example, you have two active NICs, hme0 (10.128.2.5) and qfe0 (10.128.2.8). You configure a third NIC, qfe1, as the backup NIC to hme0. The agent does not fail over from hme0 to qfe1 because all ping tests are redirected through qfe0 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.
-
Set the NIC here: /etc/hostname.nic
-
Set the netmask here: /etc/netmask
Using RouteOptions
The RouteOptions attribute is useful only when the default gateway is your own host.
For example, if the default gateway and hme0 are both set to 10.128.8.42, the output of the netstat -rn
command resembles:
Destination Gateway Flags Ref Use Interface
---------------- ----------------- ----- ----- ------ ---------
10.0.0.0 10.128.8.42 U 1 2408 hme0
224.0.0.0 10.128.8.42 U 1 0 hme0
default 10.128.8.42 UG 1 2402 hme0
127.0.0.1 127.0.0.1 UH 54 44249 lo0
If the RouteOptions attribute is not set and hme0 fails, the MultiNICA agent migrates the base IP address to another NIC (such as qfe0). The default route is no longer configured because it was associated with hme0. The display resembles:
Destination Gateway Flags Ref Use Interface
---------------- ----------------- ----- ----- ------ ---------
10.0.0.0 10.128.8.42 U 1 2408 qfe0
224.0.0.0 10.128.8.42 U 1 0 qfe0
127.0.0.1 127.0.0.1 UH 54 44249 lo0
If the RouteOptions attribute defines the default route, the default route is reconfigured on the system. For example:
RouteOptions@sysa = "default 10.128.8.42 0"
RouteOptions@sysb = "default 10.128.8.43 0"