Stopping MEF Center
- Log in to the device environment as the root user.
- Go to the path where run.sh is stored. The default installation directory is /usr/local.
cd Installation_path/MEF-Center/mef-center
- Stop modules.
- Stop all modules.
./run.sh stop -component=all
- Stop a specific module, for example, the gateway management module.
./run.sh stop -component=nginx-manager
Table 1 component description Parameter
Description
all
Stops all installed modules.
Module name
Stops a single module. One stop command can be used to stop 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 stop:
- The parameter of ./run.sh stop is optional. If it is not specified, all modules are stopped by default.
- ./run.sh stop -component=all or ./run.sh stop --component=all
- ./run.sh stop -component all or ./run.sh stop --component all
The preceding command formats can run properly. If the parameter of run.sh stop does not contain a hyphen (-), for example, ./run.sh stop all, the parameter is ignored and the command execution continues.
If the following information is displayed, the operation is successful:stop nginx-manager component successful
- Stop all modules.
Parent topic: Common Operations