7.5 Downgrade Execution Containers
Follow the steps in this section to downgrade an Execution Container.
Ensure that the environment variables are set correctly:
Variable Description MZ_CONTAINER Example value: execution
1
This environment variable specifies an identifier for the container. Each container in your system must have a unique identifier.
Typical values for MZ_CONTAINER is the hostname, or a descriptive value for the purpose of the container.
The permitted characters for the container identifier are 'a-z','0-9' and '-'.
Run the following command to display the name of the local container:
$ mzsh topo container
Alternatively, you can re the value of MZ_CONTAINER in
MZ_HOME/bin/mzsh
.$ cat $MZ_HOME/bin/mzsh
Example - Value of MZ_CONTAINER
. . . if [ -z "${MZ_CONTAINER+x}" ]; then MZ_CONTAINER="execution1" export MZ_CONTAINER fi . . .
Example - Setting Environment Variables
$ export MZ_CONTAINER=execution1
$ 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
totrue
. This will suppress non-critical errors that are caused by the tar command during upgrade. If these errors are not suppressed, the upgrade process will abort.Example - Setting environment variable IGNORE_TAR_EXIT
$ export IGNORE_TAR_EXIT=true
- Downgrade the Execution Container by using the setup script
setup.sh
. This file was copied or extracted during the upgrade.$ ./setup.sh downgrade