Uninstalling the FIM Add-on for PCF

Page last updated:

This topic describes how to uninstall the File Integrity Monitoring Add-on for PCF (FIM Add-on) from your deployment, and how to verify the uninstallation.

Uninstall FIM Add-on

To uninstall the FIM Add-on, follow the steps below:

  1. Retrieve the latest runtime config by running the following command:

    bosh -e my-env runtime-config > PATH-TO-SAVE-THE-RUNTIME-CONFIG
    

    Where PATH-TO-SAVE-THE-RUNTIME-CONFIG is the location that you want to save the runtime configuration.

    For example:

      $ bosh -e my-env runtime-config > /runtime/config/
    

  2. In the runtime config, remove all FIM properties under the releases: and addons: sections.

  3. Update the runtime config.

    bosh -e my-env update-runtime-config --name=fim PATH-TO-SAVE-THE-RUNTIME-CONFIG
    

    Where PATH-TO-SAVE-THE-RUNTIME-CONFIG is the location of the runtime configuration you are updating.

    For example:

        $ bosh -e my-env update-runtime-config --name=fim /runtime/config/
      

  4. Navigate to your Installation Dashboard in Ops Manager.

  5. If you are using Ops Manager v2.3 or later, click Review Pending Changes. For more information about this Ops Manager page, see Reviewing Pending Product Changes.

  6. Click Apply Changes.

  7. Wait for the installation to complete.

Verify the Uninstallation

To verify the uninstallation of the FIM Add-on is successful, follow the steps below:

  1. Use bosh ssh to SSH into one of the VMs in your deployment.
    For more information, see BOSH SSH

  2. Run monit summary. If FIM has uninstalled successfully, it does not show the fim process.