Checking Installation Requirements or Failures
Function
This command is used to check whether a node meets the IEF software installation requirements. If the node does not meet the requirements, a message is displayed, indicating the reasons. The command can also be used to locate the cause of an IEF software installation failure.
Syntax
edgectl diagnose installation [params] CHECKITEMS
- diagnose can be abbreviated as diag.
- installation can be abbreviated as install.
That is, the following abbreviated commands are supported:
edgectl diag installation [params] CHECKITEMS
edgectl diag install [params] CHECKITEMS
Parameters
Parameter |
Mandatory |
Shorthand |
Description |
---|---|---|---|
CHECKITEMS |
No |
N/A |
Check item list. The following values are supported:
The check items are separated by commas (,). For example: edgectl diag install [params] cpu,disk Check items can also be deleted by adding a hyphen (-) before a check item. For example: edgectl diag install [params] default,-docker |
--domain-name |
No |
None |
Domain name to be resolved. It is required if you configure edgectl to check the domain name resolution function of the node. |
--edge-hub-url |
No |
None |
Endpoint address of IEF. It is used to check the connectivity between a node and IEF. |
--node-id |
No |
None |
Node ID. The default value is fake-node-id. |
--project-id |
No |
None |
Project ID. The default value is fake-project-id. |
--detail |
No |
-x |
Whether to print internal logs. |
Example
Check whether a node meets the IEF software installation requirements.
edgectl diagnose installation
If the check is successful, the following information is displayed:
+---------------------------------+ | Installation 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. +-------------------------------+ | Installation diagnose failed. | +-------------------------------+
In addition, an error code is displayed. You can obtain the help information from the documentation provided in the error message.
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