Post-Upgrade Steps for Sentry
Complete the following steps after you upgrade Sentry with or without the MapR Installer.
About this task
- (Optional) Migrate the settings in the saved configuration files from the
previous version of Sentry into the new default files in
/opt/mapr/sentry/sentry-<version>/conf/
. - To upgrade the database schema using the schema tool, issue the following
command:
/opt/mapr/sentry/sentry-<SENTRY_VERSION>/bin/sentry --command schema-tool --conffile <sentry-site.xml> --dbType <db-type> --upgradeSchema
- To start the Sentry service, issue one of the following commands
- If the warden.sentry.conf exists in the /opt/mapr/conf/conf.d/
directory:
maprcli node services -name sentry -action start -nodes <list of Sentry service nodes>
- If the warden.sentry.conf does not exist in the /opt/mapr/conf/conf.d/
directory:
/opt/mapr/sentry/sentry-<SENTRY_VERSION>/bin/sentry-daemon.sh start <sentry-site.xml>
- If the warden.sentry.conf exists in the /opt/mapr/conf/conf.d/
directory: