Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6498

Steps to move processes from one Ops Manager group to another.

    • 1

      Hi,

      I have seen a large number of customers opening tickets requesting steps to move processes from one group to another. Would it be possible for us to document the steps to do this?

      Firstly, you need to retrieve the password for this user by issuing the following command at OS level:

      curl -u $mmsGroupId$:$mmsApiKey$ $mmsBaseUrl$/agents/api/automation/conf/v1/$groupId$? | python -m json.tool | grep autoPwd
      

      Then create the user on your deployment by logging into the instance using the mongo shell with a user that has the ability to create users on the admin database. Then run the following:

      db.createUser({user: "mms-automation", pwd: $autoPwd$, roles: ["clusterAdmin", "dbAdminAnyDatabase","readWriteAnyDatabase","userAdminAnyDatabase" ] });
      

      ("$autoPwd$" is the password we retrieved in Step 1)

      Then attempt to add the cluster to automation again.

      Thanks,

      Barry

            Assignee:
            rob.justice@mongodb.com Robert Justice (Inactive)
            Reporter:
            barry.oneill@mongodb.com Barry O'Neill
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 18 weeks, 1 day ago