Administering the AMF kernel driver

Review the following procedures to start, stop, or unload the AMF kernel driver.

To start the AMF kernel driver

  1. Set the value of the AMF_START variable to 1 in the following file, if the value is not already 1:
    # /etc/sysconfig/amf
  2. Start the AMF kernel driver. Run the following command:
    # /etc/init.d/amf start

To stop the AMF kernel driver

  1. Set the value of the AMF_START variable to 0 in the following file, if the value is not already 0:
    # /etc/sysconfig/amf
  2. Stop the AMF kernel driver. Run the following command:
    # /etc/init.d/amf stop

To unload the AMF kernel driver

  1. If agent downtime is not a concern, use the following steps to unload the AMF kernel driver:

    • Stop the agents that are registered with the AMF kernel driver.

      The amfstat command output lists the agents that are registered with AMF under the Registered Reapers section.

      See the amfstat manual page.

    • Stop the AMF kernel driver.

      See “To stop the AMF kernel driver”.

    • Start the agents.

  2. If you want minimum downtime of the agents, use the following steps to unload the AMF kernel driver:

    • Run the following command to disable the AMF driver even if agents are still registered with it.

      # amfconfig -Uof
    • Stop the AMF kernel driver.

      See “To stop the AMF kernel driver”.