About the multinicb event trigger

The following table describes the multinicb event trigger:

Description

Invoked when a network device that is configured as a MultiNICB resource changes its state. The trigger is also always called in the first monitor cycle.

VCS provides a sample trigger script for your reference. You can customize the sample script according to your requirements.

Usage

-multinicb_postchange triggertype resource-name device-name previous-state current-state monitor_heartbeat

triggertype - represents whether trigger is custom (triggertype=0) or internal (triggertype=1).

For this trigger, triggertype=0.

resource-name - represents the MultiNICB resource that invoked this trigger.

device-name - represents the network interface device for which the trigger is called.

previous-state - represents the state of the device before the change. The value 1 indicates that the device is up; 0 indicates it is down.

current-state - represents the state of the device after the change.

monitor-heartbeat - an integer count, which is incremented in every monitor cycle. The value 0 indicates that the monitor routine is called for first time.