Restarting MEF Center

  1. Log in to the device environment as the root user.
  2. Go to the path where run.sh is stored. The default installation directory is /usr/local.
    cd Installation_path/MEF-Center/mef-center
  3. Restart modules.
    • Restart all modules.
      ./run.sh restart -component=all
    • Restart a specific module, for example, the gateway management module.
      ./run.sh restart -component=nginx-manager
    Table 1 component description

    Parameter

    Description

    all

    Restarts all installed modules.

    Module name

    Restarts a single module. One restart command can be used to restart only one module.

    • cert-manager: certificate management module
    • edge-manager: container management module
    • nginx-manager: gateway management module
    • alarm-manager: alarm management module

    Parameter formats supported by ./run.sh start all:

    • The parameter of ./run.sh restart is optional. If it is not specified, all modules are restarted by default.
    • ./run.sh restart -component=all or ./run.sh restart --component=all
    • ./run.sh restart -component=all or ./run.sh restart --component all

    The preceding command formats can run properly. If the parameter of run.sh restart does not contain a hyphen (-), for example, ./run.sh restart all, the parameter is ignored and the command execution continues.

    If the following information is displayed, the operation is successful:
    restart nginx-manager component successful