Updated on 2022-02-21 GMT+08:00

Checking Nodes

Function

This command is used to locate the cause of a fault on the edge node where the IEF software has been installed.

Syntax

edgectl diagnose node-fault [params]

  • diagnose can be abbreviated as diag.
  • node-fault can be abbreviated as node or no.

That is, the following abbreviated commands are supported:

edgectl diag node-fault [params]

edgectl diag node [params]

edgectl diag no [params]

Parameters

Table 1 Parameter description

Parameter

Mandatory

Shorthand

Description

--detail

No

-x

Whether to print internal logs.

Example

Check the cause of a node fault.

edgectl diagnose node-fault

If the check is successful, the following information is displayed:

+------------------------+
| Node diagnose succeed. |
+------------------------+

If the check fails, the information similar to the following is displayed:

Failed to get Docker version.
ERROR6102: Make sure that Docker is running.
For more information, see IEF documentation.

+-----------------------+
| Node diagnose failed. |
+-----------------------+

In addition, an error code is displayed. You can obtain the help information from the documentation provided in the error message.