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.
On Cloudera Manager > Ranger > Instances, select Add Role Instances, as
shown.
Add Ranger Usersync and Tagsync roles to a new host, using Add Role
Instance wizard.
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
Verify that the port information for Usersync and Tagsync matches the
following:
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
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