For the MultiNICB agent to function properly, you must satisfy each item in the following list:
Tip Solaris-only: The base IP addresses, which the agent uses to test the link status, should be reserved for use by the agent. These IP addresses do not get failed over.
has TRACK_INTERFACES_ONLY_WITH_GROUPS=yes.
no -o bcastping = 1
.
MultiNICB monitor agent function calls a VCS trigger in case of an interface going up or down. The following arguments are passed to the script:
The agent also sends a notification (which may be received via SNMP or SMTP) to indicate that status of an interface changed. The notification is sent using "health of a cluster resource declined" and "health of a clusterresource improved" traps which are mentioned in the VCS User's Guide. A sample mnicb_postchange trigger is provided with the agent. You can customize this sample script as needed or write one from scratch.
The sample script does the following for AIX:
MultiNICB agent Res. Name: Device en0 status changed from Down to Up.
The sample script does the following for Solaris:
In order to prevent AIX from attempting to send packets through a broken interface (cable unplugged), the MultiNICB agent detaches the interface when it detects that the interface is down. When the interface is brought up (cable plugged in), you need to re-attach the interface to enable the agent to monitor it.
To attach the interface, type:
# chdev -l
interface -a state='up'
For example, if the fixed interface is en4
, enter:
Standby interfaces are the ones where the virtual IP is not configured. If a standby interface fails, the current agent does not detach it. Hence, if there are two interfaces within the MultiNICB resource, this can result in a 50% packet loss when the virtual IP address is pinged from within the subnet. No packet loss occurs if the virtual IP address is pinged from outside the subnet.
A workaround for this issue is to manually detach the broken interface and re attach it again after it is fixed.