- Manage Deployments >
- Stop Managing and/or Monitoring One Deployment
Stop Managing and/or Monitoring One Deployment¶
On this page
Ops Manager uses Automation to manage your deployments but can monitor and back up your deployments without Automation.
If you no longer want to use Ops Manager for one or both of these capabilities, you can stop Ops Manager from either:
- Managing your deployment while still monitoring it and backing it up, or
- Managing, monitoring, and backing up your deployment
After you stop Ops Manager from managing a deployment, you cannot use Ops Manager
to upgrade, stop, start, or change that deployment’s configuration in
any way. If you want to
shut down your deployment
before stop Ops Manager from managing it, do that first. Otherwise, you
must connect to each process using the mongo
shell to
shut down the process directly.
If you stop using Ops Manager to monitor your deployment, any associated snapshots are deleted and all historic monitoring data is removed.
Stopping Ops Manager from managing or monitoring your deployment does not
affect the deployment’s mongod
and mongos
processes. These
processes continue to run uninterrupted unless you explicitly shut it
down first.
Considerations¶
Script Deployment after Disabling Automation¶
If you are disabling automation for a deployment and want to stop and start the deployment from another host afterward, you can create scripts for stopping and starting the deployment.
Restore a Previously Removed Host¶
If you have not completely removed a host from Ops Manager and want to restore that host, you can reimport the deleted MongoDB process using the Add Monitored Processes to Automation procedure.
If you have completely removed a host from Ops Manager, you need to
undelete that host first. To search for a deleted host, you
must have the Global Owner
role.
To locate and undelete a previously deleted host:
- Navigate to the Deployment view.
- From the More menu, click Deleted Hosts.
- Select the trash icon to undelete the host.
After the host has been undeleted, you can import existing process procedure.
Note
If your host does not appear in the Deleted Hosts list, you should be able to reimport the process immediately.
Prerequisites¶
This tutorial explains how to stop Ops Manager Automation from managing your deployment. You may need to complete some additional tasks before you remove your deployment from Ops Manager Automation. The following table highlights which actions you need to take before starting this tutorial.
If you want to… | You first need to… |
---|---|
Stop monitoring a deployment | Stop backing up the deployment |
Terminate a deployment | Shut down the deployment |
Stop Ops Manager from managing a Sharded Cluster | Shut down any The Remove from Ops Manager option is
unavailable for running |
Procedure¶
Note
As an alternative to disabling automation for a deployment, you can temporarily suspend automation for that deployment.
This is useful if you need to temporarily shut down the deployment for maintenance, and do not want Ops Manager to automatically start the deployment back up until you are ready.
Click Deployment, then the Processes tab, then the Topology view.¶
Click the … ellipsis icon next to the desired cluster and select Remove from Ops Manager.¶
Select Unmanage this item in Ops Manager but continue to monitor and click Remove Cluster.¶
Click Review & Deploy to review your changes.¶
Click Confirm & Deploy to deploy your changes.¶
Otherwise, click Cancel and you can make additional changes.