Rename a MongoDB Replica Set is not useful if you're working MongoDB Ops Manager
Documentation for renaming a MongoDB Replica Set is not useful when you use MongoDB Ops Manager. You should consider refactoring your documentation since renaming a MongoDB Replica Set which is managed by MongoDB Ops Manager does not work.
I had to rename a MongoDB Replica Set which is managed by MongoDB Ops Manager. As stated in your documentation, I suspended the MongoDB Replica Set in question from being managed by MongoDB Ops Manager and did all the changes you list in your documentation. Everything worked fine until I wanted to have the MongoDB Automation Agent restart the MongoDB Replica Set. From then one, mongodb automation agent claimed a mismatch of replica set configuration. I solved the iusse by building a fresh Replica Set with the new name. Luckily, data size wasn't that big so it went pretty quickly.
![](https://secure.gravatar.com/avatar/239c2ee872e5ea66348043dc09b8f7fc?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)