AMF (Asynchronous Monitoring Framework) is a kernel-module on UNIX that hooks itself with the operating system so as to provide Asynchronous/instantaneous notification of resource state changes and eliminating the need for regular poll-based monitoring.
Note: By default AMF is not enabled for CFS Agents.
Enabling AMF with CFS
1. Edit /etc/sysconfig/amf and set the AMF_START variable to 1.
AMF_START=1
2. Start the AMF service.
service amf start
3. Enable IMF for CFS Agents
haconf -makerw
hatype -modify CFSMount IMF -update Mode 3
hatype -modify CFSfsckd IMF -update Mode 3
haconf -dump -makero
4. Stop and start the CFS Agents on all nodes in the cluster.
haagent -stop CFSMount -sys
haagent -stop CFSfsckd -sys
haagent -start CFSMount -sys haagent -start CFSfsckd -sys Note: If the CFS Agents are being used use the force option to stop the agent. Disabling AMF with CFS 1. Disable IMF for CFS Agents haconf -makerw hatype -modify CFSMount IMF -update Mode 0 hatype -modify CFSfsckd IMF -update Mode 0 haconf -dump -makero 2. Stop and start the CFS Agents on all nodes in the cluster. haagent -stop CFSMount -sys haagent -stop CFSfsckd -sys haagent -start CFSMount -sys haagent -start CFSfsckd -sys 3. Set AMF_START variable to 0 /etc/sysconfig/amf AMF_START=0 4. Stop the AMF Service service amf stop