Configure Ranger Admin High Availability
How to configure Ranger Admin High Availability (HA) by adding additional Ranger Admin role instances.
In Cloudera Manager, select
On Add Role Instances, click Select
On Hosts Selected, the primary Ranger Admin host is selected
by default. Select a backup Ranger host. A Ranger Admin (RA) icon appears in
Added Roles for the selected backup host. Click
OK to continue.
Add Role Instances refreshes, displaying the new backup host.
Review the settings on Review Changes, then click
Restart the stale Ranger configuration, then click Finish.
After restart you will see two URLs for the Ranger Admin Web UI.
- Requests are distributed to the multiple Ranger Admin instances in a round-robin fashion.
- If a connection is refused (indicating a failure), requests automatically reroute to the alternate Ranger Admin instance. However, you must manually switch to the alternate Ranger Admin Web UI.
- For all services that have the Ranger plugin enabled, the value of the
ranger.plugin.<service>.policy.rest.urlproperty changes to