Import existing MongoDB deployments into Ops Manager automation. This set of endpoints allows you to add multiple existing MongoDB processes to both monitoring and automation management, facilitating large-scale imports of existing clusters.
Important
This feature is available starting in Ops Manager 8.0.13.
The imported deployments are added to the project's automation configuration. The MongoDB Agent will begin monitoring the processes and manage them according to the automation configuration.
Prerequisites
Before you can import the deployment into Ops Manager automation, you must install the MongoDB Agent and it must be running on all deployment nodes. To learn more, see Install MongoDB Agent.
Available Endpoints
Endpoint | Method | Description |
|---|---|---|
POST | Create a new import deployment request to add existing MongoDB processes to automation. | |
GET | Retrieve all import deployment requests for a project. | |
GET | Retrieve the status of a specific import deployment request. | |
POST | Cancel an in-progress import deployment request. | |
DELETE | Delete a failed import deployment request and clean up resources. |
Import Process States
Import deployment requests progress through several states:
State | Description |
|---|---|
| Import request has been created and is waiting to start. |
| Attempting to connect to the seed host specified in the request. |
| Connected to seed host and discovering all required MongoDB processes. |
| All processes discovered, importing configuration into automation. |
| Import complete, waiting for automation to reach goal state. |
| Import completed successfully. Processes are now managed by automation. |
| Import failed. Use the delete endpoint to clean up. |
| Import was cancelled by user request. |
Required Roles
All import deployment endpoints require the Project Automation Admin role.