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

Overview

edgectl is an O&M tool that helps you diagnose faults at the edge side. You can use edgectl to locate common problems such as IEF software installation failures, IEF software faults, and application faults. This tool also allows you to collect all IEF-related data on nodes by one click for remote fault diagnosis. In addition, you can use edgectl to migrate IEF software data to other available nodes when the node is faulty.

Concepts

  • diagnose: Diagnoses a specific fault scenario to locate the fault cause.
  • collect: Collects all IEF-related information for IEF O&M personnel to locate and resolve problems.
  • check: Checks whether a system meets the installation and running requirements of the IEF software.

Commands

Table 1 Commands

Category

Syntax

Description

Querying the edgectl version

edgectl version

List the version information about edgectl.

Managing the product lifecycle

edgectl diagnose installation

Check whether a node meets the requirements of the IEF edge software.

edgectl diagnose node-fault

Diagnose a node fault.

edgectl diagnose pod

Diagnose the fault cause of a specific pod.

edgectl collect

Collect IEF-related data on a node.

Checking an item

edgectl check arch

Check whether IEF supports the node hardware architecture.

edgectl check cpu

Check whether the number of CPU cores meets the IEF requirements.

edgectl check memory

Check the total and remaining memory size of a node to determine whether the memory size meets the IEF requirements.

edgectl check disk

Check whether the system hard disks meet the IEF requirements.

edgectl check dns

Check whether the domain name resolution function of a node is normal.

edgectl check docker

Check whether the Docker function of a node is normal.

edgectl check network

Check whether a node can communicate with IEF cloud endpoints.

edgectl check ief-system-configure

Check whether IEF is correctly installed.

edgectl check ief-system-status

Check the running status of the IEF software.

edgectl check gpu

Check whether a node is equipped with GPUs and whether the GPU driver is installed and running properly.

edgectl check npu

Check whether a node is equipped with NPUs.

edgectl check pid

Check whether there are too many processes. If the percentage of available processes is less than 5%, the number of processes is regarded as insufficient.