Example: Using edgectl to Run Commands
edgectl provides the functions of preliminarily diagnosing edge node faults, migrating nodes, and collecting data in typical scenarios.
Prerequisites
edgectl has been installed. If not, install edgectl by referring to Installing edgectl.
Checking Whether IEF Edge Software Can Be Installed on a Node
The IEF edge software is required for performing IEF functions at the edge.
You can run the following command to check whether your edge node meets the requirements for installing the IEF edge software:
edgectl diagnose installation
Identify the cause of a node fault.
When a user uses the IEF function at the edge, the node may be disconnected from the cloud due to the environment of the edge node.
The following example shows how to check whether the IEF edge software is faulty.
edgectl diagnose node-fault
Collecting Node Data
If a fault that cannot be rectified occurs on a node and needs to be handled by IEF O&M personnel, you can run the following command to collect IEF-related data of the edge node in one-click mode and then send the data to IEF O&M personnel:
edgectl collect -p /tmp/data/
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot