Migrating Ranger RMS server role instance to a new host

You can move the Ranger Resource Mapping Server (RMS) server role instance for an existing Ranger RMS service from one host to another using Cloudera Manager.

In some cases, for example, after upgrading your servers, you may want to migrate a Ranger RMS server role instance to a new host. This procedure describes how to move a Ranger RMS server role instance from an existing cluster host to another cluster host.
  1. Go to Cloudera Manager.
  2. Back up your configurations using the host templates.
    1. Go to Cloudera Manager > Hosts > Host Templates.
    2. Click Create in the Host Templates page.
    3. Enter Template Name, and then select the Ranger RMS Server under the Ranger_RMS service.
    4. Click Create.
      After a template is created for the Ranger RMS server, all the user configurations will be saved in that template.
  3. Go to Cloudera Manager > Ranger_RMS service.
  4. Go to the Instances tab.
  5. Select the role that you want to migrate to a new host.
  6. Select Stop from the Actions for Selected dropdown.
  7. After the selected role stops, select Delete from the same Actions for Selected dropdown.
  8. Click Add Role Instances.
    The Assign Roles page appears.
  9. Select a new host for the Ranger RMS server, and click OK to add the role.
  10. Click Continue.
  11. Review the settings on the Review Changes page, and click Finish.

    The new role instance appears on the Ranger RMS page.

  12. Select the newly added role instance, and select Start from the same Actions for Selected dropdown.
  13. Restart the cluster from the Actions dropdown.

    Restarting the cluster removes the stale changes. Cloudera generally recommends running the Ranger RMS Database Full Sync command. To do this, go to the Ranger RMS service page and select Ranger RMS Database Full Sync. However, running this command is not always necessary.