Starting MEF Edge

  1. Log in to the MEF Edge device environment as the root user.
  2. Go to the path where run.sh is stored. The default installation directory is /usr/local/mindx.
    cd Installation_directory/MEFEdge/software/
  3. Run the following command to start MEF Edge:
    ./run.sh start

    If the following information is displayed, the startup command is successfully executed:

    Execute [start] command success!

    If the software is started repeatedly, an alarm is generated. For details, see MEF Edge Is Started or Stopped Repeatedly.

  4. Optional: Run the following command to check whether the process is started successfully.
    ps aux|grep MEFEdge|grep -v grep
    If the following information is displayed, the MEF Edge process is running properly:
    root      588808       1  0 09:15 ?        00:00:00 /usr/local/mindx/MEFEdge/software/edge_om/bin/edge-om
    MEFEdge   588827       1  0 09:15 ?        00:00:00 /usr/local/mindx/MEFEdge/software/edge_main/bin/edge-main
    root      588946       1  6 09:15 ?        00:00:13 /usr/local/mindx/MEFEdge/software/edge_core/bin/edgecore --config=/usr/local/mindx/MEFEdge/software/edge_core/config/edgecore.json --logtostderr=false --log_file=/var/alog/MEFEdge_log/edge_core/edge_core_run.log --log_file_max_size=24
    root      588948       1  0 09:15 ?        00:00:00 /usr/local/mindx/MEFEdge/software/device_plugin/bin/device-plugin --logFile=/var/alog/MEFEdge_log/device_plugin/device_plugin_run.log --useAscendDocker=false
    Table 1 Process description

    Process

    Description

    edge-om

    Main process, including the upgrade module. The owner is root.

    edge-main

    Process for connecting MEF Edge and MEF Center. The owner is MEFEdge.

    edgecore

    EdgeCore process. The owner is root.

    device-plugin

    device-plugin process. The owner is root.