Configuring the Environment

  • Installation directory: /opt/middleware/. Before installing the HA software package, ensure that the following conditions are met. Otherwise, HA functions may be affected.
    • Ensure that the /opt/middleware/ directory exists, the permission on the directory is 755, and the user and user group of the directory are both root.
    • Ensure that any file or folder with "keepalived" as its name does not exist in /opt/middleware/.
  • Running user: The MindXEdge user and user group exist in the environment, and the user UID and user group GID are 1024.
  • Dependency adaptation: If HA is deployed and running on the Atlas 500 AI edge station (model: 3000), run the following commands to create soft links:
    1. ln -sf /usr/lib64/libip4tc.so.2.0.0 /usr/lib64/libip4tc.so.0
    2. ln -sf /usr/lib64/libip6tc.so.2.0.0 /usr/lib64/libip6tc.so.0
  • Log description: Currently, the HA logs are stored in /var/alog/keepalived. /var/alog/keepalived/keepalived.log is the run log, and /var/alog/keepalived/operation.log is the operation log.
    • Before installing and running the HA software package, ensure that no file or folder with the same name as the HA run log or operation log exists in /var/alog/keepalived/. Otherwise, the original file or folder may be overwritten after the installation and running, affecting HA functions.
    • The HA installation and dump of the HA run log depend on the AtlasEdge. Ensure that it has been installed in the environment and is running properly.

      The HA service must be run by the MindXEdge user. Ensure that the MindXEdge user cannot be used for login. Otherwise, security risks may be involved.

      Ensure that all the preceding files and paths (including the library files, library link files, HA log files, and log paths on which HA depends in the operating environment) cannot be modified by other users.