Test Run Ranger Usersync
Steps
Before committing to usersync changes, it is recommended that you test-run that users and groups are being retrieved as intended.
To test-run loading User and Group data into Ranger before committing to the changes:
Set
ranger.usersync.policymanager.mockrun=true
. This parameter can be found inAmbari> Ranger> Configs> Advanced> Advanced ranger-ugsync-site
.View the Users and Groups that will be loaded into Ranger:
tail -f /var/log/ranger/usersync/usersync.log
.After confirming that the users and groups are retrieved as intended, set
ranger.usersync.policymanager.mockrun=false
and restart Ranger Usersync.This will sync the users shown in the usersync log to the Ranger database.