Registering a Custom Edge Node
Registering a custom edge node is the process of creating an edge node on IEF and obtaining the node configuration file and EdgeCore installer.
Registering an Edge Node
- Log in to the IEF console.
- In the navigation pane, choose . Then, click Register Edge Node in the upper right corner.
- Choose Custom node and click OK.
This option is available only for IEF of the platinum edition.
Figure 1 Selecting an edge node source
- Configure basic edge node information. Figure 2 Basic edge node information
- Node Name: name of an edge node. The name can contain 1 to 64 characters, including letters, digits, hyphens (-), and underscores (_).
- AI Accelerator Card
Huawei AI accelerator card: Select this option if you register an edge node equipped with Huawei Ascend 310 or 910 Processors (NPUs), for example, an Atlas 500 AI edge station. After you select Huawei AI accelerator card, select Ascend 310 or Ascend 910 accordingly.
NVIDIA GPU: Select this option if your edge node is equipped with an NVIDIA GPU.
Not installed: Select this option if your edge node does not use any AI accelerator card.
If you select NVIDIA GPU but your edge node is not equipped with any NVIDIA GPU, the edge node cannot be managed by IEF.
If your edge node has been equipped with an NVIDIA GPU, the GPU driver has to be installed on the edge node before you can manage it on IEF. For details, see Copying GPU Driver Files.
- Bind Device: Bind an end device to the edge node. If you have not registered an end device, register one by referring to End Device Management. If you do not bind an end device in this step, you can bind one after the edge node is registered.
- Tags
Tags can be used to classify resources, facilitating resource management.
If you need to use the same tag to identify multiple cloud resources, you can select the same tag from the Tags drop-down list box. It is recommended that you use TMS's predefined tag function to add the same tag to different cloud resources.
- Click Next to configure advanced settings for the edge node. Figure 3 Advanced settings
- Docker: If you enable Docker, containerized applications can be deployed. If you do not enable Docker, only functions can be deployed.
- Offline Self-Healing (available only for platinum service instances): If you enable this option, then if the instance becomes abnormal or the edge node where the instance had originally been deployed becomes faulty, the instance will be automatically rescheduled to other available edge nodes. For details, see Offline Self-Healing.
- Listening Address
The address on which the built-in MQTT broker of the edge node listens. It is used for edge-cloud messaging. For details about edge-cloud messaging, see Device Twin Working Principles and Edge-Cloud Message Overview.
By default, local NICs lo (localhost) and docker0 are listened to. You can specify an NIC name or IP address to set the NIC to be listened to. Multiple NICs or IP addresses can be added.
Currently, system and application logs can be configured for edge nodes.
- System Logs: logs generated by the IEF software (such as edge-core, edge-logger, and edge-monitor) installed on edge nodes.
- Application Logs: logs generated by applications deployed on edge nodes.
Set the following parameters for both system and application logs:
- Save Logs to AOM
You can enable or disable log uploading to AOM. If it is enabled, you can view the logs in AOM. For details, see Viewing Logs on AOM.
- Log Level
Options for system log are Error, Warning, Info, and Debug. The logs to be uploaded depend on the specified log level.
- Maximum Log Size (MB): maximum size of a log file, in MBs. The default value is 50. The value range is 10–1000. If a log file reaches the size specified here, the system compresses the log file and dumps it to a specified directory on the host.
- System logs are stored in the /var/IEF/sys/log/ directory on edge nodes and will be dumped to AOM when the maximum log size is reached.
- Application logs include the standard output of containers and the logs mounted to /var/IEF/app/log on the edge node. These logs will be dumped to AOM when the maximum log size is reached.
- Log Rotation: rate at which logs are compressed and dumped into a specified directory. The value can be Daily, Weekly, Monthly, or Yearly. Log files will be dumped when either Maximum Log Size (MB) or Log Rotation is reached.
- Logs Saved: maximum number of logs being retained at a specified period. The default value is 5. The value range is 1–10. Once this number is reached, when new log files are dumped in, old log files will be deleted on a first-in first-out (FIFO) basis.
If you register an Atlas 500 equipped with AI accelerator cards, you are advised to set log parameters as follows:
Log Level: Info
Maximum Log Size (MB): 10
Log Rotation: Daily
Logs Saved: 5
- Click Register in the lower right corner. Download the configuration file and EdgeCore installer, which will be used in Managing an Edge Node. Figure 4 Downloading the configuration file and EdgeCore installer
- Click Download Edge node name.tar.gz.
- Select the CPU architecture of your edge node, and click Download Edge Node Installation Tool.
- In the lower right corner, select I have confirmed that the configuration file has been downloaded and click Finish.
The edge node is in the Unconnected state because the EdgeCore installer downloaded in 6 has not been installed yet. For details, see Managing an Edge Node.
Figure 5 Unconnected edge node
Follow-up Operation
After the registration is complete, you need to manage the edge node. For details, see Managing an Edge Node.
Last Article: Configuring the Edge Node Environment
Next Article: Managing an Edge Node
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.