Configuring Ranger Usersync and Tagsync High Availability

How to configure high availabilty of Ranger Usersync and Tagsync manually.

Ranger Usersync and Tagsync run on one host and belong to Ranger Usersync and Tagsync default groups by default. Configuring high availability adds another instance of each role to an additional host, which host continues to run the features if the default host fails.

  1. On Cloudera Manager > Ranger > Instances, select Add Role Instances, as shown.
    Figure 1. Adding UserSync and Tagsync role instances
    Adding UserSync and Tagsync role instances
  2. Add Ranger Usersync and Tagsync roles to a new host, using Add Role Instance wizard.
  3. Select the newly added roles along with the existing roles by checking the checkboxes.
    Figure 2. Selecting a newly commissed Usersync role along with an existing one
    Selecting a newly commissed Usersync role along with an existting one
  4. Verify that the port information for Usersync and Tagsync matches the following:
    1. Go to Cloudera Manager > Ranger > Configuration.
      Ranger Usersync HTTP port
      8280
      Ranger Usersync HTTPS port
      8283
      Ranger Tagsync HTTP port
      8180
      Ranger Tagsync HTTPS port
      8183
  5. Select Actions for Selected > Restart.
  • After successful restarts, Ranger Usersync and Ranger Tagsync run in High Availability mode.
  • Active Ranger Usersync and Ranger Tagsync roles appear on Instances, as shown:
Figure 3. Usersync and Tagsync running in High Availability mode
Usersync and Tagsync running in High Availability mode