How to enable AMF (Asynchronous Monitoring Framework) for CFSMount and CFSfsck Agents

Description

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.

  • CFS agent (CFSMount and CFSfsckd) are now AMF-aware.
  • CFS agents have been made V51 - prerequisite for AMF.
  • CFS agents do not implement any AMF entrypoints.
  • CFSMount agent symlinks to the AMF entrypoints implemented for the bundled Mount agent.
  • CFSfsckd agent symlinks to the AMF entrypoints implemented for the bundled Process agent.
  • VxFS and AMF kernel components use an API to detect: 
    • file system getting disabled
    • change in mount options associated with mounted file systems
    • change in mntlock for mounted file systems

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 <sysname>

haagent -stop CFSfsckd -sys <sysname>

haagent -start CFSMount -sys <sysname

haagent -start CFSfsckd -sys <sysname>

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 <sysname>

haagent -stop CFSfsckd -sys <sysname>

haagent -start CFSMount -sys <sysname

haagent -start CFSfsckd -sys <sysname>

3. Set AMF_START variable to 0 /etc/sysconfig/amf

AMF_START=0

4. Stop the AMF Service

service amf stop

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)