Help Center> Intelligent EdgeFabric> User Guide> Node Management> Configuring the Edge Node Environment

Configuring the Edge Node Environment

Specifications Requirements

An edge node can be a physical machine or a virtual machine (VM). Edge nodes must meet the specifications listed in Table 1.

Table 1 Edge node requirements

Item

Specifications

OS

The language of the operating system must be English.

  • x86_64 architecture

    Ubuntu 16.04 LTS (Xenial Xerus), Ubuntu 18.04 LTS (Bionic Beaver), RHEL 7.x, Kylin 4.0.2, NewStart CGSL v5.5, NeoKylin v7.0, and CentOS 7.x

  • Armv7i (Arm32) architecture

    Raspbian GNU/Linux 9 (stretch)

  • AArch64 (Arm64) architecture

    Ubuntu 18.04.2 LTS (Bionic Beaver)

Memory

More than 256 MB of memory is recommended as 128 MB of memory is required to run the edge software.

CPU

≥ 1 core

Hard disk

≥ 1 GB

GPU (optional)

The GPU models on the same edge node must be the same.

NOTE:

Currently, NVIDIA Tesla GPUs such as P4, P40, and T4 are supported.

If an edge node is equipped with GPUs, you can choose not to enable its GPUs when registering it on IEF.

If you choose to enable GPUs of an edge node, the GPU driver has to be installed on the edge node before you can manage it on IEF.

NPU (optional)

Huawei Ascend AI processors

NOTE:

Currently, only edge nodes integrated with Huawei Ascend 310 or 910 Processors are supported, such as Atlas 300 inference cards, Atlas 500 AI edge stations, and Atlas 800 inference servers.

If you choose to enable NPUs of an edge node, ensure that the NPU driver has been installed on it. Currently, Ascend 310 supports only firmware versions 1.3.x.x and 1.32.x.x, for example, 1.3.2.B893. You can run the npu-smi info command to view your firmware version. If the driver is not installed, contact the device manufacturer for assistance.

Container engine (mandatory when containerized applications are deployed)

The Docker version must be later than 17.06. Docker 18.06.3 is recommended.

(However, Docker 18.09.0 is not recommended as it has a serious bug. For details, see https://github.com/docker/for-linux/issues/543. If this version has been installed, upgrade it at the earliest possible opportunity. This issue has been resolved in Docker 18.09.0.60 embedded in Atlas 500 AI edge stations.)

NOTICE:

After Docker is installed, configure the Docker process to start at host startup. This configuration prevents system exceptions caused by Docker startup failures after the host is restarted.

The Docker Cgroup driver must be set to cgroupfs.

Glibc

The Glibc version must be later than 2.17.

Port

Edge nodes require port 8883, which is the listening port of the built-in MQTT broker on edge nodes. Ensure that this port works properly.

Time synchronization

The time on the edge node must be consistent with the UTC time. Otherwise, the monitoring data and logs of the edge node may be inaccurate. You can select an NTP server for time synchronization. For details, see How Do I Synchronize Time with the NTP Server.

Connection Requirements

If you need to manage your edge nodes on IEF, ensure that the edge nodes can communicate with IEF, SWR, and OBS. If any air wall or network limit exists in the environment where your edge nodes are located, obtain the IP addresses of these cloud services by referring to How Do I Obtain the IP Addresses of IEF Cloud Services and configure the firewall.

Figure 1 Connections between an edge node and cloud services

Edge nodes must be able to connect to IEF through the Internet. Alternatively, they can connect to IEF through Direct Connect or VPN.

Configuring the Edge Node Environment

  1. Log in to an edge node as a user with sudo permissions.
  2. Configure the GPU driver.

    If your edge node has been equipped with a 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.

  3. Configure the NPU driver.

    If your edge node uses Huawei Ascend AI processors, ensure that the corresponding driver has been installed.

  4. Install Docker on the edge node and check the Docker status.

    This step is mandatory when containerized applications need to be deployed. If only functions are to be deployed, then you can skip this step.

    The Docker version must be later than 17.06. Docker 18.06.3 is recommended. However, Docker 18.09.0 is not recommended as it has a serious bug. If you have used this version, upgrade it at the earliest possible opportunity.

    After Docker installation is complete, run docker -v to confirm that Docker was installed properly. If the following information is displayed, Docker was installed properly.

    # docker -v
    Docker version 19.03.12, build 48a66213fee

  5. Configure firewall rules for the edge node.

    Check the firewall status on the edge node.
    systemctl status firewalld
    firewall-cmd --state 

    In the command output, notrunning indicates that the firewall is disabled and running indicates that the firewall is enabled.

    If the firewall is enabled, enable port 8883 or disable the firewall.

    • To enable port 8883, run the following commands:
      firewall-cmd --add-port=8883/tcp --permanent   
      systemctl restart firewalld 
    • To disable the firewall, run the following commands:
      systemctl disable firewalld 
      systemctl stop firewalld