Installation Precautions
Installation Environment
- Check whether the drive space is sufficient. If not, the software cannot be installed. For MEF Edge, the available drive space must be greater than or equal to 520 MB. The available space of log files must be greater than or equal to 84 MB. The available space of log dump files must be greater than or equal to 108 MB.
- Some MEF Edge components requires the root permission, which is a high-level system permission. You are advised to isolate the management plane from the service plane (by allocating different network segments and ports to the management plane and service plane to ensure that the management plane cannot be accessed through the service plane) and install MEF Edge on the management plane. This prevents the root permissions from being compromised through MEF Edge if the applications on the service plane are cracked.
- Currently, MEF Edge supports only IPv4 addresses.
- You are advised to select an installation path whose permission is 755. Background commands may change the permission on the path to 755.
- If the installation, log, or log dump path is in the temporary file system, the content in the path will be cleared after the device is restarted.
- If you forcibly stop the installation, the installation cannot be performed again or unknown security risks occur in the environment. You can re-install MEF Edge after uninstalling it (Uninstalling MEF Edge).
- If the remaining drive space of /var/lib/docker is less than 10%, pressure eviction is triggered to clear deployed pods and images.
Network Requirements
To ensure the normal running of the MindEdge Framework system and avoid system stutter and slow task upload or download, the network bandwidth of the edge device where MEF Edge is located must meet the basic requirements. The recommended specifications are as follows:
- The bandwidth between the edge device where MEF Edge is located and the general-purpose server where MEF Center is located is greater than or equal to 50 Mbit/s.
- Other network requirements: latency less than 30 ms, packet loss rate less than 3%
MEFEdge User Description
Some running process users of MEF Edge are non-root users with the user name being MEFEdge. This user cannot be used for login. You can view the user ID (uid) and group ID (gid) of the user in a process. Stopping or uninstalling the software does not delete the MEFEdge user from the system.
- During the MEF Edge installation, the common user MEFEdge is created, and the default user ID and group ID are 1225. If those IDs already exist in the system, the system will assign new IDs.
- When MEF Edge is installed, the software checks whether the MEFEdge user can log in. If yes, the installation is prohibited to reduce security risks. In this case, you need to disable the login and reinstall MEF Edge.
- If the specified account already exists in the system, the user name and group name of the existing account must be MEFEdge and be of the nologin type. Otherwise, the installation fails. In addition, the MEFEdge group cannot contain other users, and the MEFEdge user cannot have a home directory.
- If the specified account does not exist in the system, the home directory cannot contain any files or directories with the same name as the specified account. Otherwise, the installation will fail.
Parent topic: Installing and Deploying MEF Edge