Shutting Down an EMP
- Shutting down physical and virtual Monitoring Points
- Shutting down a CMP installed using AKS
- Shutting down a CMP installed using Docker Compose
- Shutting down an NMP installed on macOS
- Shutting down an NMP installed on Windows
Enterprise Monitoring Points (EMPs) should be shut down gracefully if possible.
Shutting down physical and virtual Monitoring Points
To gracefully shut down a Monitoring Point:
Monitoring Point | Shutdown method |
---|---|
m25, m35, m50, m70, r90, r1000 | Press the power button on the back of the device and wait for the Power and Heartbeat LEDs to turn off. |
v35 | Issue a graceful shutdown request from the hypervisor. |
r45 | Use SSH to access the device and run sudo shutdown . |
m20, m22, m30, r40, r400 | No graceful shutdown mechanism. |
CMP (AKS) | See detail below. |
CMP (Docker Compose) | See detail below. |
NMP (macOS) | See detail below. |
NMP (Windows) | See detail below. |
Shutting down a CMP installed using AKS
To shut down a CMP installed using Azure Kubernetes Service (AKS):
- Sign in to the Azure Cloud Shell.
-
Determine the deployment name for the Monitoring Point.
kubectl get deployments
-
Perform the shutdown.
kubectl scale deploy <deployment name> --replicas=0
-
To start it back up again:
kubectl scale deploy <deployment name> --replicas=1
Shutting down a CMP installed using Docker Compose
To shut down a CMP installed using Docker Compose:
- Login to the host the Monitoring Point is deployed on.
- Navigate to the directory the Monitoring Point was deployed from (it contains the
mp-compose.yaml
file). -
Perform the shutdown.
docker-compose -f mp-compose.yaml stop
-
To start it back up again:
docker-compose -f mp-compose.yaml start
- Note: On Linux hosts, you may need to run sudo docker-compose -f mp-compose.yaml stop and sudo docker-compose -f mp-compose.yaml start for these commands to execute successfully.
- If necessary, you can use docker ps and docker kill to find and stop the two containers used by the Monitoring Point. Their names end in “sequencer_1” and “talos-001_1”.
Shutting down an NMP installed on macOS
Administrative privileges are required to stop or start the Monitoring Point.
To shut down a macOS Native Monitoring Point (NMP), click the menu bar app and select Stop Monitoring.
To start it back up again, click the menu bar app and select Start Monitoring.
Shutting down an NMP installed on Windows
Administrative privileges are required to stop or start the Monitoring Point.
To shut down a Windows Native Monitoring Point (NMP):
- Login to the host the Monitoring Point is deployed on.
- Open a Command Prompt window and Run as Administrator.
-
Perform the shutdown.
net stop "AppNeta Native Monitoring Point"
-
Confirm that the Monitoring Point stopped successfully.
sc query "AppNeta Native Monitoring Point" | findstr "STOPPED"
- You should see: “STATE : 1 STOPPED”.
-
To start it back up again:
net start "AppNeta Native Monitoring Point"
-
Confirm that the Monitoring Point restarted successfully.
sc query "AppNeta Native Monitoring Point" | findstr "RUNNING"
- You should see: “STATE : 4 RUNNING”.
Note: You can also use the Windows Services app to shut down the NMP.