Enable or disable Ranger policy delta in Ranger Admin¶
Overview¶
Ranger Policy Delta is a feature in Apache Ranger that enhances policy loading efficiency by fetching only the incremental changes (deltas) from the database instead of reloading the entire policy set. This optimization improves performance, reduces network load, and accelerates policy synchronization across Ranger plugins. By enabling policy delta, Ranger Admin ensures streamlined policy updates, minimizing resource consumption while keeping access controls up to date.
Configure Ranger Policy Delta¶
Follow these steps to configure the Policy delta feature for Ranger Admin service:
- SSH into the instance where Privacera Manager is installed.
- Navigate to the
privacera-manager
directory using the following command:Bash - Run the following command to copy the sample vars. The -n flag ensures that the file is not overwritten if it already exists:
Bash -
Run the following command to open the
.yml
file for editing.Bash - Add or update the following property:
Variable Definition ENABLE_RANGER_ADMIN_SUPPORTS_POLICY_DELTAS Enables policy delta feature. Default is "true" YAML -
Once the property is configured, update your Privacera Manager platform instance by following the
Ranger Policy Delta is enabled by default. To disable the feature, set the ENABLE_RANGER_ADMIN_SUPPORTS_POLICY_DELTAS
property to false
in the vars.ranger.admin.yml
file.
- Prev Advanced Configurations
- Next Ranger Audit Filters