imf_init error despite corresponding resource type attribute being disabled

book

Article ID: 100010540

calendar_today

Updated On:

Description

Error Message

Aug 1 07:09:19 AgentFramework[7539]: [ID 702911 daemon.notice] VCS ERROR V-16-10001-20506 Mount:Mount:imf_init:VxAMF Mount Module could not be initialized: reaper-name , pid <7539>, retval <-1> and errno set is <2>
 

Cause

IMF is disabled by default in VCS51SP1 and all its RPs. But if an agent supports IMF (i.e. it has an IMF entry point implemented), the agent framework on startup will invoke the intialization via imf_init. The imf_init failure error is logged when the IMF kernel module is not loaded and the entry point will fail.  This error message will be logged only on agent start up, whether the agent is started by VCS or manually.  

Resolution

This error message can be ignored when the IMF feature is not being used (i.e. IMF is disabled) as this message does not have any impact on agent functionality and all resources will be monitored by the traditional Monitor entry point method of monitoring.

To check if IMF is disabled:
root@sys1:/# hatype -display Mount -attribute IMF
#Type Attribute Value
Mount IMF Mode 0 MonitorFreq 1 RegisterRetryLimit 3  (Mode =0 indicates that IMF is disabled )

While the use of IMF and AMF is not mandatory, the advantages of using it are :
a. Provides faster notification of resource state changes.
b. Reduces VCS system utilization due to reduced monitor function footprint, which enables VCS to effectively monitor a large number of resources.
 

IMF will be enabled by default in 6.0 and above.  A Product Enhancement has been filed to prevent the error from being logged when IMF is disabled, to be implemented in a future release.


Applies To

VCS VERSION: 5.1SP1 and subsequent patches releases

PLATFORM: Any

Issue/Introduction

The Asynchronous Monitoring Framework (AMF)/ Intelligent Monitoring Framework (IMF) logs an error about imf_init failures for various agents on agent startup.  This occurs even when the corresponding IMF resource for that agent has been disabled.

Additional Information

ETrack: 2199779