Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling the HAF

The HAF service can be uninstalled only after being approved by customers.

The haf_uninstaller script is provided to uninstall the HAF. The haf_uninstaller script calls the haf-tool CLI interface.

  • Host node

    A host node is deployed with the service as a database. Therefore, no independent uninstallation script is provided.

    To uninstall the HAF on a host node, run the following commands:

    rm -rf /opt/haf-host/

    rm -rf /var/log/haf-host/haf-user

    /var/log is the file path configured in the configuration file.

  • Offload node

    The procedure is as follows:

    cd /opt/haf-software

    ./haf_uninstaller -m <mode>

    Option

    Description

    Mandatory

    -m <mode>

    offload

    Yes

haf-tool provides the following uninstall interface:

  • Host node: not supported.
  • Offload node:
    haf-tool uninstall --offload

    Option

    Description

    Mandatory

    --offload

    The operation is performed on an offload node.

    Yes

  1. Select Command Execution and click Add a Task.
  2. Edit the task content and click Save.

    Parameter

    Description

    Task Name

    Uninstalling the HAF

    Run Directory

    /opt/haf-software

    Run Command

    On an offload node:

    ./haf_uninstaller -m offload

    1. For offload nodes:

    2. For host nodes: