Atlas CLI
The MongoDB Atlas Command Line Interface, or Atlas CLI (mongodb-atlas-cli), allows you to create, manage, and automate operations related to your MongoDB Atlas deployment. This includes tasks like provisioning clusters, creating and deleting users, and controlling network access. You can also access related products like Atlas Search. With the Atlas CLI, you can quickly interact with MongoDB services from the command line for easier testing and scripting.
To report bugs, please use our mongodbcli github issues.
-
Add commands to stop/start/restart a mongodb process in a cluster
Currently, we see that mongocli supports stop/start the "entire" cluster which is not suitable for general maintenance scenario which requires cluster availability.
Commands to stop/start/restart a mongodb process in a cluster will be useful for the scenario of the server maintenance that requires MongoDB Administrator to stop a single node prior to the maintenance time and start it afterward.
3 votesAdded in MongoDB CLI v1.19 https://docs.mongodb.com/mongocli/stable/release-notes/
-
Allow to perform rolling compact via restapi
Allow to perform rolling compact via CM/OM restAPI (processes.lastCompact parameter)
3 votesAdded in MongoDB CLI v1.19 https://docs.mongodb.com/mongocli/stable/release-notes/
-
option for activate/deactivate monitoring/backup agents
Currently, there is no command for simple activation and deactivation of monitoring/backup agents.
2 votesAdded in MongoDB CLI v1.14 https://docs.mongodb.com/mongocli/stable/release-notes/
-
Support setting userToDNMapping in LDAP config
There are flags to save other LDAP configuration settings but none for this portion. I would imagine it to be three flags with two being mutually exclusive (per docs at https://docs.mongodb.com/manual/reference/configuration-options/#security.ldap.userToDNMapping):
[ --mappingMatch <regex> { --mappingLdapQuery <query> | --mappingSubstitution <DN> } ]1 voteAdded in MongoDB CLI v1.16 https://docs.mongodb.com/mongocli/stable/release-notes/
-
Add command to restart the cluster
Refer to the Ops Manager Commands => https://docs.mongodb.com/mongocli/stable/reference/ops-manager/cluster-commands/, there are the commands to startup/shutdown cluster but not restart.
It will be helpful to have a restart command that will rolling restart a cluster.1 voteAdded in MongoDB CLI v1.19 https://docs.mongodb.com/mongocli/stable/release-notes/
- Don't see your idea?