Rate This Document
Findability
Accuracy
Completeness
Readability

Checking the HAF Status

Run the following command to check whether the HAF is successfully deployed on offload nodes:

ps -ef | grep haf_daemon | grep -v grep | awk {'print $8'}

If the output is the installation path, the installation is successful.

Method 1: On a Server

[root@agent3 ca_server]# ps  -ef | grep haf_daemon | grep -v grep | awk {'print $8'}
/opt/haf-target/bin/haf_daemon

Method 2: On SmartKit

  1. Select all offload nodes and click Configure Service.

  2. Select Custom and click Next.

  3. Select Command Execution and click Add a Task.

  4. Set task 1 parameters and click Save.
    Table 1 Parameter description

    Parameter

    Description

    Task Name

    Checking whether the daemons of offload nodes are started properly

    Task Description

    Checking whether the daemons of offload nodes are started properly

    Run Directory

    /

    Run Command

    ps -ef | grep haf_daemon | grep -v grep | awk {'print $8'}

    Whether to Check Return Code

    No

    Whether to Check Command Output

    Yes

    Expected Command Output

    /opt/haf-target/bin/haf_daemon

  5. Execute the service flow. The procedure is complete when the execution is successful.