Skip to content

Commit 2a6c9ef

Browse files
davidhou17pierwill
andauthored
(DOCSP-41042): Make command to create mms-automation user more visible (#325)
<!-- Add a description of your PR here (optional) --> - [DOCSP-41042](https://jira.mongodb.org/browse/DOCSP-41042) - [STAGING](https://preview-mongodbdavidhou17.gatsbyjs.io/ops-manager/DOCSP-41042/tutorial/add-existing-mongodb-processes/#prerequisites) - [LATEST BUILD LOG](https://preview-mongodbdavidhou17.gatsbyjs.io/ops-manager/DOCSP-41042/) ### Self-Review Checklist - [ ] [Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions) taxonomy [values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top of page. - [ ] Add genre facets (tutorial or reference), as in this [example PR](10gen/cloud-docs#5042). - [ ] Add programmingLanguage (if necessary). - [ ] Add meta keywords (if necessary). - [ ] Resolve any new warnings or errors in the build. - [ ] Proofread for spelling and grammatical errors. - [ ] Check staging for rendering issues. - [ ] Confirm links are working. --------- Co-authored-by: pierwill <[email protected]>
1 parent 5a8341e commit 2a6c9ef

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

source/includes/prerequisites-for-adding-existing-deployment-to-automation.rst

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -60,29 +60,29 @@
6060

6161
Open the :setting:`mmsConfigBackup` file in your preferred text editor and find the ``autoPwd`` value.
6262

63-
.. example::
64-
65-
If the |mms| project has :doc:`Username/Password
66-
</tutorial/enable-mongodbcr-authentication-for-group>`
67-
mechanism selected for its authentication settings, add the
68-
project's |mms| {+mdbagent+}s User ``mms-automation`` to
69-
the ``admin`` database in the MongoDB deployment to import.
70-
71-
.. code-block:: javascript
72-
73-
db.getSiblingDB("admin").createUser(
74-
{
75-
user: "mms-automation",
76-
pwd: <password>,
77-
roles: [
78-
'clusterAdmin',
79-
'dbAdminAnyDatabase',
80-
'readWriteAnyDatabase',
81-
'userAdminAnyDatabase',
82-
'restore',
83-
'backup'
84-
]
85-
}
63+
.. example::
64+
65+
If the |mms| project is using :doc:`Username/Password
66+
</tutorial/enable-mongodbcr-authentication-for-group>`
67+
authentication, add the
68+
project's |mms| {+mdbagent+}s User ``mms-automation`` to
69+
the ``admin`` database in the MongoDB deployment to import.
70+
71+
.. code-block:: javascript
72+
73+
db.getSiblingDB("admin").createUser(
74+
{
75+
user: "mms-automation",
76+
pwd: <password>,
77+
roles: [
78+
'clusterAdmin',
79+
'dbAdminAnyDatabase',
80+
'readWriteAnyDatabase',
81+
'userAdminAnyDatabase',
82+
'restore',
83+
'backup'
84+
]
85+
}
8686
8787
- When you add a cluster under |mms|, |mms| automatically enables log
8888
:manual:`rotation </tutorial/rotate-log-files/>`, which could collide

0 commit comments

Comments
 (0)