Enable or disable IMF for a set of agents as follows:
To enable IMF for a set of agents
haimfconfig -enable -agent agent(s)
This command enables IMF for the specified agents. It also configures and loads the AMF module on the system if the module is not already loaded. If the agent is a custom agent, the command prompts you for the Mode and MonitorFreq values if Mode value is not configured properly.
If VCS is running, this command might require to dump the configuration and to restart the agents. The command prompts whether you want to continue. If you choose Yes, it restarts the agents that are running and dumps the configuration. It also sets the Mode value (for all specified agents) and MonitorFreq value (for custom agents only) appropriately to enable IMF. For the agents that are not running, it changes the Mode value (for all specified agents) and MonitorFreq value (for all specified custom agents only) so as to enable IMF for the agents when they start.
If VCS is not running, changes to the Mode value (for all specified agents) and MonitorFreq value (for all specified custom agents only) need to be made by modifying the VCS configuration files. Before the command makes any changes to configuration files, it prompts you for a confirmation. If you choose Yes, it modifies the VCS configuration files. IMF gets enabled for the specified agent when VCS starts.
Example
haimfconfig -enable -agent Mount Application
The command enables IMF for the Mount agent and the Application agent.
To disable IMF for a set of agents
haimfconfig -disable -agent agent(s)
This command disables IMF for specified agents by changing the Mode value to 0 for each agent and for all resources that had overridden the Mode values.
If VCS is running, the command changes the Mode value of the agents and the overridden Mode values of all resources of these agents to 0.
If VCS is not running, any change to the Mode value needs to be made by modifying the VCS configuration file. Before it makes any changes to configuration files, the command prompts you for a confirmation. If you choose Yes, it sets the Mode value to 0 in the configuration files.
Example
haimfconfig -disable -agent Mount Application
The command disables IMF for the Mount agent and Application agent.