Enabling and disabling IMF for a set of agents

Article:HOWTO66157  |  Created: 2012-01-30  |  Updated: 2012-01-30  |  Article URL http://www.symantec.com/docs/HOWTO66157
Article Type
How To

Product(s)

Environment

Subject


Enabling and disabling IMF for a set of agents

Enable or disable IMF for a set of agents as follows:

To enable IMF for a set of agents

  • Run the following command:

    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.

      Note:

      The command prompts you whether you want to make the configuration changes persistent. If you choose No, the command exits. If you choose Yes, it enables IMF and dumps the configuration by using the haconf -dump -makero command.

    • 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

  • Run the following command:

    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.

      Note:

      The command prompts you whether you want to make the configuration changes persistent. If you choose No, the command exits. If you choose Yes, it enables IMF and dumps the configuration by using the haconf -dump -makero command.

    • 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.

See Enabling and disabling IMF for agents by using script


Legacy ID



uxrt-51sp1_v53477337_v69849413


Article URL http://www.symantec.com/docs/HOWTO66157


Terms of use for this information are found in Legal Notices