我要评分
获取效率
正确性
完整性
易理解

Managing the HAF Service

On an offload node, HAF starts, stops, restarts, and queries the status of the daemon process.

The command is as follows:

su -s /bin/bash - haf -c "haf-tool start/stop/restart/status"

Table 1 Parameters in the daemon management command

Option

Description

start

Start haf_daemon.

stop

Stop haf_daemon.

restart

Restart haf_daemon.

status

Query the status of haf_daemon.

The batch operations are as follows:

  1. On the SmartKit page, select Command Execution and click Add a Task.

  2. Edit the task content and click Save.

    Parameter

    Description

    Task Name

    Starting/Stopping/Restarting/Checking the status of the HAF service

    Run Directory

    /

    Run Command

    su -s /bin/bash - haf -c "haf-tool start/stop/restart/status"