Skip to content

Commit 5a3e19b

Browse files
Added clarification about creating accounts on destination
1 parent 28a87f0 commit 5a3e19b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,10 @@ go mod tidy
196196
make build-local
197197
```
198198

199-
200199
## Configure Users
201200

201+
### Migration Users
202+
202203
You need to create users in both source and destination environments, you can name them whatever you like:
203204

204205
***Source (DocumentDB)***
@@ -221,6 +222,11 @@ db.getSiblingDB('admin').createUser({
221222
});
222223
```
223224

225+
### Application Users
226+
227+
Because docStreamer does not migrate user accounts or roles, you must manually create any users and roles required by your application. [Follow the appropriate procedure](https://www.mongodb.com/docs/manual/tutorial/manage-users-and-roles/) based on whether you are migrating to a sharded cluster or a replica set. Failure to create these users and roles in the destination cluster will prevent your application from connecting after the cutover process.
228+
229+
224230
## Configuring Percona docStreamer
225231

226232
The application is configured via the [config.yaml](./config.yaml) file in the application's root directory. You will need to at the very least edit the source and destination parameters.

0 commit comments

Comments
 (0)