7.1 Downgrade Preparations
Ensure that the environment variables are set correctly:
Variable | Description |
---|---|
MZ_HOME | This environment variable specifies where the software is installed. |
JAVA_HOME | This environment variable specifies where the JDK is installed. |
PATH | This environment variable specifies the search path and must contain the following directories: $JAVA_HOME/bin:$MZ_HOME/bin |
Example - Setting Environment Variables
$ export MZ_HOME=/opt/mz $ export JAVA_HOME=/opt/jdk/jdk1.8.0_121 $ export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH
Note!
If the software is installed on a GlusterFS storage, you must also set the environment variable IGNORE_TAR_EXIT
to true
. This will suppress non-critical errors that are caused by the tar command during downgrade. If these errors are not suppressed, the downgrade process will abort.
Example - Setting Environment Variable
$ export IGNORE_TAR_EXIT=true