Agent functions

Online

Brings a WPAR up and running.

Offline

Takes a WPAR down gracefully.

Monitor

Checks if the specified WPAR is up and running.

If IMF is enabled for the WPAR agent, the resource is monitored asynchronously and any change in the resource state is immediately sent to VCS for appropriate action.

Clean

Brings down a WPAR forcefully.

imf_init

Initializes the agent to interface with the asynchronous monitoring framework (AMF) kernel driver. This function runs when the agent starts up.

imf_getnotification

Waits for notification about resource state changes. This function runs after the agent initializes with the AMF kernel driver. The agent continuously waits for notification and takes action on the resource upon notification.

imf_register

Registers the resource entities, which the agent must monitor, with the AMF kernel driver. This function runs for each resource after the resource goes into steady state (online or offline).