Pre-Upgrade Steps for Sentry

Complete the following steps before you upgrade Sentry with or without the MapR Installer.

You must stop the Sentry service before you upgrade. If you modified the configuration files in your current installation of Sentry, you can back up the configuration files to preserve the changes that you want to carry over to the next version.
To stop 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 stop -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/ stop

To back up the configuration files, copy the files in /opt/mapr/sentry/sentry-<version>/conf/ to a location outside of the MapR installation. After upgrading, you can reapply changes to the updated Sentry installation using the backup.